Metrics_sobkovice/grafana/prometheus.yml
2024-07-07 10:08:19 +02:00

32 lines
841 B
YAML

global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
# scrape_timeout: 15s
# evaluation_interval: 1m
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
# external_labels:
# monitor: 'PV'
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
# scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'PV-garaz'
scrape_interval: 5s
static_configs:
- targets: ['goodwe-exporter-garaz:8787']
labels:
group: 'PV'
- job_name: 'PV-bouda'
scrape_interval: 5s
static_configs:
- targets: ['goodwe-exporter-bouda:8788']
labels:
group: 'PV'