Change in osmo-bsc[master]: stats: add BTS uptime counter

iedemam 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:

Hi,

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.

-Michael


-- 
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-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ib17674bbe95e828cebff12de9e0b30f06447ef6c
Gerrit-Change-Number: 23234
Gerrit-PatchSet: 2
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
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210305/71e9b4dc/attachment.htm>


More information about the gerrit-log mailing list