chirpstack-docker/configuration/prometheus/prometheus.yml
2020-03-16 15:32:31 +01:00

44 lines
1012 B
YAML

# my global config
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).
# 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"
scrape_configs:
- job_name: 'Prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'Chirpstack network server'
static_configs:
- targets: ['chirpstack-network-server:9323']
- job_name: 'Chirpstack application server'
static_configs:
- targets: ['chirpstack-application-server:9324']
- job_name: 'Chirpstack gateway bridge'
static_configs:
- targets: ['chirpstack-gateway-bridge:9325']