Skip to content
Snippets Groups Projects

Make Prometheus metrics endpoint return empty response when metrics are disabled

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?

What are the relevant issue numbers?

Closes: #35639 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Ben Kochie resolved all discussions

    resolved all discussions

  • LGTM!

  • Ben Kochie resolved all discussions

    resolved all discussions

  • Please register or sign in to reply
    Loading