You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what you mean here - if I call simply curl localhost:8080/q/metrics without any headers, I get a Prometheus export by default. I get a 406 error only if I pass an Accept header with an unrecognised value.
I'll double check. this also may not be something unique to smallrye metrics, as I have #15093 also. I'll poke so we can be more precise about where something might need to be adjusted.
Describe the bug
Metrics are not returned when accessing
/q/metrics
Expected behavior
If no Accept header is passed, ie. it means Accept All, then the metrics should be returned
Actual behavior
Currently, SmallRye Metrics returns a HTTP 406 if
text/plain
is not passed as an Accept header type.The text was updated successfully, but these errors were encountered: