Skip to content
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

Prometheus exporter: correctly treat wildcard Accept #853

Merged

Conversation

bio-aeon
Copy link
Contributor

It turns out that now Prometheus exporter endpoint returns Not Acceptable error response for GET request with */* Accept header, while the more correct approach looks to treat it the same as non-existent Accept header, that is "user agent will accept any media type in response".

@mergify mergify bot added the module:sdk:exporter Features and improvements to the sdk exporter module label Nov 22, 2024
@iRevive iRevive merged commit 6176527 into typelevel:main Nov 23, 2024
11 checks passed
@iRevive
Copy link
Contributor

iRevive commented Nov 23, 2024

Do we need a new release?

@lenguyenthanh
Copy link
Member

I don't think so, I hope not many (or none) people depends on this behavior.

This is a good to have behavior I think, for testing purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:sdk:exporter Features and improvements to the sdk exporter module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants