Closed
Conversation
Author
|
CONTRIBUTING.md:
|
|
Let's get this merge. I was waiting for this integration. 🙏 |
Contributor
|
thanks for the contribution! unfortunately, as you can see in prometheus/docs#843, we're currently not adding any new notifiers. Our recommendation is to implement additional integrations with the webhook notifier. |
|
I wonder if this PR could be reopened, now that recently Telegram support was added and the moratorium was lifted. |
Member
|
Probably not going to reopen, but feel free to work off the original commit and rebase it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refer: Actionable Messages via Connectors
The default theme color used for firing is #F35225 (Red in MS Logo), and resolved is #81BB05 (Green in MS Logo), to match with their theme, maybe 😄
Sample payload sent to Teams:
{ "@context": "http://schema.org/extensions", "@type": "MessageCard", "title": "Alert from System 7", "text": "[FIRING:1] (TURTLE ALERT!!)", "themeColor": "F35225", "potentialAction": [ { "@type": "OpenUri", "name": "View Alert", "targets": [ { "os": "default", "uri": "http://localhost:9093/#/alerts?receiver=some-teams-rcvr" } ] } ] }Sample Alertmanager config for the same: