Closed jquick closed 1 year ago
Hey @jquick,
please have a look at https://github.com/PromPHP/prometheus_client_php/pull/99. This will be a new storage engine that comes with the next release. Could you please test it against your workload?
Basically, your issue is already handled in https://github.com/PromPHP/prometheus_client_php/issues/92, I would therefore like to move it to this issue :)
Hello,
We are using version 2.3 of this client and its been working great until the Redis DB started to balloon. We are writing metrics to REDIS in PHP threads which is causing lots of duplicates and total number of keys. We can see anywhere from 100-200k KEYS. This causes the
RenderTextFormat
to never return.We are looking into maybe just flushing the DB every render to keep it small (every 10 sec). Is there a better way to handle this or some way to set generic/non-changing key names instead of:
So they just get overwritten?
Thanks for help!