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

feat: add prometheusRegistry option #332

Merged
merged 1 commit into from
Jun 18, 2019

Conversation

SerayaEryn
Copy link
Contributor

At the moment it is only possible to add prometheus metrics to the global registry of prom-client.

This adds a prometheusRegistry option, that allows to provide a custom, non-global registry.
If a registry is being provided the default metrics will not be added to avoid having duplicate default metrics.

Added a option prometheusRegistry that allows to pass a existing
prom-client registry.
Copy link
Member

@lance lance left a comment

Choose a reason for hiding this comment

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

LGTM

@helio-frota helio-frota self-requested a review June 18, 2019 14:19
@helio-frota
Copy link
Member

LGTM

@lance lance merged commit 0056cdc into nodeshift:master Jun 18, 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.

3 participants