Read messages from RabbitMQ in Grafana using Prometheus

287 views
Skip to first unread message

Tiago Bezerra Marinho

unread,
May 22, 2020, 1:45:11 PM5/22/20
to rabbitmq-users
Hello!

Is it possible to read (using Grafana) specific messages send it by a python code to RabbitMQ?

I'm publishing and subscribing messages (I can send to and read in my python script/shell normally), but I'm desiring to see in a better way using the Grafana dashboard.

So, besides metrics graph of logs/status of my RabbitMQ (as how many channels or messages published), can I see the values that I send to? For example, If I send ten messages with a number I can add a graph in Grafana dashboard and see all those values?


Wesley Peng

unread,
May 22, 2020, 2:57:55 PM5/22/20
to Tiago Bezerra Marinho, rabbitmq-users
You can’t, message queue follow FIFO standard, you can only fetch the message one by one.

Regards 

23 травня 2020 р., 01:45:21,від "Tiago Bezerra Marinho" <tiagobeze...@gmail.com>:

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/776a572b-6b8d-47ca-9502-f395c183b673%40googlegroups.com.

Tiago Bezerra Marinho

unread,
May 22, 2020, 3:04:21 PM5/22/20
to rabbitmq-users
Hi, Wesley!

Thank you for your attention, but just to be sure: If I want to, for example, measure temperature, receive the temperature data in my microcontroller and send to the broker RabbitMQ, isn't possible to extract with Prometheus and see the temperature graph in Grafana dashboard?

Em sexta-feira, 22 de maio de 2020 15:57:55 UTC-3, Wesley Peng escreveu:
You can’t, message queue follow FIFO standard, you can only fetch the message one by one.

Regards 

23 травня 2020 р., 01:45:21,від "Tiago Bezerra Marinho" <tiagobeze...@gmail.com>:

Hello!

Is it possible to read (using Grafana) specific messages send it by a python code to RabbitMQ?

I'm publishing and subscribing messages (I can send to and read in my python script/shell normally), but I'm desiring to see in a better way using the Grafana dashboard.

So, besides metrics graph of logs/status of my RabbitMQ (as how many channels or messages published), can I see the values that I send to? For example, If I send ten messages with a number I can add a graph in Grafana dashboard and see all those values?


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.

Wesley Peng

unread,
May 22, 2020, 3:08:47 PM5/22/20
to Tiago Bezerra Marinho, rabbitmq-users
AFAIK you can see queue’s metadata and metrics in monitoring systems but not message payload.

Thanks 

23 травня 2020 р., 03:04:31,від "Tiago Bezerra Marinho" <tiagobeze...@gmail.com>:

To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/9d97b5d5-2d3f-4e4b-8d79-9bf46488cbe9%40googlegroups.com.

Tiago Bezerra Marinho

unread,
May 22, 2020, 3:14:37 PM5/22/20
to rabbitmq-users
Thank you so much!

Do you suggest any free dashboard that I can see these type of data (message payload) in the localhost? I'm searching on internet but didn't found yet. 

Reply all
Reply to author
Forward
0 new messages