mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Add support for msteams contact point in external Alertmanagers (#76392)
* Add support for msteams contact point in external AMs * Update docs
This commit is contained in:
parent
520497738e
commit
0592fe7edb
@ -47,7 +47,7 @@ The following table lists the contact point integrations supported by Grafana.
|
||||
| [Google Chat](https://chat.google.com/) | `googlechat` | Supported | N/A |
|
||||
| [Kafka](https://kafka.apache.org/) | `kafka` | Supported | N/A |
|
||||
| [Line](https://line.me/en/) | `line` | Supported | N/A |
|
||||
| [Microsoft Teams](https://teams.microsoft.com/) | `teams` | Supported | N/A |
|
||||
| [Microsoft Teams](https://teams.microsoft.com/) | `teams` | Supported | Supported |
|
||||
| [Opsgenie](https://atlassian.com/opsgenie/) | `opsgenie` | Supported | Supported |
|
||||
| [Pagerduty](https://www.pagerduty.com/) | `pagerduty` | Supported | Supported |
|
||||
| [Prometheus Alertmanager](https://prometheus.io) | `prometheus-alertmanager` | Supported | N/A |
|
||||
|
@ -491,6 +491,22 @@ export const cloudNotifierTypes: Array<NotifierDTO<CloudNotifierType>> = [
|
||||
}),
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'Microsoft Teams',
|
||||
description: 'Sends notifications to Microsoft Teams',
|
||||
type: 'msteams',
|
||||
info: '',
|
||||
heading: 'Microsoft Teams settings',
|
||||
options: [
|
||||
option('webhook_url', 'Webhook URL', 'The incoming webhook URL.'),
|
||||
option('title', 'Title', 'Message title template.', {
|
||||
placeholder: '{{ template "teams.default.title" . }}',
|
||||
}),
|
||||
option('text', 'Text', 'Message body template.', {
|
||||
placeholder: '{{ template "teams.default.text" . }}',
|
||||
}),
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export const globalConfigOptions: NotificationChannelOption[] = [
|
||||
|
@ -10,4 +10,5 @@ export const receiverTypeNames: Record<string, string> = {
|
||||
webex: 'Cisco Webex Teams',
|
||||
sns: 'Amazon SNS',
|
||||
telegram: 'Telegram',
|
||||
msteams: 'Microsoft Teams',
|
||||
};
|
||||
|
@ -71,7 +71,8 @@ export type CloudNotifierType =
|
||||
| 'webex'
|
||||
| 'telegram'
|
||||
| 'sns'
|
||||
| 'discord';
|
||||
| 'discord'
|
||||
| 'msteams';
|
||||
|
||||
export type NotifierType = GrafanaNotifierType | CloudNotifierType;
|
||||
export interface NotifierDTO<T = NotifierType> {
|
||||
|
Loading…
Reference in New Issue
Block a user