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

Make HTTPMetricHandler class public #665

Merged

Conversation

bernd
Copy link
Contributor

@bernd bernd commented May 25, 2021

This makes the HTTPMetricHandler reusable to allow custom HTTPServer implementations.

Fixes #529

@fstab @tomwilkie This is a replacement PR for the closed #530. The #529 issue has been closed already but having this class exposed would help me with a custom HTTPServer implementation. 😄 Thank you!

@bernd bernd force-pushed the improve/expose-http-metric-handler branch from 6cd6f34 to 8ad06f2 Compare May 25, 2021 16:42
@fstab
Copy link
Member

fstab commented May 25, 2021

Looks good. Could you rebase it to the next-release branch? Then I'll merge it and it will be in the next release.

@bernd bernd force-pushed the improve/expose-http-metric-handler branch from 8ad06f2 to 80c479c Compare May 25, 2021 21:54
@bernd bernd changed the base branch from master to next-release May 25, 2021 21:55
This makes the HTTPMetricHandler reusable to allow custom HTTPServer
implementations.

Fixes prometheus#529

Signed-off-by: Bernd Ahlers <bernd@graylog.com>
@bernd bernd force-pushed the improve/expose-http-metric-handler branch from 80c479c to 8426c8c Compare May 25, 2021 21:56
@bernd
Copy link
Contributor Author

bernd commented May 25, 2021

Looks good. Could you rebase it to the next-release branch? Then I'll merge it and it will be in the next release.

@fstab I rebased the PR to the next-release branch and changed the target branch as well! Thank you! 🙂

Copy link
Member

@fstab fstab left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks.

@fstab fstab merged commit 7c2fc3e into prometheus:next-release May 26, 2021
@bernd bernd deleted the improve/expose-http-metric-handler branch May 29, 2021 10:13
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.

Make HTTPMetricHandler public
2 participants