Configuring Dashboard Scope
The scope can be set at a dashboard-wide level, or overridden for individual panels, by any user type except for the users with View Only access.
For more information on how scopes work, refer to the Using Labels documentation.
To configure the scope of an existing dashboard, click the Edit Scope link in the top right of the Dashboard page:
Scope editor restricts the scope of the selection for subsequent filters by rendering values that are specific to the selected labels. For example, if the value of the
kube_namespace_name label is
kube-system, the values of the subsequent label,
container_name will be filtered by
kube-system. This means the containers rendered for filtering are only those that are part of the kube-system namespace.
Dashboard scope values can be defined as variables, allowing users to reuse them in PromQL queries.
Configure Panel Scope
To configure the scope of an existing dashboard panel:
From the Dashboard module, select the relevant dashboard from the dashboard list.
Click Edit (pencil) icon:
From the query field associated with the metric, click Scope.
Select the labels either by clicking the desired label, or searching for the label, then clicking it.
Select one or more label values.
Optionally, apply panel scope to all the queries.
Click Save to confirm the changes.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.