You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented a counter metric in a Node JS http server. I have one master and eight workers so I use prom-client with the cluster module using the AggregatorRegistry class:
That's indeed not supported. The maintainers of Prometheus said that there are very few scenarios when users should use reset(), though: see #179, #236, #402, ...
Given that info, do you actually need support for this?
I implemented a counter metric in a Node JS http server. I have one master and eight workers so I use prom-client with the cluster module using the AggregatorRegistry class:
The collection of all metrics works properly with the following function I implemented:
But the reset of the metrics doesn't work, here is function I defined for that:
After the call of flushMetrics() the metrics are unchanged.
Any idea ?
The text was updated successfully, but these errors were encountered: