[feature] grafana: add prometheus datasource, add dashboard provisioner and node_exporter dashboard

This commit is contained in:
2023-04-23 12:59:00 +07:00
parent 4017fcc471
commit 28e633901b
3 changed files with 23387 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
---
apiVersion: 1
providers:
- name: 'Dashboards'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
allowUiUpdates: true
options:
path: /etc/grafana/provisioning/dashboards

File diff suppressed because it is too large Load Diff

View File

@@ -13,4 +13,10 @@ datasources:
url: http://loki:3100 url: http://loki:3100
jsonData: jsonData:
maxLines: 1000 maxLines: 1000
editable: true editable: true
- name: Prometheus
type: prometheus
orgId: 1
url: http://prometheus:9090
editable: true
version: 1