Add node_exporter configuration to prometheus.yml

This commit is contained in:
2025-09-16 12:09:28 +03:00
parent 81a4069623
commit 4eb21a7dbc

View File

@@ -20,6 +20,13 @@ scrape_configs:
scrape_timeout: 10s
honor_labels: true
# Job для мониторинга Node Exporter
- job_name: 'node'
static_configs:
- targets: ['172.17.0.1:9100'] # Специальное имя для доступа к хосту
labels:
instance: 'main-server'
- job_name: 'telegram-helper-bot'
static_configs:
- targets: ['bots_telegram_bot:8080'] # Локальный бот на порту 8080