Init
This commit is contained in:
7
data/grafana/provisioning/datasources/datasources.yaml
Normal file
7
data/grafana/provisioning/datasources/datasources.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
# datasources.yaml
|
||||
apiVersion: 1
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
url: http://192.168.1.24:8083
|
||||
access: proxy
|
||||
11
data/prometheus/prometheus.yml
Normal file
11
data/prometheus/prometheus.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
# prometheus.yml
|
||||
global:
|
||||
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
|
||||
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
|
||||
# scrape_timeout is set to the global default (10s).
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'node-exporter-local'
|
||||
scrape_interval: 5s
|
||||
static_configs:
|
||||
- targets: ['192.168.1.24:8084']
|
||||
Reference in New Issue
Block a user