Integrations
New Relic

Connect with New Relic

Complete these steps to set up a webhook in New Relic:

  1. Log in to your New Relic account.

  2. Navigate to Alerts & AI > Notification channels.

  3. Click "New notification channel".

  4. Select "Webhook" as the channel type.

  5. Give your webhook a name (e.g., "Small Hours").

  6. In the "Base URL" field, enter:

    https://<service_id>:<api_key>@api.smallhours.dev/v1/investigate

    Replace <service_id> and <api_key> with your actual Small Hours credentials.

  7. Set the HTTP method to POST.

  8. In the "Custom Payload" section, you can leave the default JSON payload or customize it to include additional information. The default payload includes essential alert details.

  9. Click "Create channel" to save your webhook configuration.

Connecting the webhook to an alert policy:

  1. Go to Alerts & AI > Alert policies.

  2. Create a new policy or edit an existing one.

  3. In the policy, create or edit an alert condition.

  4. In the "Notification channels" section of the condition, select the webhook you created earlier.

  5. Save your alert condition and policy.

New Relic will now send alert data to Small Hours when the conditions are met. The more detailed information you include in your alert conditions and webhook payload, the more accurately Small Hours can analyze and debug issues.