From c4d5029ee97f64fdf9da680ca1cdb0461f5175da Mon Sep 17 00:00:00 2001 From: Apoorva Srinivas Appadoo Date: Tue, 12 Nov 2024 14:13:27 +0100 Subject: [PATCH] feat: add dashboard to grafana --- charts/poulet/Chart.yaml | 2 +- charts/poulet/values.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/charts/poulet/Chart.yaml b/charts/poulet/Chart.yaml index 91a0036..91ab4af 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.57 +version: 0.1.58 # 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 3db6fef..60a84ae 100644 --- a/charts/poulet/values.yaml +++ b/charts/poulet/values.yaml @@ -34,6 +34,18 @@ grafana: cacheLevel: 'High' 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 + + dashboards: + doctor-dashboard: + url: https://raw.githubusercontent.com/StartUpNationLabs/poulet/refs/heads/main/cloud/config/grafana/dashboards_data/doctor.json + token: '' + sidecar: resources: limits: