Alerting: Add TLS, QoS and retain options to the MQTT receiver (#92331)

This commit is contained in:
Alexander Akhmetov
2024-09-17 21:11:16 +02:00
committed by GitHub
parent b52e6ba552
commit e59ea00518
19 changed files with 311 additions and 41 deletions

View File

@ -506,15 +506,26 @@ The following sections detail the supported settings and secure settings for eac
#### Alert notification `MQTT`
| Name | Secure setting |
| ------------- | -------------- |
| brokerUrl | |
| clientId | |
| topic | |
| messageFormat | |
| username | |
| password | yes |
| retain | |
| qos | |
| tlsConfig | |
##### TLS config
| Name | Secure setting |
| ------------------ | -------------- |
| brokerUrl | |
| clientId | |
| topic | |
| messageFormat |
| username | |
| password | yes |
| insecureSkipVerify | |
| clientCertificate | yes |
| clientKey | yes |
| caCertificate | yes |
#### Alert notification `pagerduty`

View File

@ -362,8 +362,20 @@ settings:
username: grafana
# <string>
password: password1
# <string>
qos: 0
# <bool>
insecureSkipVerify: false
retain: false
# <map>
tlsConfig:
# <bool>
insecureSkipVerify: false
# <string>
clientCertificate: certificate in PEM format
# <string>
clientKey: key in PEM format
# <string>
caCertificate: CA certificate in PEM format
```
{{< /collapse >}}