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

Introduce metric.Collector interface #362

Closed
wants to merge 3 commits into from

Conversation

bdittmer
Copy link
Contributor

@bdittmer bdittmer commented Oct 3, 2020

This commit wraps the standard Prometheus metrics in interfaces. The idea is to support different ways to collect metrics while keeping Prometheus the default. I haven't addressed the gRPC metrics collection yet, but it's on my radar.

I'm opening this PR to gather feedback and address the ongoing conversation in #355. Happy to discuss anything and everything!

This commit introduces interfaces for collecting metrics. It allows
users to implement their own custom metric collection system instead of
the default Prometheus implementation.
@bdittmer bdittmer mentioned this pull request Oct 3, 2020
@bdittmer
Copy link
Contributor Author

bdittmer commented Mar 5, 2021

Cleanup!

@bdittmer bdittmer closed this Mar 5, 2021
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.

1 participant