Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: 'UniqueCount High Precision Mode and Increased Argument Support is now Generally Available'

Check warning on line 2 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [new-relic.Adverbs] Consider removing 'Generally'. Raw Output: {"message": "[new-relic.Adverbs] Consider removing 'Generally'.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 2, "column": 79}}}, "severity": "INFO"}
summary: 'Obtain higher precision results and provide more arguments to your uniqueCount() queries.'

Check warning on line 3 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [new-relic.ComplexWords] Consider using 'give' or 'offer' instead of 'provide'. Raw Output: {"message": "[new-relic.ComplexWords] Consider using 'give' or 'offer' instead of 'provide'.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 3, "column": 47}}}, "severity": "INFO"}
releaseDate: '2025-08-13'

Check warning on line 4 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [new-relic.RangeFormat] Use an en dash in a range of numbers. Raw Output: {"message": "[new-relic.RangeFormat] Use an en dash in a range of numbers.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 4, "column": 15}}}, "severity": "WARNING"}
learnMoreLink: 'https://docs.newrelic.com/docs/nrql/nrql-syntax-clauses-functions/#func-uniqueCount'
---

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.

Check warning on line 8 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [new-relic.ComplexWords] Consider using 'right' or 'exact' instead of 'accurate'. Raw Output: {"message": "[new-relic.ComplexWords] Consider using 'right' or 'exact' instead of 'accurate'.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 8, "column": 237}}}, "severity": "INFO"}

Check warning on line 8 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'are excited' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'are excited' looks like passive voice.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 8, "column": 4}}}, "severity": "INFO"}

Check failure on line 8 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Contractions] Use 'we're' instead of 'We are'. Raw Output: {"message": "[Microsoft.Contractions] Use 'we're' instead of 'We are'.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 8, "column": 1}}}, "severity": "ERROR"}

## Obtaining Higher Precision Results From UniqueCount
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%.

Check warning on line 11 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [new-relic.ComplexWords] Consider using 'about' instead of 'approximate'. Raw Output: {"message": "[new-relic.ComplexWords] Consider using 'about' instead of 'approximate'.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 11, "column": 196}}}, "severity": "INFO"}

Check warning on line 11 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'are found' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'are found' looks like passive voice.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 11, "column": 170}}}, "severity": "INFO"}

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%.

Check warning on line 13 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [new-relic.ComplexWords] Consider using 'about' instead of 'approximate'. Raw Output: {"message": "[new-relic.ComplexWords] Consider using 'about' instead of 'approximate'.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 13, "column": 250}}}, "severity": "INFO"}

Check warning on line 13 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [new-relic.RangeFormat] Use an en dash in a range of numbers. Raw Output: {"message": "[new-relic.RangeFormat] Use an en dash in a range of numbers.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 13, "column": 91}}}, "severity": "WARNING"}

## Increased Argument Support Within UniqueCount
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!

Check warning on line 16 in src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [new-relic.ComplexWords] Consider using 'before' instead of 'previously'. Raw Output: {"message": "[new-relic.ComplexWords] Consider using 'before' instead of 'previously'.", "location": {"path": "src/content/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount.md", "range": {"start": {"line": 16, "column": 166}}}, "severity": "INFO"}

Check out the [uniqueCount()](https://docs.newrelic.com/docs/nrql/nrql-syntax-clauses-functions/#func-uniqueCount) function documentation for more details.
3 changes: 2 additions & 1 deletion src/data/whats-new-ids.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,5 +396,6 @@
"/whats-new/2025/07/whats-new-07-24-db-query-performance-monitoring": "43054",
"/whats-new/2025/07/whats-new-7-30-compute-budgets": "43055",
"/whats-new/2025/07/whats-new-7-31-augmenting-user-experiences-browser": "43056",
"/whats-new/2025/08/whats-new-08-06-workloads-errors-inbox": "43057"
"/whats-new/2025/08/whats-new-08-06-workloads-errors-inbox": "43057",
"/whats-new/2025/08/whats-new-8-13-high-precision-uniquecount": "43058"
}
Loading