Skip to content

Make HTTPMetricHandler class public#665

Merged
fstab merged 1 commit intoprometheus:next-releasefrom
bernd:improve/expose-http-metric-handler
May 26, 2021
Merged

Make HTTPMetricHandler class public#665
fstab merged 1 commit intoprometheus:next-releasefrom
bernd:improve/expose-http-metric-handler

Conversation

@bernd
Copy link
Copy Markdown
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
Copy Markdown
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 <[email protected]>
@bernd bernd force-pushed the improve/expose-http-metric-handler branch from 80c479c to 8426c8c Compare May 25, 2021 21:56
@bernd
Copy link
Copy Markdown
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
Copy Markdown
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