Open moonbaseDelta opened 1 year ago
I have some reckons regarding this but I'm curious - what would you like to see an image of?
Well, the main target is Grafana renderer images that came from URLs like http://<your-grafana>:3000/render/d-solo/<dashboard_id>/<dashboard_name>?orgId=1&from=<timestamp_from>&to=<timestamp_to>&panelId=<panel_id>&width=<img_w>&height=<img_h>&tz=<timezone>
.
So, yes, there're bunch of variables around.
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