• EnglishEspañol日本語한국어Português
  • EntrarComeçar agora

Define custom metrics for an alert condition

To alert on custom metrics, follow standard procedures to add a condition to a policy. The condition's thresholds section includes Custom Metrics, which you can select from the list.

Requirements for custom metrics

Use the policy's Thresholds section to define the custom metric values. These include:

  • The custom metric name for the selected product category and targets.
  • Selected threshold value function of either average, minimum, maximum, total value per minute, or throughput.
  • Selected threshold level of either above, below, or equal to.
  • Critical and warning threshold value and duration that will open an incident, such as 5 units for at least 5 minutes.
  • Condition name (required) for the custom metric.

Create a custom metric condition

To define the custom metric values for your condition:

  1. From one.newrelic.com, select Alerts, then Alert policies.
  2. Click on the policy you'd like to create the classic alert condition, or create a new policy.
  3. Select New alert condition, then select Build a classic alert.
  4. From the Categorize section, select the product and type of condition for the custom metric.
  5. From the Select entities section, add one or more targets (entities) that use your custom metric.
  6. From the Set thresholds section, select one of the metrics from the Custom Metrics section in the Select drop down.
  7. Provide the required threshold values for your custom metric.

After you name your custom metric condition, you can choose to include the URL with runbook instructions for handling certain situations.

Repeat these steps as necessary to create additional conditions for custom metrics.

View or update custom metric conditions

After you save the condition, you can view and update the condition from the relevant policy's condition list page.

  1. From one.newrelic.com, select Alerts, then Alert policies.
  2. Click on the policy in which your alert was created.
  3. Click on the custom metric condition's name. This will open the condition overview page.
  4. To edit your custom metric, click the Edit button.
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.