Skip to content

A redis-backed storage backend#1170

Open
stefanor wants to merge 2 commits intoprometheus:masterfrom
stefanor:redis-values
Open

A redis-backed storage backend#1170
stefanor wants to merge 2 commits intoprometheus:masterfrom
stefanor:redis-values

Conversation

@stefanor
Copy link
Copy Markdown

@stefanor stefanor commented Apr 26, 2026

The multiprocess backend has an issue with database file explosion (#204, #518, etc.)

In the environment that I'm running into this problem, we have a redis database available, so why not take advantage of this?

Here is a very naive proof-of-concept example. It doesn't add the pid labels that the multiprocess backend does (I have no need for them). But it could be extended to do so.

Also compatible with Valkey.

Rather than relying on MultiProcessCollector to accummulate it

Signed-off-by: Stefano Rivera <stefano@rivera.za.net>
@stefanor stefanor force-pushed the redis-values branch 5 times, most recently from 393866e to be66455 Compare April 27, 2026 03:15
Signed-off-by: Stefano Rivera <stefano@rivera.za.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant