feat(alerting): Add optional field alerting.mattermost.channel (#823)
* Add optional field alerting.mattermost.channel * Added omitempty to channel in Body for Mattermost * Update README.md * Update alerting/provider/mattermost/mattermost.go * Expose channel configuration parameter through alerting.mattermost.channel --------- Co-authored-by: Gerrit <gerrit.abma@logius.nl> Co-authored-by: TwiN <twin@linux.com>
This commit is contained in:
@ -915,6 +915,7 @@ endpoints:
|
||||
|:----------------------------------------------|:--------------------------------------------------------------------------------------------|:--------------|
|
||||
| `alerting.mattermost` | Configuration for alerts of type `mattermost` | `{}` |
|
||||
| `alerting.mattermost.webhook-url` | Mattermost Webhook URL | Required `""` |
|
||||
| `alerting.mattermost.channel` | Mattermost channel name override (optional) | `""` |
|
||||
| `alerting.mattermost.client` | Client configuration. <br />See [Client configuration](#client-configuration). | `{}` |
|
||||
| `alerting.mattermost.default-alert` | Default alert configuration. <br />See [Setting a default alert](#setting-a-default-alert). | N/A |
|
||||
| `alerting.mattermost.overrides` | List of overrides that may be prioritized over the default configuration | `[]` |
|
||||
|
Reference in New Issue
Block a user