Optimize your NRQL with Macros!
Blog post from New Relic
New Relic has introduced NRQL Macros, reusable named shortcuts for NRQL expressions that aim to reduce query complexity, establish a single source of truth, and simplify bulk updates. Available through the Administration section or API, macros are created and edited centrally, then referenced in queries with a dollar sign followed by the macro name. They can encapsulate lengthy query components such as WHERE or WITH clauses, standardize differently named attributes that represent the same data, and apply shared changes across dashboards with many widgets, such as excluding test users. By centralizing recurring logic, the feature is intended to make NRQL queries more readable, maintainable, and efficient to update.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Developer Experience | 1 | 486 | 263 | 70 | -24% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.