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'm currently using the gauge type for sensors such as temperature, humidity, and CO2. Unfortunately, if my process is not running to get these values my fluentd /metrics endpoint shows zero values for theme, since this endpoint is being scrapped by Prometheus, I now have zero values in my graphs. I wanted to remove these, but of course, in dealing with these types of sensors, a zero value valid so I cannot simply filter out "0" on Prometheus' side.
Is there a way to have the metrics endpoint show null values?
The text was updated successfully, but these errors were encountered:
robinwkurtz
changed the title
Default value for gauges
Default value (null) for gauge types
Mar 21, 2023
Hello, thanks for your plugin!
I'm currently using the gauge type for sensors such as temperature, humidity, and CO2. Unfortunately, if my process is not running to get these values my fluentd /metrics endpoint shows zero values for theme, since this endpoint is being scrapped by Prometheus, I now have zero values in my graphs. I wanted to remove these, but of course, in dealing with these types of sensors, a zero value valid so I cannot simply filter out "0" on Prometheus' side.
Is there a way to have the metrics endpoint show null values?
The text was updated successfully, but these errors were encountered: