mirror of
https://github.com/Dannecron/grafana-for-dev.git
synced 2025-12-25 15:52:35 +03:00
[feature] grafana: add prometheus datasource, add dashboard provisioner and node_exporter dashboard
This commit is contained in:
13
grafana/provisioning/dashboards/dashboard.yml
Normal file
13
grafana/provisioning/dashboards/dashboard.yml
Normal 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
|
||||||
23367
grafana/provisioning/dashboards/node-exporter-full_rev31.json
Normal file
23367
grafana/provisioning/dashboards/node-exporter-full_rev31.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user