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

Query builder: NRQL mode

You can learn about how to form NRQL queries in the NRQL docs. The following table gives some additional tips for using NRQL in the query builder.

Item

Description

Prompts

For each statement or function in your query, you can view a list of valid options, with tooltips.

crop-prompt-nrql.png

Example of a prompt in NRQL mode.

Events

You can use multiple event types in an NRQL query.

Attributes

You can use multiple attributes per event type in an NRQL query.

View previous queries

Once you run an NRQL query, use the My recent queries dropdown to view up the last 1,000 queries that you ran. The dropdown has a search box to help you find your query.

Autocompleter

The query builder's autocompleter will display events and attributes reported within the last 60 minutes. An example of this is a process that runs once a day, such as a standard system health check that kicks off every morning at 6:00am. If you attempt to query the event at 7:05am, the event and subsequent attributes will not be visible in the autocomplete dropdown.

These events and attributes are still queryable by typing the exact string.

Multi query

When using the TIMESERIES clause you can run and compare up to 10 queries from different accounts.

To use multi query, enter your first query with TIMESERIES and run it. Once the results are rendered, the Add another query button is activated and you can add another query.

Copyright © 2024 New Relic Inc.

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