Skip to content

metrics: actually return a 200 status code #406

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

Merged
merged 1 commit into from
Sep 9, 2019

Conversation

pietroalbini
Copy link
Member

For whatever reason the page is returning a 404 status code at the
moment. I haven't found exactly why, but this forces the status code on
that page to be 200 when metrics are returned.

r? @Mark-Simulacrum

For whatever reason the page is returning a 404 status code at the
moment. I haven't found exactly why, but this forces the status code on
that page to be 200 when metrics are returned.
@Mark-Simulacrum
Copy link
Member

Huh. Would've definitely expected 200 to be a default.

@Mark-Simulacrum
Copy link
Member

er, thought that was a merge button. Anyway, r=me with CI passing

@pietroalbini pietroalbini merged commit ff27e25 into rust-lang:master Sep 9, 2019
@pietroalbini pietroalbini deleted the prometheus-ok branch September 9, 2019 14:45
@pietroalbini
Copy link
Member Author

Confirmed it works with this landed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants