Skip to content
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

feat(alertmanager): add support for webex,discord,telegram receivers #5493

Merged
merged 4 commits into from Aug 3, 2023

Conversation

nschad
Copy link
Contributor

@nschad nschad commented Jul 30, 2023

What this PR does:
A user from the slack channel pointed out that his webex config was giving him an error even though it should be supported.

In PR #5276 the telegram receiver was properly validated but have we forgotten to add the telegram receiver to the buildIntegrations function? Otherwise I'm confused.

Which issue(s) this PR fixes:
Upgrade to alertmanager v0.25 didn't include all new receivers.

Special notes

I did not test this as we don't use webex. I also don't have webex. However I checked the WebExConfig struct and each field should be supported by cortex (no file stuff), no special validation required.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Niclas Schad <niclas.schad@gmail.com>
Signed-off-by: Niclas Schad <niclas.schad@gmail.com>
@nschad nschad changed the title feat(alertmanager): add support for webex receivers feat(alertmanager): add support for webex,discord,telegram receivers Jul 30, 2023
Signed-off-by: Niclas Schad <niclas.schad@gmail.com>
CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Niclas Schad <niclas.schad@gmail.com>
Copy link
Collaborator

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@alanprot
Copy link
Member

alanprot commented Aug 3, 2023

Thanks! LGTM.

@alanprot alanprot merged commit 4a2ea3b into cortexproject:master Aug 3, 2023
14 checks passed
rajagopalanand pushed a commit to rajagopalanand/rajagopalanand-cortex that referenced this pull request Aug 3, 2023
…ortexproject#5493)

* feat(alertmanager): add support for webex receivers

Signed-off-by: Niclas Schad <niclas.schad@gmail.com>

* feat(alertmanager): add support for telegram and discord

Signed-off-by: Niclas Schad <niclas.schad@gmail.com>

* fix docstring

Signed-off-by: Niclas Schad <niclas.schad@gmail.com>

* update CHANGELOG

Signed-off-by: Niclas Schad <niclas.schad@gmail.com>

---------

Signed-off-by: Niclas Schad <niclas.schad@gmail.com>
@nschad nschad deleted the feat-am-webex branch August 4, 2023 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants