Skip to content

Commit

Permalink
SINCE, UNTIL, and LIMIT not supported
Browse files Browse the repository at this point in the history
These keywords were never supported. However, New Relic didn't prevent users from supplying them. The data demonstrates customer confusion on how this feature works. We are updating the documentation now and we will prevent these rules from being created in the future.
  • Loading branch information
jeffalder committed Jan 26, 2022
1 parent e7bbbda commit 4b89c93
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ There are two ways to drop data:

## NRQL restrictions [#restrictions]

Not all NRQL clauses make sense for generating drop rules. You can provide a [`WHERE`](/docs/query-data/nrql-new-relic-query-language/getting-started/nrql-syntax-clauses-functions#sel-where) clause to select data with specific attributes. Other features such as `TIMESERIES`, `COMPARE WITH`, `FACET`, and other clauses cannot be used.
Not all NRQL clauses make sense for generating drop rules. You can provide a [`WHERE`](/docs/query-data/nrql-new-relic-query-language/getting-started/nrql-syntax-clauses-functions#sel-where) clause to select data with specific attributes. Other features such as `LIMIT`, `TIMESERIES`, `COMPARE WITH`, `FACET`, and other clauses cannot be used.

`SINCE` and `UNTIL` are not supported in drop rules. If you have time-specific rules (say, drop everything until a time in the future), use `WHERE timestamp < (epoch milliseconds in the future)`. You also can't use `SINCE` to drop historical data: NRQL drop rules only apply to data reported after the drop rule was created. If you need to delete data that has already been reported, contact your New Relic representative.

The two action types have these restrictions:

Expand Down

0 comments on commit 4b89c93

Please sign in to comment.