grafana-dashboard icon indicating copy to clipboard operation
grafana-dashboard copied to clipboard

Queries for custom dynamic filters

Open DifferentialOrange opened this issue 2 years ago • 0 comments
trafficstars

Now user may set the following filters

filters: {
  job: ['=~', '$job'],
  alias: ['=~', '$alias'],
}

and get the dashboard with job, alias dynamic variables and filters. User may also add

mylabel: ['=~'. '$myval']

but they will need to add a query for variable $myvar manually later. We can make their lives easier by

  • supporting writing custom variable queries in YAML config,
  • providing a default query for dynamic filter if there is no user one, similar to job and alias.

DifferentialOrange avatar Jun 15 '23 07:06 DifferentialOrange