You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've set up Prometheus with Alertmanager to send alerts to a Telegram chat. However, Alertmanager fails to start, reporting a configuration error related to the chat_id and text fields in the Telegram configuration.
Environment
Prometheus version: v2.30.3
Alertmanager version: v0.26.0
Docker version: (include your docker version here)
Operating System: (include your OS here)
Configuration
``
I have the following setup in my docker-compose.yml:
It appears there's an issue with parsing the chat_id (which is a negative number for Telegram groups) and recognizing the text field in the Telegram configuration.
Steps to Reproduce
Set up Prometheus and Alertmanager with the above configurations.
Start the services using Docker Compose.
Observe the logs of the Alertmanager container.
Expected Behavior
Alertmanager starts successfully and is able to send alerts to the configured Telegram chat.
Actual Behavior
Alertmanager fails to start due to a configuration parsing error related to the Telegram integration.
The text was updated successfully, but these errors were encountered:
Description
I've set up Prometheus with Alertmanager to send alerts to a Telegram chat. However, Alertmanager fails to start, reporting a configuration error related to the chat_id and text fields in the Telegram configuration.
Environment
Configuration
``
I have the following setup in my docker-compose.yml:
And my alertmanager/config.yml is configured as follows :
(Note: and <CHAT_ID> are placeholders for the actual bot token and chat ID.)
Error
Upon starting Alertmanager, it fails with the following error:
Here is whole docker container logs for alertmanager :
prometheus/alertmanager.rules
prometheus/prometheus.yml
It appears there's an issue with parsing the chat_id (which is a negative number for Telegram groups) and recognizing the text field in the Telegram configuration.
Steps to Reproduce
Expected Behavior
Alertmanager starts successfully and is able to send alerts to the configured Telegram chat.
Actual Behavior
Alertmanager fails to start due to a configuration parsing error related to the Telegram integration.
The text was updated successfully, but these errors were encountered: