• /
  • EnglishEspañol日本語한국어Português
  • ログイン今すぐ開始

Cumulative distribution functions are now available in NRQL

July 31, 2023

Calculate the number of below-threshold metric attribute values with CdfPercentage() and getCdfCount()

The cumulative distribution function (cdf) gives the probability that a value is less than or equal to a threshold.

In NRQL, you now can use the cdfPercentage() function to show what percentage of a numeric or distribution metric attribute's values are less than one or more thresholds. The getCdfCount() function returns how many of a numeric or distribution metric attribute's values are less than a threshold.

For example, this query returns the percentages of page views where first paint happens in 0.5 seconds or less, and in 1 second or less:

"Screenshot showing cdf function usage"

Take a look at our documentation on cdfPercentage() and getCdfCount() to learn more!

Copyright © 2024 New Relic株式会社。

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