• /
  • Log in
  • Free account

archive Locate exact metric names

You must know the exact metric name to alert on a metric. You can find metric names from the Insights Metric Explorer or the REST API Explorer.

Important

New Relic's REST API Explorer may find metrics that do not provide meaningful data. For better results, use Insights Metric Explorer to verify that there is meaningful data associated with your metric before using it.

Use Insights Metric Explorer (recommended)

New Relic recommends using the Metric Explorer in Insights to:

  • Search all your metric data, including custom metrics
  • Create customizable metric charts
  • Add metric charts to Insights dashboards

To use the Metric Explorer to get the exact name for a metric:

  1. Go to insights.newrelic.com > Data Explorer > Metrics.
  2. Search for and select a metric.
  3. Under the metric chart, select View in API Explorer.
  4. On the API Explorer page for that metric, copy the name from the names[] field.

Use the API Explorer (advanced)

You can use the REST API Explorer to return a list of all metrics for your app, server, or plugin. Seeing all available metrics can make it easier to create plans for making use of those metrics.

Important

You must provide your REST API key or an Admin user's API key in order to use the API Explorer. If your API key does not auto-populate in New Relic's API Explorer, make sure you selected your account from the Select an account dropdown.

OR

Manually retrieve your API key.

  1. Go to the API Explorer at rpm.newrelic.com/api/explore.
  2. Select an account and key from the account and key dropdown.
  3. Select GET Metric Names, and then specify your target product ID in the application_id (or component_id, server_id, etc.) field. Select Send Request.
  4. From the API Explorer's returned JSON response, browse the metric names associated with the "name": key to locate the target metric.

Tip

You can also take the cURL commands generated by the API Explorer and paste them into a terminal window for local output.

For more help

If you need more help, check out these support and learning resources:

Create issueEdit page
Copyright © 2021 New Relic Inc.