Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Instrumentation #44

Open
ghost opened this issue Dec 6, 2016 · 2 comments
Open

Instrumentation #44

ghost opened this issue Dec 6, 2016 · 2 comments
Labels
status/ready Ready to be worked

Comments

@ghost
Copy link

ghost commented Dec 6, 2016

It'd be super useful to expose a few basic metrics, like number of peers and requests answered, if there is such a thing.

In go-ipfs we're exposing an endpoint for Prometheus at http://localhost:5001/debug/metrics/prometheus, and grepping for ipfs_ you can see a few metrics.

There's a JS client in https://github.com/siimon/prom-client -- the peers count would be a gauge, the requests count a counter, etc.

@ghost
Copy link
Author

ghost commented Dec 6, 2016

This would probably best be exposed within an additional http listener on a separate configurable address

@daviddias daviddias added the status/ready Ready to be worked label Dec 10, 2016
@daviddias
Copy link
Member

=> #114

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/ready Ready to be worked
Projects
None yet
Development

No branches or pull requests

1 participant