| name | newrelic-cli-nrql |
| description | This subskill should be used when composing or running ad hoc NRQL queries for New Relic telemetry, facets, time windows, rates, and comparisons. Use newrelic-nrql-debug-ladder instead for failing, empty, or schema-mismatched queries. |
| metadata | {"category":"observability","source":{"repository":"https://github.com/vince-winkintel/newrelic-cli-skills","path":"nrql","license_path":"LICENSE"}} |
NRQL Queries
Run ad-hoc NRQL queries against your New Relic account.
Basic Syntax
newrelic nrql query \
--accountId $NEW_RELIC_ACCOUNT_ID \
--query "YOUR NRQL HERE"
Key Event Types
| Event Type | What it tracks |
|---|
Transaction | Web/non-web request timings |
TransactionError | Exceptions and errors |
DatabaseTrace | Individual DB query timings |
ExternalTrace | Outbound HTTP calls |
SystemSample | Host CPU, memory, disk |
ProcessSample | Per-process metrics |
Log | Log lines (if log forwarding enabled) |
PageView |