-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Add topic_id as an optional parameter to telegram_config #3672
Comments
Hello, I agree that alertmanager need this feature. |
There is no topic_id in telegram api. We have to add reply_to_message_id in GET request. When we reply to message "The topic "sometopic" was created" we actually send a message into this topic. I guess we should begin with:
|
Field is called |
Recommendation to implement
|
@grobinson-grafana We've had a few different PRs around this, and its very important to support this functionality. Right now we're in a world where everything is routed to the telegram equivalent of a I think #3672 is ready to go to alleviate this issue. |
Hi! 👋 #3638 has been merged! You can close the issue 🙂 |
What did you do?
Configured Alertmanager to use Telegram notifications, and set the chat_id to be a group.
What did you expect to see?
The ability to set a topic_id to target a particular topic.
What did you see instead? Under which circumstances?
Messages go to first topic, usually General.
Environment
System information:
Linux 6.1.0-17-amd64 x86_64
Alertmanager version:
alertmanager, version 0.26.0 (branch: HEAD, revision: d7b4f0c)
build user: root@df8d7debeef4
build date: 20230824-11:11:58
go version: go1.20.7
platform: linux/amd64
tags: netgo
Prometheus version:
prometheus, version 2.49.1 (branch: HEAD, revision: 43e14844a33b65e2a396e3944272af8b3a494071)
build user: root@6d5f4c649d25
build date: 20240115-16:58:43
go version: go1.21.6
platform: linux/amd64
tags: netgo,builtinassets,stringlabels
Alertmanager configuration file:
Logs:
n/a
Notes:
My logging stack is working well, but I would very much like to be able to target a particular topic in Telgram.
The text was updated successfully, but these errors were encountered: