fluent / fluent-plugin-prometheus

A fluent plugin that collects metrics and exposes for Prometheus.
Apache License 2.0
258 stars 79 forks source link

Prometheus Metrics Do Not Refresh #98

Open Reifier opened 5 years ago

Reifier commented 5 years ago

I have described the question here: https://stackoverflow.com/questions/56451603/prometheus-summaries-do-not-refresh-their-values

I am not sure if that is malfunctioning or I am just misunderstanding how the publishing of metrics works.

Reifier commented 5 years ago

To be clear, I expect the old value of the metric to either refresh, or if the metric was not supplied for a period of time to decay into NaN value as described here

ganmacs commented 5 years ago

I think this is prometheus/client_ruby's issue. and, prometheus/client_ruby does not support this feature for now https://github.com/prometheus/client_ruby/issues/12

SuperQ commented 5 years ago

Prometheus metrics shouldn't decay, that's a specific problem with summaries, which aren't used here.

For example, counters should be monotonically increasing.

There are some gauges, but I don't see any of them that are not updating. Can you give a specific example of something not working?