Skip to content

Allow turning off query warnings/notices in the UI #16888

@juliusv

Description

@juliusv

From a user on Slack:

Hey prometheus team, we have a number of custom metrics internally which unfortunately don't align to the best practices for naming conventions, and are frequently getting these info messages like this which can clutter up the UI

PromQL info: metric might not be a counter, name does not end in _total/_sum/_count/_bucket: "some_metric_name_here" (1:6)

Is there an ability to prevent this messages from showing, as "just fix the metric name" itself is kind of a non starter for us.

We should probably have a way for users to turn off warnings/notices in this case. The question is how:

  • Server-wide
  • Per-user in the UI via a localStorage setting

And also: do we maybe even want to allow hiding / switching off only specific warnings (like the one about metric names)?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions