-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
new openmetrics types are not supported for prometheus module #24554
Comments
Pinging @elastic/integrations (Team:Integrations) |
quick thought, is it reasonable to set default |
This is a good point, we should look into updating our clients to support new types. Thanks for opening! About updating the headers, that sounds like a reasonable workaround. I wonder if it has other unexpected drawbacks, like breaking compatibility with other clients |
fair point, do you think anyone should be involved in this discussion? I am not java expert, found this repo(thanks to open source) and did some tests, I guess
As per |
Describe the enhancement:
support new openmetrics types
Describe a specific use case for the enhancement or feature:
take prometheus java library as example, since 0.10.0 there are new openmetrics types supported, as metricbeat sends the header to accept openmetrics format by default, the java metrics exporter responds with new types. i.e.
vs response for
Accept: text/plain
headerthis leads to metrics scrapping/parsing failure.
The text was updated successfully, but these errors were encountered: