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

Export Prometheus via OpenCensus and register the DHT metrics #6245

Closed
wants to merge 1 commit into from

Conversation

anacrolix
Copy link
Contributor

This uses OC to export metrics via Prometheus. This also means that other OC metrics, such as the ones in go-libp2p-kad-dht can be exposed (via Prometheus, and whatever other exporters are used). I did some checks that no existing metrics move as a result.

See also libp2p/go-libp2p-kad-dht#327.

This uses OC to export metrics via Prometheus. This also means that other OC metrics, such as the ones in go-libp2p-kad-dht can be exposed (via Prometheus, and whatever other exporters are used). I did some checks that no existing metrics move as a result.
@anacrolix
Copy link
Contributor Author

@magik6k @raulk

Copy link
Member

@magik6k magik6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corehttp feels like a wrong place to register views, but I'm not really sure where it would be better to put that (possibly some daemon specific package ..corehttp is also daemon specific).

I'll be refactoring these areas of code soon, so we may wast to just get this in and then figure something out (assuming is doesn't affect the binary size as drastically as the other PR - #6217 (comment))

@Stebalien Stebalien closed this May 7, 2019
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.

4 participants