57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
# 793fc68064b5a5917eccf004ee6f30395a0464e7# my global config
|
|
global:
|
|
scrape_interval: 5s # 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).
|
|
|
|
# Alertmanager configuration
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets:
|
|
# - alertmanager:9093
|
|
|
|
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
|
|
rule_files:
|
|
# - "first_rules.yml"
|
|
# - "second_rules.yml"
|
|
|
|
# A scrape configuration containing exactly one endpoint to scrape:
|
|
# Here it's Prometheus itself.
|
|
scrape_configs:
|
|
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
|
- job_name: "prometheus"
|
|
static_configs:
|
|
- targets: ["localhost:43261"]
|
|
|
|
- job_name: 'node_exporter'
|
|
static_configs:
|
|
- targets: ['localhost:56546']
|
|
|
|
- job_name: 'node_exporter_lilbox'
|
|
static_configs:
|
|
- targets: ['192.168.1.78:56546']
|
|
|
|
- job_name: 'power-meter-reader'
|
|
scrape_interval: 30s
|
|
static_configs:
|
|
- targets: ['localhost:20132']
|
|
|
|
# - job_name: 'windows-exporter'
|
|
# scrape_interval: 10s
|
|
# static_configs:
|
|
# - targets: ['192.168.1.64:9182']
|
|
#
|
|
- job_name: 'libre-metrics-exporter-dave'
|
|
scrape_interval: 10s
|
|
static_configs:
|
|
- targets: ['192.168.1.64:9646']
|
|
|
|
# - job_name: 'libre-metrics-exporter-jana'
|
|
# scrape_interval: 10s
|
|
# static_configs:
|
|
# - targets: ['192.168.1.64:9646']
|
|
|
|
remote_write:
|
|
- url: "http://127.0.0.1:8428/api/v1/write"
|