Closed frittentheke closed 6 years ago
Using only the last N values etc does not help since each histogram bucket is and should be a counter. You can use the following PromQL Feature to calculate the probe duration in the last 5m: https://prometheus.io/docs/practices/histograms/#count-and-sum-of-observations
Can we close this issue?
I suppose.
Thanks!
Currently the probeDuration metric is only available as NewHistogramVec which is never reset during the runtime of the exporter and with no sliding window. This results in strange values if there was even a brief period of long duration and makes the metric useless for triggering alerts.
Suggestions:
Add a simple scalar value containing just the last run