Skip to content

Commit

Permalink
Grafana dashboard label to "1"
Browse files Browse the repository at this point in the history
According to most used monitoring stack label value should be "1" to be automatically loaded. While it's not very hard to find it took me some time to figure out why dashboard wasn't loaded.

https://github.com/prometheus-community/helm-charts/blob/e7b492f14f217bfa5616e36bf1eb031cae2721b1/charts/kube-prometheus-stack/values.yaml#L1032

Signed-off-by: Mykyta Orlov <[email protected]>
  • Loading branch information
orlovmyk authored Mar 2, 2024
1 parent 962184a commit f493c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/cloudnative-pg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ monitoring:
# -- Label that ConfigMaps should have to be loaded as dashboards.
sidecarLabel: "grafana_dashboard"
# -- Label value that ConfigMaps should have to be loaded as dashboards.
sidecarLabelValue: ""
sidecarLabelValue: "1"

# Default monitoring queries
monitoringQueriesConfigMap:
Expand Down

0 comments on commit f493c5b

Please sign in to comment.