-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Usable out of the box metrics #50
Comments
Should this be part of libp2p/go-libp2p#1356? Unfortunately, the API we were going to use is still in Alpha. |
It could be, but this is tightly scoped and I don't think it should be blocked on 1356 or on waiting for opentelemetry metrics to come out of alpha. |
I know there is work underway on this. I'm putting in my notes for the high-level dashboard I think would be useful for an operator to see: The system/transient graphs straight copy/pastes from the observable. The other scops are showing an aggregation. At the minimum when it comes to aggregation I would want to see:
We could obviously have other percentiles too. I could imagine an operator seeing that dashboard above, and if things look fishy, can then do the tracing/observable route for deeper dive to analyze. |
Once this feature is developed, we also need to make sure user's can discover it easily enough. There is a docs issue to give visibility to it here: libp2p/docs#158 |
resource manager should expose metrics around the current resource usage. And aggregating where necessary.
It doesn't make sense to record every peer's resource usage, but aggregates would still be very valuable (avg, p90, p99, max, min) to operators.
In most use cases the end-user will want this information, and we already record this so we should expose.
The text was updated successfully, but these errors were encountered: