Skip to content

Instantly share code, notes, and snippets.

@dserodio
Last active November 11, 2022 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dserodio/c72385cbedf4e8961e5bfcf395a0e6b1 to your computer and use it in GitHub Desktop.
Save dserodio/c72385cbedf4e8961e5bfcf395a0e6b1 to your computer and use it in GitHub Desktop.
New Relic NRQL snippets
-- Query APM agent version
-- https://discuss.newrelic.com/t/is-there-a-nrql-query-i-can-do-that-will-list-all-of-the-versions-of-my-apm-agents/105495
SELECT agentHostname, apmAgentVersion, apmAppName, apmLanguage
FROM NrDailyUsage
WHERE apmLanguage IS NOT NULL
SINCE 1 day ago
LIMIT MAX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment