Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default value (null) for gauge types #211

Open
robinwkurtz opened this issue Mar 21, 2023 · 0 comments
Open

Default value (null) for gauge types #211

robinwkurtz opened this issue Mar 21, 2023 · 0 comments

Comments

@robinwkurtz
Copy link

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?

@robinwkurtz robinwkurtz changed the title Default value for gauges Default value (null) for gauge types Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant