package
0.0.0-20240808111517-eb2bc3ba25e3
Repository: https://github.com/grafana/dashboard-linter.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTargetPromQLRule builds a lint rule for panels with Prometheus queries which checks: - the query is valid PromQL - the query contains two matchers within every selector - `{job=~"$job", instance=~"$instance"}` - the query is not empty - if the query references another panel then make sure that panel exists.
NewTargetRateIntervalRule builds a lint rule for panels with Prometheus queries which checks all range vector selectors use $__rate_interval.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
ConfigurationEntry will exist precisely once for every instance of a rule violation you wish exclude or downgrade to a warning.
ConfigurationFile contains a map for rule exclusions, and warnings, where the key is the rule name to be excluded or downgraded to a warning.
No description provided by the author
Dashboard is a deliberately incomplete representation of the Dashboard type in grafana.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Input is a deliberately incomplete representation of the Dashboard -> Input type in grafana.
No description provided by the author
No description provided by the author
Panel is a deliberately incomplete representation of the Dashboard -> Panel type in grafana.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResultContext is used by ResultSet to keep all the state data about a lint execution and it's results.
No description provided by the author
Row is a deliberately incomplete representation of the Dashboard -> Row type in grafana.
No description provided by the author
RuleSet contains a list of linting rules.
Target is a deliberately incomplete representation of the Dashboard -> Panel -> Target type in grafana.
No description provided by the author
No description provided by the author
No description provided by the author
Target is a deliberately incomplete representation of the Dashboard -> Template type in grafana.
No description provided by the author
# Interfaces
No description provided by the author