-
Notifications
You must be signed in to change notification settings - Fork 446
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
C. 🔮 Ergonomic Observability #1458
Comments
@mpetrunic Let's use this tracking issue to help fill out the remaining metrics work |
@achingbrain : what's the done criteria for this issue and do we have the list of work items to get there? For work items, is it the list of related items/links, or are there additional items to add? |
Look at related prs and issues in original description. Seems like only libp2p/js-libp2p-tcp#226 is left and it's waiting to be merged |
We should also be collecting metrics from |
Ok. To give clarity on what's remaining, please add the checklist and link to any related issues/PRs for those checklist items. In terms of done criteria, is the current statement comprehensive of everything we need to do?
(As an outsider, I'm not really certain of what we're getting here, but if it it makes sense to maintainers and users, then that's fine.) Is there other work we also need to account for concerning documentation, examples, etc? |
I'm going to close this as done. The main feature has rolled out and we can track the remaining modules seperately |
eta: 2022Q4
Why: Though we already expose per-component metrics in js-libp2p, the overhead of recording metrics is high (excessive object allocation per metric to record). This will be helpful to our users who record metrics on the order of thousands/second.
Goal:
We make the lives of js-libp2p easier by adding an improved metrics API.
1. Ergonomic metrics API
Create an ergonomic, generalized metrics recording interface which addresses current allocation overhead and duplication of information. Do not bloat the browser bundle with prom-client.
Related Issues/Linked PRs:
js-libp2p-tcp
js-libp2p-prometheus-metrics
js-libp2p-interfaces
js-libp2p
js-libp2p-kad-dht
js-libp2p-tracked-map
js-libp2p-noise
Todo:
js-libp2p-webtransport
js-libp2p-webrtc
js-libp2p-websockets
js-libp2p-gossipsub
Export Metrics ChainSafe/js-libp2p-gossipsub#414
add docs on how to enable metrics (mention in release notes)
add blog post
The text was updated successfully, but these errors were encountered: