• English日本語한국어
  • 로그인지금 시작하기

NRQL queries now support comments

April 12, 2023

Document or debug your NRQL queries using comments

  • Learn more

Comments can now be used in NRQL queries to easily add context to a complex query, comment out a line temporarily, or just explain the events or attributes being queried in NRDB.

Both single and multi-line comments can be added to NRQL queries. Single-line comments start with -- or //, after which everything will be ignored up to the end of the line. Multi-line comments are enclosed within /* and */ and everything in between will be ignored:

NRQL with comments

Read more in our NRQL Reference to get started.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.