Skip to content
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

[exp] metrics over libp2p streams #3110

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MarcoPolo
Copy link
Collaborator

Allows a node to expose its metrics to another libp2p node. Only allow listed peer ids can query the metrics.

This enables a user to share their metrics with us, and for us to use our own grafana+prometheus stack to ingest those metrics.

A couple more things are left to do here. In draft until those are done. I may split the ergonomic auth to a separate PR.

Auth is now more uniform across HTTP and stream transports.
Allows users to run a Prometheus+Grafana setup remotely and gather
metrics securely over libp2p.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant