Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
Content-Type
HTTP header to metrics
- Loading branch information
6f396e2
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.
This change caused me some trouble. Although it seems that exposing the OpenMetrics endpoint is more standardized, when I directly access the endpoint with a browser, the file is downloaded instead of displayed directly, and debugging indicators is not as convenient as before.😢
6f396e2
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.
I'm not sure what you expected, you're not supposed to open it in the browser anyway and if you want to take a look at it downloading in CLI with curl or something like that is trivial. We're not going to change it to non-standard content type anyway.