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
add generic stats graph munging support and make uptime display as days again #15097
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the option and this looks good to me.
Awesome. Done! :) Any reason we don't want it selectable or just wanting to avoid CPU overhead for something that is not going to be commonly used? |
@VVelox added settings is the death of LibreNMS (maintainability). Basically, hidden options end up with unused code paths which is very bad for maintainability. Whenever, I could add an option I think: Is this necessary? Was this asked for? Could a good default just be better? |
…ys again (librenms#15097) * add munging to generic stats graph include * add graph_uptime_days config def * make it optionally changable now * style fix * remove the graph_uptime_days option
This pull request has been mentioned on LibreNMS Community. There might be relevant details there: |
…ys again (librenms#15097) * add munging to generic stats graph include * add graph_uptime_days config def * make it optionally changable now * style fix * remove the graph_uptime_days option
This adds in munging to the generic stats graph.
Also revert uptime back to being days again and make it able to optionally show in graphs as either days or seconds via a new config def.
fixes #15091
DO NOT DELETE THE UNDERLYING TEXT
Please note
Testers
If you would like to test this pull request then please run:
./scripts/github-apply <pr_id>
, i.e./scripts/github-apply 5926
After you are done testing, you can remove the changes with
./scripts/github-remove
. If there are schema changes, you can ask on discord how to revert.