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

metrics: rework prometheus integration #2356

Merged
merged 2 commits into from
Apr 12, 2016
Merged

metrics: rework prometheus integration #2356

merged 2 commits into from
Apr 12, 2016

Conversation

ghost
Copy link

@ghost ghost commented Feb 18, 2016

The peers_total metric used to live deep down in libp2p,
it is now nicely separated, and there's space for even
more metrics. Tests are a good thing too.

The Prometheus library is now gx'ed too. I pinned it on biham.

License: MIT
Signed-off-by: Lars Gierth larsg@systemli.org

@ghost ghost added topic/tools Topic tools RFCR labels Feb 18, 2016
@ghost
Copy link
Author

ghost commented Feb 18, 2016

Build red -- need to gx the dependencies as well, mh.

@whyrusleeping
Copy link
Member

@lgierth check out gx-go import

@whyrusleeping
Copy link
Member

that import command has a flag to take a json map of packages to existing hashes, so if you want to reuse a package thats already vendored, you should add it there

@ghost ghost removed the RFCR label Feb 18, 2016
Lars Gierth added 2 commits April 11, 2016 19:33
With a proper IpfsCollector object and tests, this time.
The collector object makes it easy to add further metrics,
like e.g. bitswap wants/provs.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
@ghost
Copy link
Author

ghost commented Apr 12, 2016

Heeere we go -- with gxified prometheus dependencies and all.

@ghost ghost added the RFCR label Apr 12, 2016
@whyrusleeping
Copy link
Member

LGTM, nice work :)

@whyrusleeping whyrusleeping merged commit 53c94ef into master Apr 12, 2016
@whyrusleeping whyrusleeping deleted the prometheus2 branch April 12, 2016 17:31
hacdias pushed a commit to ipfs/boxo that referenced this pull request Jan 27, 2023
metrics: rework prometheus integration

This commit was moved from ipfs/kubo@53c94ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/tools Topic tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant