From cdde393f7eed547bdfd3fffed5730aa4b115132b Mon Sep 17 00:00:00 2001 From: Apoorva Srinivas Appadoo Date: Tue, 12 Nov 2024 14:16:47 +0100 Subject: [PATCH] feat: add dashboard to grafana --- charts/poulet/Chart.yaml | 2 +- charts/poulet/values.yaml | 22 ++++++++++++++-------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/charts/poulet/Chart.yaml b/charts/poulet/Chart.yaml index 91ab4af..e1e04b5 100644 --- a/charts/poulet/Chart.yaml +++ b/charts/poulet/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.58 +version: 0.1.59 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/poulet/values.yaml b/charts/poulet/values.yaml index 60a84ae..9d4d939 100644 --- a/charts/poulet/values.yaml +++ b/charts/poulet/values.yaml @@ -35,16 +35,22 @@ grafana: disableRecordingRules: false incrementalQueryOverlapWindow: 10m dashboardProviders: - - name: Default # A uniquely identifiable name for the provider - folder: Services # The folder where to place the dashboards - type: file - options: - path: /var/lib/grafana/dashboards # The directory where the dashboards are stored + dashboardproviders.yaml: + apiVersion: 1 + providers: + - name: 'Default' + orgId: 1 + folder: '' + type: file + disableDeletion: false + editable: true + options: + path: /var/lib/grafana/dashboards/default dashboards: - doctor-dashboard: - url: https://raw.githubusercontent.com/StartUpNationLabs/poulet/refs/heads/main/cloud/config/grafana/dashboards_data/doctor.json - token: '' + doctor-dashboard: + url: https://raw.githubusercontent.com/StartUpNationLabs/poulet/refs/heads/main/cloud/config/grafana/dashboards_data/doctor.json + token: '' sidecar: resources: