Skip to content

Allow registering default metrics to other registries - #135

Merged
SimenB merged 2 commits into
masterfrom
custom-registry-default-metrics
Jul 4, 2017
Merged

SimenB merged 2 commits into
masterfrom
custom-registry-default-metrics

Conversation

@SimenB

@SimenB SimenB commented Jun 24, 2017

Copy link
Copy Markdown
Contributor

Maybe take an object to collectDefaultMetrics? I'm going to tackle custom labels for the default metrics now, yet another option and it gets quite hairy

@SimenB
SimenB requested a review from siimon June 24, 2017 14:20
@siimon

siimon commented Jun 24, 2017

Copy link
Copy Markdown
Contributor

To get consistent, maybe there should only be one argument with a configuration object?

@siimon

siimon commented Jun 24, 2017

Copy link
Copy Markdown
Contributor

But maybe support both versions in this release and add a deprecation warning?

@siimon

siimon commented Jun 25, 2017

Copy link
Copy Markdown
Contributor

Sigh, just read the comment you wrote about configuration object so nvm about my first comment..

@SimenB

SimenB commented Jun 25, 2017

Copy link
Copy Markdown
Contributor Author

I'll change it to an object and support both variants 🙂

@SimenB
SimenB force-pushed the custom-registry-default-metrics branch 3 times, most recently from 0e42c18 to 5f7a633 Compare June 25, 2017 15:53
@SimenB
SimenB force-pushed the custom-registry-default-metrics branch from 5f7a633 to b1af901 Compare July 3, 2017 07:56
@SimenB

SimenB commented Jul 3, 2017

Copy link
Copy Markdown
Contributor Author

@siimon I rebased this, and the comments were lost... If you comment on the PR instead of the commit, it should be ok.

Only missing this, and I'll cut a v10.

@SimenB

SimenB commented Jul 3, 2017 •

Copy link
Copy Markdown
Contributor Author

Git reflog to the rescue: 5f7a633

@SimenB
SimenB force-pushed the custom-registry-default-metrics branch from e259242 to 310bf15 Compare July 3, 2017 08:05
@SimenB
SimenB merged commit c8a32d9 into master Jul 4, 2017
@SimenB
SimenB deleted the custom-registry-default-metrics branch July 4, 2017 07:29
@SimenB

SimenB commented Jul 4, 2017

Copy link
Copy Markdown
Contributor Author

@siimon anything else before release? Or should I go ahead with 10?

@siimon

siimon commented Jul 4, 2017

Copy link
Copy Markdown
Contributor

Nope, not that I know of!

@SimenB

SimenB commented Jul 4, 2017

Copy link
Copy Markdown
Contributor Author

@siimon

siimon commented Jul 4, 2017

Copy link
Copy Markdown
Contributor

Great work!

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