23 lines
500 B
YAML
23 lines
500 B
YAML
# Конфигурация Prometheus для AnonBot
|
||
global:
|
||
scrape_interval: 15s
|
||
evaluation_interval: 15s
|
||
|
||
rule_files:
|
||
# - "first_rules.yml"
|
||
# - "second_rules.yml"
|
||
|
||
scrape_configs:
|
||
# AnonBot метрики
|
||
- job_name: 'anon-bot'
|
||
static_configs:
|
||
- targets: ['localhost:8081']
|
||
metrics_path: '/metrics'
|
||
scrape_interval: 30s
|
||
scrape_timeout: 10s
|
||
|
||
# Prometheus сам по себе
|
||
- job_name: 'prometheus'
|
||
static_configs:
|
||
- targets: ['localhost:9090']
|