Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Load Grafana Dashboard to Specific Folder #2538

Open
RichieRogers opened this issue Oct 14, 2024 · 1 comment
Open

Unable to Load Grafana Dashboard to Specific Folder #2538

RichieRogers opened this issue Oct 14, 2024 · 1 comment
Labels

Comments

@RichieRogers
Copy link

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

Copy link

This issue has been automatically marked as stale because it has not had any activity in the last 60 days. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant