Add node_exporter configuration to prometheus.yml
This commit is contained in:
@@ -19,7 +19,14 @@ scrape_configs:
|
||||
scrape_interval: 30s
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user