You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to upload dashboards into a specific folder, eg:
My-Dashboards
So, if I have the following ConfigMap:
apiVersion: v1
kind: ConfigMap
metadata:
name: test-dashboard
labels:
grafana_dashboard: "1"
namespace: monitoring
annotations:
#grafana_dashboard: "My-Dashboards" <--- tried this one first
k8s-sidecar-target-directory: "/tmp/dashboards/My-Dashboards" <---- also tried this way
data:
test-dashboard.json: |
{
blah blah blah
}
It "should" upload this dashboard into the GUI under Dashboards -> My-Dashboards.
However, it only appears in the Dashboards folder.
I've even restarted the Grafana pod, but it makes no difference.
Am I missing some other config setting?
These are the labels on the deployment if it helps identify version:
app.kubernetes.io/instance=kube-prometheus-stack
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=grafana
app.kubernetes.io/version=11.2.1
helm.sh/chart=grafana-8.5.2
Thanks,
Richie
The text was updated successfully, but these errors were encountered:
I'm trying to upload dashboards into a specific folder, eg:
My-Dashboards
So, if I have the following ConfigMap:
apiVersion: v1
kind: ConfigMap
metadata:
name: test-dashboard
labels:
grafana_dashboard: "1"
namespace: monitoring
annotations:
#grafana_dashboard: "My-Dashboards" <--- tried this one first
k8s-sidecar-target-directory: "/tmp/dashboards/My-Dashboards" <---- also tried this way
data:
test-dashboard.json: |
{
blah blah blah
}
It "should" upload this dashboard into the GUI under Dashboards -> My-Dashboards.
However, it only appears in the Dashboards folder.
I've even restarted the Grafana pod, but it makes no difference.
Am I missing some other config setting?
These are the labels on the deployment if it helps identify version:
app.kubernetes.io/instance=kube-prometheus-stack
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=grafana
app.kubernetes.io/version=11.2.1
helm.sh/chart=grafana-8.5.2
Thanks,
Richie
The text was updated successfully, but these errors were encountered: