Update Prometheus configuration to use container name for telegram-helper-bot target
This commit is contained in:
@@ -22,7 +22,7 @@ scrape_configs:
|
|||||||
|
|
||||||
- job_name: 'telegram-helper-bot'
|
- job_name: 'telegram-helper-bot'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['host.docker.internal:8080'] # Локальный бот на порту 8080
|
- targets: ['bots_telegram_bot:8080'] # Локальный бот на порту 8080
|
||||||
labels:
|
labels:
|
||||||
bot_name: 'telegram-helper-bot'
|
bot_name: 'telegram-helper-bot'
|
||||||
environment: 'production'
|
environment: 'production'
|
||||||
|
|||||||
Reference in New Issue
Block a user