yet another Prometheus pushgateway

53 views
Skip to first unread message

Dmitry Shmulevich

unread,
Oct 1, 2020, 9:43:32 PM10/1/20
to Prometheus Developers
Hello all,

I've implemented a version of Prometheus pushgateway with the "forget" option.
This pushgateway is based on Redis, and it will automatically delete time series after specified expiration.

I'm wondering whether this project has merit, and I would greatly appreciate your guys' feedback.


Thanks!

Dmitry Shmulevich

unread,
Oct 2, 2020, 2:30:21 PM10/2/20
to Prometheus Developers
I wanted to add a disclaimer :)
I'm aware that the "forget" feature is controversial, and I mentioned that in the README.
The currently recommended usage pattern for Pushgateway discourages deletion of old time series.
A few developers have posted PRs adding this functionality to the existing Pushgateway, but were rejected.

What prompted me to come up with this implementation was customers' complaints about "stale" data in the dashboards.
Additional features include
- HA support, if deployed with Redis Sentinel
- ability to disable deletion of time series by setting expiration to zero.

This project is rather a PoC. It works fine, but there are multiple features that could be added.
What I'm hoping to achieve here is to gather some feedback and to understand whether there is an interest in further development.

Thanks!
Reply all
Reply to author
Forward
0 new messages