-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
metrics: allow disabling OpenMetrics negotiation #3944
metrics: allow disabling OpenMetrics negotiation #3944
Conversation
5d4dd1c
to
8aea6ae
Compare
Not sure why |
@hairyhenderson the failure is due to deprecation notices. See https://goreleaser.com/deprecations#nfpmsfiles and https://goreleaser.com/deprecations#nfpmsconfig_files @francislavoie fixed it in: |
Sorry about that - I cherrypicked it into #3945 and I'll merge it asap, no use just leaving it in my unrelated PR. |
Okay merged, you could rebase to re-run CI if you like. |
8aea6ae
to
8841015
Compare
Alright - rebased! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Dave!
Oof, the golang prometheus client is getting heavier and heavier :(
I don't love having such a deep dependency chain. Something we will have to come back and address later probably.
There's a related conversation in the |
Thanks for linking that.
And that's good, but it still makes pulling repos really slow and tedious. And easier for things to break then, which makes development hard. Anyway, I commented in that issue. |
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
f1ef139
to
134ca8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Will merge momentarily and cut rc2 to test the updated CI pipeline
Fixes #3940 by allowing users to disable OpenMetrics negotiation. This shouldn't usually be necessary, but there's a couple of incompatible metric names in the upstream Go collector which break strict parsing. I'll also log a bug in
prometheus/client_golang
and link it here.Documentation PR is here: caddyserver/website#123
Signed-off-by: Dave Henderson dhenderson@gmail.com