Skip to content

Commit 3e0eff2

Browse files
authored
alerting: add incident.io (#1456)
For sourcegraph/sourcegraph#7994
1 parent 2bb4fdc commit 3e0eff2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/admin/observability/alerting.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,23 @@ Once configured, Sourcegraph alerts will automatically be routed to the appropri
101101
]
102102
```
103103

104+
#### Incident.io
105+
106+
```json
107+
"observability.alerts": [
108+
{
109+
"level": "critical",
110+
"notifier": {
111+
"type": "incidentio",
112+
// The incident.io Alert Source URL
113+
"url": "https://api.incident.io/v1/alert_sources/...",
114+
// The incident.io Alert Source Token. This token can also be set by the environment variable INCIDENT_IO_ALERT_SOURCE_TOKEN on the prometheus container. Setting here takes precedence over the environment variable.
115+
"alertSourceToken": "xxxxxx"
116+
}
117+
}
118+
]
119+
```
120+
104121
#### Webhook
105122

106123
```json

0 commit comments

Comments
 (0)