Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: only start prometheus metrics in one place #2954

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

achingbrain
Copy link
Member

When the IPFS_MONITORING env var is set, we use prometheus to collect resource usage stats. We only need to set it up in one place though.

Fixes #2019

When the `IPFS_MONITORING` env var is set, we use prometheus to collect
resource usage stats.  We only need to set them up in one place though.

Fixes #2019
@achingbrain achingbrain merged commit d52a41e into master Mar 26, 2020
@achingbrain achingbrain deleted the fix/only-start-metrics-in-one-place branch March 26, 2020 14:29
mistakia pushed a commit to mistakia/js-ipfs that referenced this pull request Apr 3, 2020
When the `IPFS_MONITORING` env var is set, we use prometheus to collect
resource usage stats.  We only need to set them up in one place though.

Fixes ipfs#2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPFS Fails to start with nodejs_gc_runs_total has already been registered
1 participant