prometheus / prometheus/alertmanager
Send image via Telegram notification
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.6k
- Forks
- 2.5k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 61
Description
Why not add to telegram-bot ability to send photo along with data message?
According to the used library the client used in Alermanager already have this ability:
https://github.com/go-telebot/telebot
https://github.com/go-telebot/telebot/blob/v3/sendable.go#L27
In Alertmanager config it may look like Slack's image_url option:
https://prometheus.io/docs/alerting/latest/configuration/#slack_config
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining Alertmanager's Telegram notifier and its configuration handling, then review the linked go-telebot sendable interface and the Slack image_url configuration for comparison. Done means Telegram notifications can include a configured photo alongside the data message, with the configuration behavior covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100