-
Notifications
You must be signed in to change notification settings - Fork 93
feat: add instrumentation to sig server #114
Conversation
Does this -- https://github.com/roylines/node-epimetheus#instrumentation -- satisfy your requests, @lgierth ? :) |
Would be wonderful to be able to get metrics about how many peers have ever been online and are currently online as well. Might want to add as a task for the future though. |
That (logging) is a use case outside of Prometheus scope, but we'll eventually have infrastructure for that too :) (spoiler: the new gateway will have logstash)
That'd work |
Hm, I was thinking of something in webrtc-star that would just increment a counter every time a peer joins and then expose that counter via the debug endpoint. Wouldn't that work? Similar as the online counter. |
And then you need to persist the counter somewhere :) |
Hey @victorbjelkholm @lgierth, could you give me what more clear instructions of what you want to get this merged and deployed? |
Yes I think this looks good -- but I wonder whether you want to actually count something? The generic stats of the http endpoint are useful, but number of nodes connected, possibly by transport, might also be useful. It's a bit hard to tell what exactly webrtc-star does, there's probably a few more interesting metrics. |
The Signalling Server keeps track of:
I could also add counters for:
Would this be useful, @lgierth ? |
|
Sure these sound good |
@victorbjelkholm is finishing this PR something you would like to do? |
@diasdavid sure thing! |
@diasdavid Can this be closed? #127 is already merged... |
No description provided.