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!: turn prometheus middleware into collector #16

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

costela
Copy link
Member

@costela costela commented Feb 8, 2024

This makes integration with the "recursive collectors" pattern easier, since no additional registerer is necessary.
Users who already have a prometheus.Registerer in scope can explicitly register the middleware.

BREAKING CHANGE: all prometheus usage must be refactored

This makes integration with the "recursive collectors" pattern easier, since no additional registerer is necessary.
Users who already have a prometheus.Registerer in scope can explicitly register the middleware.

BREAKING CHANGE: all prometheus usage must be refactored
@costela costela force-pushed the refactor-prometheus-middleware-into-collector branch from 334e2b6 to 018d790 Compare February 14, 2024 11:27
Copy link
Member

@obitech obitech left a comment

Choose a reason for hiding this comment

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

LGTM

@costela costela merged commit 1db7a06 into main Feb 14, 2024
1 check passed
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