docs(alerting): Fix formatting in incident-io section

This commit is contained in:
TwiN 2025-02-17 15:04:14 -05:00
parent 46b24b849f
commit 3f94e16950

View File

@ -907,14 +907,15 @@ Here's an example of what the notifications look like:
![Gotify notifications](.github/assets/gotify-alerts.png) ![Gotify notifications](.github/assets/gotify-alerts.png)
#### Configuring Incident.io alerts #### Configuring Incident.io alerts
| Parameter | Description | Default | | Parameter | Description | Default |
|:-----------------------------------|:-------------------------------------------------------------------------------------------|:--------------| |:-----------------------------------------|:-------------------------------------------------------------------------------------------|:--------------|
| `alerting.incident-io` | Configuration for alerts of type `incident-io` | `{}` | | `alerting.incident-io` | Configuration for alerts of type `incident-io` | `{}` |
| `alerting.incident-io.url` | url to trigger an alert event. | Required `""` | | `alerting.incident-io.url` | url to trigger an alert event. | Required `""` |
| `alerting.incident-io.auth-token` | Token that is used for authentication. | Required `""` | | `alerting.incident-io.auth-token` | Token that is used for authentication. | Required `""` |
| `alerting.incident-io.overrides` | List of overrides that may be prioritized over the default configuration | `[]` |
| `alerting.incident-io.default-alert` | Default alert configuration. <br />See [Setting a default alert](#setting-a-default-alert) | N/A | | `alerting.incident-io.default-alert` | Default alert configuration. <br />See [Setting a default alert](#setting-a-default-alert) | N/A |
| `alerting.incident-io.overrides` | List of overrides that may be prioritized over the default configuration | `[]` |
| `alerting.incident-io.overrides[].group` | Endpoint group for which the configuration will be overridden by this configuration | `""` | | `alerting.incident-io.overrides[].group` | Endpoint group for which the configuration will be overridden by this configuration | `""` |
| `alerting.incident-io.overrides[].*` | See `alerting.incident-io.*` parameters | `{}` | | `alerting.incident-io.overrides[].*` | See `alerting.incident-io.*` parameters | `{}` |
@ -937,13 +938,11 @@ endpoints:
description: "healthcheck failed" description: "healthcheck failed"
send-on-resolved: true send-on-resolved: true
``` ```
in order to get the required alert source config id and authentication token, you must configure an HTTP alert source. In order to get the required alert source config id and authentication token, you must configure an HTTP alert source.
> **_NOTE:_** the source config id is of the form `api.incident.io/v2/alert_events/http/$ID` and the token is expected to be passed as a bearer token like so: `Authorization: Bearer $TOKEN` > **_NOTE:_** the source config id is of the form `api.incident.io/v2/alert_events/http/$ID` and the token is expected to be passed as a bearer token like so: `Authorization: Bearer $TOKEN`
> **_NOTE:_** ```
#### Configuring JetBrains Space alerts #### Configuring JetBrains Space alerts
| Parameter | Description | Default | | Parameter | Description | Default |
|:--------------------------------------------|:-------------------------------------------------------------------------------------------|:--------------| |:--------------------------------------------|:-------------------------------------------------------------------------------------------|:--------------|