An error occurred while fetching the assigned milestone of the selected merge_request.
Make Prometheus metrics endpoint return empty response when metrics are disabled
Open
requested to merge pawel/show_empty_page_when_prometheus_metrics_are_disabled-35639 into master
All threads resolved!
What does this MR do?
Instead of displaying normal 404 page we display empty metrics response with short information that metrics are disabled and a link to documentation showing how it can be turned on.
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated - Review
-
Has been reviewed by Backend
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together
What are the relevant issue numbers?
Closes: #35639 (closed)
Merge request reports
Activity
Filter activity
added Prometheus label
added 1 commit
- 1ea2a85c - Make Prometheus metrics endpoint return empty response when metrics are disabled
- Resolved by Ben Kochie
assigned to @bjk-gitlab
assigned to @pchojnacki
mentioned in commit nolith/gitlab-ce@cc058de8
Please register or sign in to reply