Skip to content

Add NRQL queries for weekly performance report (NR-553030)#23857

Open
tejaswaroop-nr wants to merge 4 commits intodevelopfrom
weekly-report-nrql-queries-NR-553030
Open

Add NRQL queries for weekly performance report (NR-553030)#23857
tejaswaroop-nr wants to merge 4 commits intodevelopfrom
weekly-report-nrql-queries-NR-553030

Conversation

@tejaswaroop-nr
Copy link
Copy Markdown
Contributor

@tejaswaroop-nr tejaswaroop-nr commented Apr 27, 2026

Summary

  • Adds a new Query your weekly report metrics with NRQL section to the Weekly performance collapser on View application performance analysis reports, documenting the 18 NRQL queries that power the weekly email so customers can reproduce any number in their own query builder or dashboard.
  • Groups queries into three H3 subsections — App server metrics (11), Traffic pattern (2), End-user browser metrics (5) — plus a shared placeholder reference table and a callout explaining the 10080 (minutes/week) and 604800 (seconds/week) constants that appear in the queries.
  • Flags the Availability query separately with an <Callout variant="important"> because it uses SyntheticCheck (the legacy APM Availability metric is now driven by Synthetics).

Context

Jira: NR-553030. Naveen Kumar V's team documented the queries internally in Confluence and asked for a public docs URL they can embed in the weekly email so customers can self-serve. New anchor #nrql-queries is additive — no existing anchors change, no redirects needed.

Source: NRQL Queries for the Weekly Performance Report (Confluence).

Test plan

  • Local preview renders the new section inside the Weekly performance collapser with all three H3 subsections, both callouts, and the placeholder table.
  • All 18 \``sqlfences render with copy buttons; placeholders display as literal<app_name>/{N}` (not parsed as JSX).
  • Deep link /docs/apm/reports/performance-reports/#nrql-queries scrolls to the new H2.
  • Surrounding sections (View example report details, Selected applications, Opt in or out) are unchanged.
  • Spot-check one query (e.g. Response time ms) against a real <app_name> in New Relic's query builder to confirm it runs.

Notes

  • English source only — the 5 localized copies under src/i18n/content/{kr,pt,es,fr,jp}/docs/apm/reports/performance-reports.mdx will be regenerated by the translation pipeline.
  • Pre-existing typo #report_detais on the same page is left alone (out of scope; changing it would need a manual redirect).

🤖 Generated with Claude Code

Document the NRQL queries that power the weekly performance report
email so customers can reproduce the numbers on their own data and
the weekly-email team can deep-link to #nrql-queries.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Hi @tejaswaroop-nr 👋

Thanks for your pull request! Your PR is in a queue, and a writer will take a look soon. We generally publish small edits within one business day, and larger edits within three days.

Please ensure the propsed changes look good by building it first in your local environment. Refer to this contribution guide to get the site up and running in your local.

If you really require a preview url, reach out to one of the writers and they will generate one for you.

@tejaswaroop-nr
Copy link
Copy Markdown
Contributor Author

Netlify build

@tejaswaroop-nr tejaswaroop-nr self-assigned this Apr 27, 2026
@tejaswaroop-nr tejaswaroop-nr added content requests related to docs site content from_tw Identifies issues/PRs from Tech Docs writers labels Apr 27, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

🚀 Netlify Preview Building!

If the build is successful, the preview for this pull request will be available at the following URL (usually takes 10-20 minutes):

https://weekly-report-nrql-queries-nr-553030--docs-website-netlify.netlify.app

- Tighten intro: "The following queries are the ones" → "These are the queries"
- Switch bolded lead-ins from em dash to colon form (**Label:** Description) for consistency with repo convention
- Replace semicolon with ", and" in the Availability callout (guide: avoid semicolons) and backtick the metric name for consistency with other code references
- Add descriptions to the two Traffic pattern entries so all 18 query lead-ins follow the same pattern

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tejaswaroop-nr
Copy link
Copy Markdown
Contributor Author

Netlify build

- Remove Page views, JavaScript errors, and Browser interactions queries
  (not part of the weekly email), plus the <APP_ID> placeholder row.
- Remove Request queue time and Availability queries plus their
  callout, plus the <MONITOR_NAME> placeholder row.
- Add a callout under DB (%) explaining the formula and why the value
  can exceed 100% (parallel or asynchronous database calls).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tejaswaroop-nr
Copy link
Copy Markdown
Contributor Author

Netlify build

@tejaswaroop-nr
Copy link
Copy Markdown
Contributor Author

Netlify build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content requests related to docs site content from_tw Identifies issues/PRs from Tech Docs writers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant