Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 685 Bytes

template-instance-rule.md

File metadata and controls

14 lines (11 loc) · 685 Bytes

template-instance-rule

Checks that each dashboard has a templated instance. See Job and Instance Template Variables for more information about rules relating to this one.

Best Practice

The rule ensures all of the following conditions.

  • The dashboard template exists.
  • The dashboard template is named instance.
  • The dashboard template is labeled instance.
  • The dashboard template uses a templated datasource, specifically named $datasource.
  • The dashboard template uses a Prometheus query to find available matching instances.
  • The dashboard template is multi select
  • The dashboard template has an allValue of .+