Connect with Opsgenie for alerting
To enable sending alert notifications from CubeAPM to Opsgenie, you need to create an API Integration within your Opsgenie team. The following steps guide you through the process:
-
In the team's page, click on the Integrations tab from the left sidebar and click on the Add integration button.
-
Search for "API" in the integration list and select the API integration.
-
Configure the API integration:
- Enter a name for the integration (e.g., "cubeapm_alerts").
- Select the team that should receive alerts from this integration.
- Click Continue.
-
After saving, the integration details page will be displayed. Copy the API Key and click on Turn on integration.
-
Configure CubeAPM with the copied API key:
alertmanager.opsgenie.tokens=<team_name>:<api_key>
Multiple teams can be added as below:
alertmanager.opsgenie.tokens=<team_name_1>:<api_key_1>,<team_name_2>:<api_key_2>
The above configuration can be provided in
/etc/cubeapm/config.properties
, or as correspondingconfigVars.alertmanager.opsgenie.*
properties in the helm chart values file.