Daniel Magliola

Results 41 comments of Daniel Magliola

Hi @directionless, I would like to understand this problem better... Do you have any examples where you need this functionality? Thank you

@lawrencejones How do you feel about having a `CustomCollector` class that basically implements that Rack interface, and calls a couple of overridable methods (`before`, `after`, `around`, maybe?) so that all...

Agreed on that last point. Will get your thoughts on the metric that fetches when read next time I see you :-)

Hello Alex, The reason we initialize metrics that don’t have labels is because it’s recommended by [Prometheus’s best practices](https://prometheus.io/docs/instrumenting/writing_clientlibs/#labels) > There SHOULD be a way to initialize a given Child...

I’m assuming you’re using DirectFileStore, since you mention persistent metrics. [Here’s a number of things to keep in mind when using it](https://github.com/prometheus/client_ruby#directfilestore-caveats-and-things-to-keep-in-mind)

An example found in the wild of someone needing this feature. I'm not sure what's the best answer, just adding context: https://stackoverflow.com/questions/58688050/handling-stale-data-in-prometheus-gauges Note: Java has a `Gauge.clear()` method that kills...

Hello Tim, Thank you for your report. The only case where we've heard of those kinds of timings is when having a very large amount of metrics (tens of thousands),...

One more thing I remembered. This may be related to this other issue #143 When you have lots of metrics, you will end up with lots of files on disk....

> Different buckets Would you be able to look at the text output of `/metrics`, both with the default buckets and the reduced buckets, and count how many lines each...