Extracting redis keys into a grafana. Monitoring

ยอดดู 75 ครั้ง
ข้ามไปที่ข้อความที่ยังไม่อ่านรายการแรก

TheFlame106

ยังไม่อ่าน,
2 เม.ย. 2561 03:23:402/4/61
ถึง Redis DB
Hi all.

Is it possible to somehow unload the data of Redis DB in the dashboard of Grafana? As a concrete datasource, Radis in Graphan can not be used.

Tuco

ยังไม่อ่าน,
3 เม.ย. 2561 23:07:413/4/61
ถึง Redis DB
Yes, it is possible.
You can run a script(maybe in python), which runs after every interval(5 minutes or so), and pushes all the data from redis info from info all command to graphite.
Then grafana can be used to view graphs using it.

TheFlame106

ยังไม่อ่าน,
4 เม.ย. 2561 04:23:494/4/61
ถึง Redis DB
Thank you, I'll try.

среда, 4 апреля 2018 г., 8:07:41 UTC+5 пользователь Tuco написал:

TheFlame106

ยังไม่อ่าน,
10 เม.ย. 2561 07:20:3210/4/61
ถึง Redis DB
I tried to do this, but I do not quite understand how to transfer data from Redis. For now I have this code. Here I insert data to PostgreSQL (not yet connected with Redis) separately and show them, and also show the values of some keys in Redis (just as an example of the fact that I can work with PostgreSQL and Redis).
But how to transfer the data?
And I have one more question. For some reason, even after adding a line to the database, it is not stored there.


среда, 4 апреля 2018 г., 8:07:41 UTC+5 пользователь Tuco написал:
Yes, it is possible.
test.py
ตอบทุกคน
ตอบกลับผู้สร้าง
ส่งต่อ
ข้อความใหม่ 0 รายการ