diff options
Diffstat (limited to 'telemetry/grafana-provisioning')
| -rw-r--r-- | telemetry/grafana-provisioning/dashboards/dashboards.yml | 12 | ||||
| -rw-r--r-- | telemetry/grafana-provisioning/datasources/prometheus.yml | 9 |
2 files changed, 21 insertions, 0 deletions
diff --git a/telemetry/grafana-provisioning/dashboards/dashboards.yml b/telemetry/grafana-provisioning/dashboards/dashboards.yml new file mode 100644 index 000000000..82fd18a7a --- /dev/null +++ b/telemetry/grafana-provisioning/dashboards/dashboards.yml @@ -0,0 +1,12 @@ +apiVersion: 1 + +providers: + - name: 'seaweedfs' + orgId: 1 + folder: '' + type: file + disableDeletion: false + updateIntervalSeconds: 10 + allowUiUpdates: true + options: + path: /var/lib/grafana/dashboards
\ No newline at end of file diff --git a/telemetry/grafana-provisioning/datasources/prometheus.yml b/telemetry/grafana-provisioning/datasources/prometheus.yml new file mode 100644 index 000000000..38fb02c68 --- /dev/null +++ b/telemetry/grafana-provisioning/datasources/prometheus.yml @@ -0,0 +1,9 @@ +apiVersion: 1 + +datasources: + - name: Prometheus + type: prometheus + access: proxy + url: http://prometheus:9090 + isDefault: true + editable: true
\ No newline at end of file |
