Introduction to querying New Relic data

You can query New Relic data in several ways, including in the UI or via API.

To understand your New Relic-stored data better, see Data types.

Query data in the UI

Reasons to query your data from the New Relic UI:

  • To answer a specific question
  • To create a custom chart or dashboard
  • To access and navigate your data in a quick, visual way

There are two ways to query data in the New Relic UI: using query languages (New Relic query language or our PromQL-style query language), or using simpler query interfaces that don't require knowledge of how to write a query.

Use NRQL or PromQL-style queries in the UI

There are two ways to ​​​​​write your own queries to retrieve data and build charts:

Query using simple UI interfaces

New Relic One offers several experiences that don't require knowledge of NRQL:

Query data via API

There are several APIs for retrieving and querying New Relic data. You can run NRQL (our query language) queries with NerdGraph (our GraphQL API).

For more on New Relic APIs, see Intro to New Relic APIs.

For more help

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