-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for specifying 'Gatherer' in prometheus Reporter options. (…
…#80) Passing the Gatherer is required to be able return the HTTPHandler appropriate for a customer Registerer that is passed in. Without this change, the HTTPHandler is *always* associated with the Gatherer for the promhttp.DefaultRegisterer, which is confusing if a custom Registerer is passed.
- Loading branch information
1 parent
1ed35a1
commit f2b9562
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters