Skip to content

Commit cc36106

Browse files
Merge pull request #21438 from amohammed-2/amohammed/high-precision-uniquecount-whats-new
[Do Not Merge Until Aug 13] Adding What's New Page for High Precision UniqueCount
2 parents 9d0bf83 + 1167c96 commit cc36106

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: 'UniqueCount High Precision Mode and Increased Argument Support is now Generally Available'
3+
summary: 'Obtain higher precision results and provide more arguments to your uniqueCount() queries.'
4+
releaseDate: '2025-08-13'
5+
learnMoreLink: 'https://docs.newrelic.com/docs/nrql/nrql-syntax-clauses-functions/#func-uniqueCount'
6+
---
7+
8+
We are excited to announce the general availability of a high precision mode and increased argument support for the `uniqueCount()` NRQL function. These new features will allow you to make your `uniqueCount()` queries more powerful and accurate, giving you greater confidence in your results.
9+
10+
## Obtaining Higher Precision Results From UniqueCount
11+
The `uniqueCount()` function returns the number of unique values recorded for one or more attributes. It provides exact results for up to 256 unique values, and if more are found it will give an approximate result with a standard error of 3.25%.
12+
13+
You can now supply a `precision` argument to `uniqueCount()` with a value in the range of 256 - 50,000 to increase the threshold for exact results up to 50,000! Higher precision values also proportionally reduce the standard error when returning an approximate result, with a `precision` of 50,000 having a standard error of 0.14%.
14+
15+
## Increased Argument Support Within UniqueCount
16+
The `uniqueCount()` function accepts one or more arguments and returns the number of unique combinations of all the arguments provided. The `uniqueCount()` function previously allowed a maximum of 20 arguments. You can now use the `uniqueCount()` function with up to 32 arguments!
17+
18+
Check out the [uniqueCount()](https://docs.newrelic.com/docs/nrql/nrql-syntax-clauses-functions/#func-uniqueCount) function documentation for more details.

src/data/whats-new-ids.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,5 +396,6 @@
396396
"/whats-new/2025/07/whats-new-07-24-db-query-performance-monitoring": "43054",
397397
"/whats-new/2025/07/whats-new-7-30-compute-budgets": "43055",
398398
"/whats-new/2025/07/whats-new-7-31-augmenting-user-experiences-browser": "43056",
399-
"/whats-new/2025/08/whats-new-08-06-workloads-errors-inbox": "43057"
399+
"/whats-new/2025/08/whats-new-08-06-workloads-errors-inbox": "43057",
400+
"/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount": "43058"
400401
}

0 commit comments

Comments
 (0)