Skip to content

Notifier: Webex#3132

Merged
gotjosh merged 11 commits intomainfrom
webex-notifier
Dec 15, 2022
Merged

Notifier: Webex#3132
gotjosh merged 11 commits intomainfrom
webex-notifier

Conversation

@gotjosh
Copy link
Member

@gotjosh gotjosh commented Nov 8, 2022

Cisco's Webex has been one of the most requested notifiers on Grafana for a while now, please see: grafana/grafana#11750 (comment)

Given it's straightforward implementation, low maintenance overhead and request demand, I think it's worth including this directly in the Alertmanager.

  • test & post back results

Copy link
Contributor

@alexweav alexweav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, a couple very small nits

gotjosh added a commit that referenced this pull request Nov 9, 2022
While most integrations set a limit by UTF-8 compatible characters (some like Webex) use runes - as pointed out in #3132. This PR makes it explicit wether the truncation is happening at a byte or rune level.
gotjosh added a commit that referenced this pull request Nov 9, 2022
While most integrations set a limit by UTF-8 compatible characters (some like Webex) use runes - as pointed out in #3132. This PR makes it explicit wether the truncation is happening at a byte or rune level.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
Cisco's Webex has been one of the most requested notifiers on Grafana for a while now, please see: grafana/grafana#11750 (comment)

Given it's straightforward implementation, low maintance overhead and request demand, I think it's worth including this directly in the Alertmanager.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
…tup in Webex Teams

- Move away from Webhook to APIRUL
- Make the Room ID a require field
- Set Authorization Credentails via Headers

Signed-off-by: gotjosh <josue.abreu@gmail.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>
…present

Signed-off-by: gotjosh <josue.abreu@gmail.com>
…utchered

Signed-off-by: gotjosh <josue.abreu@gmail.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>
qinxx108 pushed a commit to qinxx108/alertmanager that referenced this pull request Nov 16, 2022
While most integrations set a limit by UTF-8 compatible characters (some like Webex) use runes - as pointed out in prometheus#3132. This PR makes it explicit wether the truncation is happening at a byte or rune level.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
Copy link
Member

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I have a comment on the configuration + we would need an addition to https://github.com/prometheus/alertmanager/blob/main/docs/configuration.md#receiver.

qinxx108 pushed a commit to qinxx108/alertmanager that referenced this pull request Dec 13, 2022
While most integrations set a limit by UTF-8 compatible characters (some like Webex) use runes - as pointed out in prometheus#3132. This PR makes it explicit wether the truncation is happening at a byte or rune level.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
@simonpasquier simonpasquier mentioned this pull request Dec 15, 2022
Signed-off-by: gotjosh <josue.abreu@gmail.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>
Copy link
Member

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, albeit 2 minor comments on the doc part.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
@gotjosh gotjosh merged commit 907f7d3 into main Dec 15, 2022
@gotjosh gotjosh deleted the webex-notifier branch December 15, 2022 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants