svenstaro / site24x7_exporter

A Prometheus compatible exporter for site24x7.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add histogram for observations

svenstaro opened this issue · comments

Adding histograms would require keeping track of when a location did the last observation and only then calling observe. We'd have to keep track of all known monitor by monitor_id and maintain a list of locations by location_name per monitor. Then when we detect a change in the last_polled_time, we count the new value as an observation.