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

Changes to grafana page and add timeout to scraper #4

Merged
merged 3 commits into from
Jan 28, 2022

Conversation

jdburton
Copy link
Contributor

  1. Change the grafana page to show the change in Corrected and Uncorrectables instead of the total numbers. The change is the non-negative difference between the most recent values. This is more useful because if an internet connection is unstable, users will want to see how the errors are fluctuating, not the total numbers.

  2. Add a time out to requests.get() to prevent the scraper from hanging if the webpage is non-responsive.

@jdburton
Copy link
Contributor Author

jdburton commented Jan 28, 2022

This is the new dashboard. This shows the effect of an defective upstream amplifier being replaced at 10:48 AM.

Grafana Modem Dashboard

@twstokes
Copy link
Owner

This is the new dashboard. This shows the effect of an defective upstream amplifier being replaced at 10:48 AM.

Look at how pretty the Correcteds graph is! NFT material! 🤣

@twstokes
Copy link
Owner

  1. Change the grafana page to show the change in Corrected and Uncorrectables instead of the total numbers. The change is the non-negative difference between the most recent values. This is more useful because if an internet connection is unstable, users will want to see how the errors are fluctuating, not the total numbers.

This makes sense! I've found mine just accumulate over time until a restart, so a flat graph (but a high number) isn't necessarily bad, it could show stability. What we really care about are fluctuations. 👍 This also makes setting up an alert a lot easier. 🔔

@twstokes twstokes merged commit 4e54d1d into twstokes:master Jan 28, 2022
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

Successfully merging this pull request may close these issues.

2 participants