Skip to content

Fix bug in CollectorRegistry#collectorNames method#325

Merged
brian-brazil merged 1 commit intoprometheus:masterfrom
savulchik:patch-1
Jan 7, 2018
Merged

Fix bug in CollectorRegistry#collectorNames method#325
brian-brazil merged 1 commit intoprometheus:masterfrom
savulchik:patch-1

Conversation

@savulchik
Copy link
Copy Markdown
Contributor

The switch statement was missing breaks for SUMMARY and HISTOGRAM cases.
Due to this bug wrong and duplicate collector names are produced for summaries and histograms.
cc @brian-brazil

The switch statement was missing breaks for SUMMARY and HISTOGRAM cases.
Due to this bug wrong and duplicate collector names are produced for summaries and histograms.
@brian-brazil brian-brazil merged commit 64e3cb8 into prometheus:master Jan 7, 2018
@brian-brazil
Copy link
Copy Markdown
Contributor

Thanks!

@savulchik savulchik deleted the patch-1 branch January 7, 2018 10:55
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.

2 participants