How to Deploy Grafana dashboard with side car and group the dashboard with specific dashboards Folder

4/2/2020

Could you please let me know, How should I deploy a grafana dashboard with sidecar and place/group it in specific dashboard folder?

Example ( Mongo DB dashboard resides in Mongo Folder and Postgres at Postgres Folder). Please note that I am NOT talking about file locations ( /tmp/dashboards ).

I am using the grafana stable HELM chart and latest version of grafana (version 6.4.2)

I am deploying JSON dashboards with k8s configmap and label the config map with sidecar dashboard label. Once deployed it always goes to default "General" dashboards Folder.

HRLM values

  sidecar:
    dashboards:
      enabled: true
      label: grafana_dashboard

THANKS

-- Dileeka Fernando
grafana
kubernetes

0 Answers