Change in osmo-bsc[master]: stats: add BTS uptime counter
gerrit-no-reply at lists.osmocom.org
Fri Mar 5 17:25:35 UTC 2021
iedemam has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/23234 )
Change subject: stats: add BTS uptime counter
Patch Set 2:
In this approach, I've tried to be much less intrusive in the scheduling and counting. Now it is only triggered every 10 seconds. I'd like to actually have it match the stats interval but I can't see how to pull that value out of the config yet.
Each time it is triggered, we calculate change in uptime for each BTS and add it to the counter. It is stored with the same accuracy as the existing uptime outputs in VTY. I am also no longer judging what "uptime" means. I rely on the existing counters for that.
Hopefully this is closer to what could land in master. I think a lot of people would find it useful to have BTS uptime exported over statsd without any further infrastructure, scripts, etc needed.
Let me know what else I can refactor or reconsider. Thanks as always for your time.
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/23234
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Owner: iedemam <michael at kapsulate.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Fri, 05 Mar 2021 17:25:35 +0000
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gerrit-log