Create a service API key in VictorOps
Before creating a VictorOps notifier in Observability Platform, enable the Prometheus integration in VictorOps and create a service API key. See the REST endpoint integration guide in the VictorOps documentation for more information. To configure a VictorOps notifier:- In VictorOps, click the Integrations tab.
- Search for Prometheus, and then click Enable Integration.
- Copy the Service API Key value.
- Open the pre-configured REST integration, and copy the URL to notify value.
- In the navigation menu select Settings > Routing Keys and review your routing keys. If you have any routing keys defined, copy the appropriate value for the team you want to route this notifier to.
Create a VictorOps notifier in Observability Platform
After creating a service API key in VictorOps, you can create a VictorOps notifier in Observability Platform. You can use variables in your notifiers.- Web
- Chronoctl
- Terraform
- API
To create a VictorOps notifier:
- In the navigation menu select Alerts > Notifiers.
- Click Create notifier.
- Enter a descriptive name for the notifier.
- Select VictorOps as the type of notifier you want to create.
- In the API Key field, enter the value of your VictorOps API key.
-
In the API URL field, enter the URL to notify value you copied from
VictorOps, which is called as a
POSTrequest. For example: - In the Routing Key field, enter the routing key you copied from VictorOps.
- Optional: Select Notify when resolved to send a resolved alert notification.
- Click Save.