Add node_exporter configuration to prometheus.yml
This commit is contained in:
@@ -20,6 +20,13 @@ scrape_configs:
|
|||||||
scrape_timeout: 10s
|
scrape_timeout: 10s
|
||||||
honor_labels: true
|
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'
|
- job_name: 'telegram-helper-bot'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['bots_telegram_bot:8080'] # Локальный бот на порту 8080
|
- targets: ['bots_telegram_bot:8080'] # Локальный бот на порту 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user