geerlingguy / airgradient-prometheus

AirGradient Prometheus exporter.
MIT License
176 stars 59 forks source link

Consistent screen update frequency if any sensors disabled #30

Closed NathanBaulch closed 1 year ago

NathanBaulch commented 2 years ago

I noticed that if any of the sensor flags are disabled then the screen no longer displays each stat page for the same period. I've fixed this by introducing a loop so it can fall back to the next sensor type if one or more are disabled.

Also, thanks for sharing your Prometheus support here, works great!

NathanBaulch commented 2 years ago

Bump!

geerlingguy commented 2 years ago

I have no issues with this, just don't have the time to drop it on one of my boards right now. If someone else could confirm no issues, I'd be happy to merge!

stale[bot] commented 1 year ago

This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark pull requests as stale.

stale[bot] commented 1 year ago

This pull request has been closed due to inactivity. If you feel this is in error, please reopen the pull request or file a new PR with the relevant details.