Skip to content

Commit

Permalink
Merge pull request #982 from wavefrontHQ/mari-limit-fn
Browse files Browse the repository at this point in the history
limit fn is not recommended
  • Loading branch information
mmihaylovam authored Oct 20, 2023
2 parents 8b8e6f7 + 1709adc commit 47bdd9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/doc/ts_limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ limit(<numberOfTraces>, <tracesExpression>)

The `limit()` function shows only a specified number of items. You can use `limit()` with time series, histograms, or traces.

{% include important.html content="The `limit()` function selects randomly from all time series and does not perform a query over all data followed by filtering. It is possible that the `limit()` function returns NO DATA or that it results in incorrect reporting because the function examines the underlying time series and not the actual reporting in time.
{% include important.html content="It's not recommended to use the `limit()` function, because it selects randomly from all time series and does not perform a query over all data followed by filtering. It is possible that the `limit()` function returns NO DATA or that it results in incorrect reporting because the function examines the underlying time series and not the actual reporting in time.
<br><br>
For example, the result of a query might be NO DATA even if some time series report data because the (randomly) selected time series have no data or because time series that the query looks at are not what you expect when you call `limit(number_of_timeseries)`" %}
For example, the result of a query might be NO DATA even if some time series report data because the (randomly) selected time series have no data or because time series that the query looks at are not what you expect when you call `limit(number_of_timeseries)`." %}

<table style="width: 100%;">
<colgroup>
Expand Down

0 comments on commit 47bdd9a

Please sign in to comment.