-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Unable to scrape HTTP/2-only endpoint #7237
Comments
Enable HTTP/2. Fixes prometheus#5938 Fixes prometheus#7237 Add support for "0" duration. Signed-off-by: Julien Pivotto <[email protected]>
Enable HTTP/2. Fixes #5938 Fixes #7237 Add support for "0" duration. Signed-off-by: Julien Pivotto <[email protected]>
Enable HTTP/2. Fixes prometheus#5938 Fixes prometheus#7237 Add support for "0" duration. Signed-off-by: Julien Pivotto <[email protected]>
Has this been resolved yet? Prometheus UI: ARGH, I guess it's because of this: prometheus/common#261 |
@Mario-Hofstaetter I don't think it's fully fixed yet. For now you'll have to enable HTTP/1.x in your ASP.NET service too, for example by adding this in
This is what I did in my service (https://github.com/Daniel15/dnstools/blob/master/src/DnsTools.Worker/appsettings.json#L9-L14) to allow Prometheus to connect. |
We are looking to see if the Golang HTTP/2 issues are fixed or not, any help is welcome. |
there is an update here: |
What did you do?
Added an endpoint to my Prometheus config that only responds via HTTP/2. It's a gRPC service that I've also added a
/metrics
HTTP endpoint to, and gRPC services only speak HTTP/2 by default.What did you expect to see?
Data is properly scraped.
What did you see instead? Under which circumstances?
Prometheus UI says:
Server says:
Environment
The text was updated successfully, but these errors were encountered: