Extracting redis keys into a grafana. Monitoring

75 views
Skip to first unread message

TheFlame106

unread,
Apr 2, 2018, 3:23:40 AM4/2/18
to 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

unread,
Apr 3, 2018, 11:07:41 PM4/3/18
to 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

unread,
Apr 4, 2018, 4:23:49 AM4/4/18
to Redis DB
Thank you, I'll try.

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

TheFlame106

unread,
Apr 10, 2018, 7:20:32 AM4/10/18
to 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
Reply all
Reply to author
Forward
0 new messages