Use FROM Transaction or FROM Span with WHERE appName = 'service' to scope queries to a specific service or entity
Compute error rate with SELECT percentage(count(*), WHERE error IS true) FROM Transaction SINCE 1 hour ago TIMESERIES
Query latency percentiles with SELECT percentile(duration, 50, 95, 99) FROM Transaction FACET appName SINCE 1 hour ago
Join deployment marker data by querying FROM Deployment and correlating SINCE/UNTIL clauses with performance queries using COMPARE WITH
Create a custom NRQL baseline alert condition using BASELINE direction UPPER_ONLY to detect anomalous spikes without a fixed threshold
Known gotchas
NRQL queries on high-cardinality FACET dimensions (userId, traceId) are limited in result set size; use LIMIT MAX carefully as it increases query cost
TIMESERIES bucket alignment depends on the SINCE window; very short SINCE windows with TIMESERIES produce unreliable per-bucket aggregates for low-traffic services
The FROM Span event type is sampled in New Relic; aggregate metrics from FROM Transaction are more accurate than computing rates from sampled span counts
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp