From 41559d6adc96d85c9fb15ed0288c6c5f53bd8d3c Mon Sep 17 00:00:00 2001 From: Ilayda Dastan <43909097+ilaydadastan@users.noreply.github.com> Date: Sat, 6 Jul 2024 14:11:45 +0300 Subject: [PATCH] feat(log-analyser): added grafana dashboard provisioning (#1855) --- grafana.yml | 2 +- .../grafana-provisioning/dashboards/dashboards.yml | 11 +++++++++++ .../dashboards}/jicofo.json | 0 .../dashboards}/jitsi-all.json | 0 .../dashboards}/jvb.json | 0 5 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 log-analyser/grafana-provisioning/dashboards/dashboards.yml rename log-analyser/{grafana-dashboards => grafana-provisioning/dashboards}/jicofo.json (100%) rename log-analyser/{grafana-dashboards => grafana-provisioning/dashboards}/jitsi-all.json (100%) rename log-analyser/{grafana-dashboards => grafana-provisioning/dashboards}/jvb.json (100%) diff --git a/grafana.yml b/grafana.yml index 37d143c..63b5b5b 100644 --- a/grafana.yml +++ b/grafana.yml @@ -8,6 +8,6 @@ services: - GF_ANALYTICS_REPORTING_ENABLED=false volumes: - ./log-analyser/grafana:/var/lib/grafana - - ./log-analyser/grafana-provisioning/:/etc/grafana/provisioning/ + - ./log-analyser/grafana-provisioning/dashboards/:/etc/grafana/provisioning/dashboards/ ports: - "3000:3000" diff --git a/log-analyser/grafana-provisioning/dashboards/dashboards.yml b/log-analyser/grafana-provisioning/dashboards/dashboards.yml new file mode 100644 index 0000000..98128b0 --- /dev/null +++ b/log-analyser/grafana-provisioning/dashboards/dashboards.yml @@ -0,0 +1,11 @@ +apiVersion: 1 + +providers: +- name: 'default' + orgId: 1 + folder: '' + type: file + disableDeletion: false + editable: true + options: + path: /etc/grafana/provisioning/dashboards diff --git a/log-analyser/grafana-dashboards/jicofo.json b/log-analyser/grafana-provisioning/dashboards/jicofo.json similarity index 100% rename from log-analyser/grafana-dashboards/jicofo.json rename to log-analyser/grafana-provisioning/dashboards/jicofo.json diff --git a/log-analyser/grafana-dashboards/jitsi-all.json b/log-analyser/grafana-provisioning/dashboards/jitsi-all.json similarity index 100% rename from log-analyser/grafana-dashboards/jitsi-all.json rename to log-analyser/grafana-provisioning/dashboards/jitsi-all.json diff --git a/log-analyser/grafana-dashboards/jvb.json b/log-analyser/grafana-provisioning/dashboards/jvb.json similarity index 100% rename from log-analyser/grafana-dashboards/jvb.json rename to log-analyser/grafana-provisioning/dashboards/jvb.json