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

Exporter returns zero values instead of no data when UPS is disconnected #27

Open
WGH- opened this issue May 28, 2024 · 1 comment
Open

Comments

@WGH-
Copy link

WGH- commented May 28, 2024

When UPS is disconnected, apcupsd_exporter returns zero metrics (e.g. apcupsd_line_volts{ups="foobar"} 0) instead of returning error or just omitting missing metrics values, which pollute Prometheus with bogus data.

@AndrolGenhald
Copy link

@WGH- If you're interested, I just wrote my apcupsd exporter.

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

2 participants