Skip to content

Commit a45d74f

Browse files
Conor Broderickbrian-brazil
authored andcommitted
Added VictorOps configuration to docs (prometheus#724)
* Added VictorOps configuration to docs
1 parent c706193 commit a45d74f

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

content/docs/alerting/configuration.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ channel: <tmpl_string>
369369
370370
# API request data as defined by the Slack webhook API.
371371
[ color: <tmpl_string> | default = '{{ if eq .Status "firing" }}danger{{ else }}good{{ end }}' ]
372-
[ username: <tmpl_string> | default = '{{ template "slack.default.username" . }}'
372+
[ username: <tmpl_string> | default = '{{ template "slack.default.username" . }}' ]
373373
[ title: <tmpl_string> | default = '{{ template "slack.default.title" . }}' ]
374374
[ title_link: <tmpl_string> | default = '{{ template "slack.default.titlelink" . }}' ]
375375
[ icon_emoji: <tmpl_string> ]
@@ -408,6 +408,30 @@ api_key: <string>
408408
# Comma separated list of tags attached to the notifications.
409409
[ tags: <tmpl_string> ]
410410
```
411+
## `<victor_ops_config>`
412+
413+
VictorOps notifications are sent out via the [VictorOps API](https://help.victorops.com/knowledge-base/victorops-restendpoint-integration/)
414+
415+
```
416+
# The API key to use when talking to the VictorOps API.
417+
api_key: <string>
418+
419+
# The VictorOps API URL.
420+
[ api_url: <string> | default = global.victor_ops_api_url ]
421+
422+
# A key used to map the alert to a team.
423+
[ routing_key: <string> ]
424+
425+
# Describes the behavior of the alert (Critical, Acknowledgement, Info, Recovery).
426+
[ message_type: <string> ]
427+
428+
# Contains explanation of the alerted problem.
429+
[ state_message: <string> | default = '{{ template "victorops.default.state_message" . }}' ]
430+
431+
# The monitoring tool the state message is from.
432+
[ monitoring_tool: <string> | default = '{{ template "victorops.default.monitoring_tool" . }}' ]
433+
434+
```
411435

412436

413437
## `<webhook_config>`

0 commit comments

Comments
 (0)