Skip to content

Commit

Permalink
doc: correct traceQL metrics documentation (#4252)
Browse files Browse the repository at this point in the history
Co-authored-by: Kim Nylander <[email protected]>
(cherry picked from commit fc05aec)
  • Loading branch information
javiermolinar authored and grafana-delivery-bot[bot] committed Nov 4, 2024
1 parent b590417 commit aef15a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/sources/tempo/traceql/metrics-queries/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ These functions can be added as an operator at the end of any TraceQL query.
: Counts the number of matching spans per time interval (refer to the [`step` API parameter](https://grafana.com/docs/tempo/<TEMPO_VERSION>/api_docs/#traceql-metrics)).

`min_over_time`
: Returns the minimum value of matching spans values per time interval (see the `step` API parameter)
: Returns the minimum value for the specified attribute across all matching spans per time interval (refer to the [`step` API parameter](https://grafana.com/docs/tempo/<TEMPO_VERSION>/api_docs/#traceql-metrics)).

`max_over_time`
: Returns the minimum value for the specified attribute across all matching spans per time interval (refer to the [`step` API parameter](https://grafana.com/docs/tempo/<TEMPO_VERSION>/api_docs/#traceql-metrics)).
: Returns the maximum value for the specified attribute across all matching spans per time interval (refer to the [`step` API parameter](https://grafana.com/docs/tempo/<TEMPO_VERSION>/api_docs/#traceql-metrics)).

`quantile_over_time`
: The quantile of the values in the specified interval
Expand Down Expand Up @@ -101,7 +101,7 @@ For example, you could choose to calculate the minimum duration of a group of sp
The time interval that the minimum is computed over is set by the `step` parameter.

The `max_over_time()` let you aggregate numerical values by computing the maximum value of them, such as the all important span duration.
The time interval that the maximum is computer over is set by the `step` parameter.
The time interval that the maximum is computed over is set by the `step` parameter.

For more information, refer to the [`step` API parameter](https://grafana.com/docs/tempo/<TEMPO_VERSION>/api_docs/#traceql-metrics).

Expand Down

0 comments on commit aef15a9

Please sign in to comment.