Skip to content

Conversation

@v-zhuravlev
Copy link
Contributor

@v-zhuravlev v-zhuravlev commented Nov 12, 2024

  1. Add support for empty (filteringSelector='') to support cases when we don't want to have any static filter at all.
    You can now set filteringSelector to ''
    and in queries this:
    {job!="", job=~"$job"}
    would become
    {job=~"$job"}
  2. Turn datasource to prometheus_datasource when loki is enabled this helps to pass dashboard-linter rule:

@v-zhuravlev v-zhuravlev requested a review from a team as a code owner November 12, 2024 11:51
@v-zhuravlev v-zhuravlev force-pushed the empty-filtering-selector branch from 61c9fe9 to 1c68c5e Compare November 12, 2024 13:36
Copy link
Member

@Dasomeone Dasomeone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, loving all these improvements!

@v-zhuravlev v-zhuravlev merged commit 5a6b86b into master Nov 12, 2024
4 checks passed
@v-zhuravlev v-zhuravlev deleted the empty-filtering-selector branch November 12, 2024 14:40
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