When exporting contact-points, mute-timings, and notification policies in the provisioning API, we need to escape the `$` character which is used in interpolation by file provisioning. Follow up to #97985
22 lines
798 B
YAML
22 lines
798 B
YAML
# config file version
|
|
apiVersion: 1
|
|
|
|
# List of contact points to import or update
|
|
contactPoints:
|
|
# <int> organization ID, default = 1
|
|
- orgId: 1
|
|
# <string, required> name of the contact point
|
|
name: cp_1_$$escaped
|
|
|
|
receivers:
|
|
# <string, required> unique identifier for the receiver. Should not exceed 40 symbols. Only letters, numbers, - (hyphen), and _ (underscore) allowed.
|
|
- uid: first_uid
|
|
# <string, required> type of the receiver
|
|
type: prometheus-alertmanager
|
|
# <bool, optional> Disable the additional [Incident Resolved] follow-up alert, default = false
|
|
disableResolveMessage: false
|
|
# <object, required> settings for the specific receiver type
|
|
settings:
|
|
url: http://test:9000
|
|
something: $$escaped
|