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
Alerting: Implement the Webex notifier #58480
Conversation
Closes #11750 Sadly, I tried to unification route where I wanted to use the upstream notifier as part of the messaging but the images in notification made this impossible to work around. That said, I do have a clear idea now of what we need to modify upstream to make this reality - for now, I'd like to ship this as is and use this exact notifier as the first guinea ping for the unification.
Message string `json:"message,omitempty" yaml:"message,omitempty"` | ||
RoomID string `json:"room_id,omitempty" yaml:"room_id,omitempty"` | ||
WebhookURL string `json:"webhook_url,omitempty" yaml:"webhook_url,omitempty"` | ||
Token string `json:"bot_token" yaml:"bot_token"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is my most recent discovery - looking at the Webex documentation it seems that the recommended approach is to use a "Bot", the "Bot" comes with a Token that you can use to interact with the Webex rooms.
As such, the required configuration appears to be: A bot token and which room you want to send alerts too (1 at a time).
I couldn't figure out a way to include the token/room as part of the URL as I previously thought, which means that we probably don't need to encrypt the URL and just the token?
Drone build failed: https://drone.grafana.net/grafana/grafana-enterprise/41475 |
Drone build failed: https://drone.grafana.net/grafana/grafana-enterprise/41642 |
Drone build failed: https://drone.grafana.net/grafana/grafana-enterprise/41893 |
Drone build failed: https://drone.grafana.net/grafana/grafana-enterprise/41896 |
Drone build failed: https://drone.grafana.net/grafana/grafana-enterprise/41913 |
Drone build failed: https://drone.grafana.net/grafana/grafana-enterprise/41914 |
Closes #11750
Sadly, I tried to go the unification route where I wanted to use the upstream notifier as part of the messaging, but the images in notification made this impossible to work around.
That said, I do have a clear idea now of what we need to modify upstream to make this reality - for now, I'd like to ship this as is and use this exact notifier as the first guinea pig for the unification.
TODO