From 331258f91a2e46f11a07a78b42b26bf00dd9f8e9 Mon Sep 17 00:00:00 2001 From: William Mak Date: Tue, 24 May 2022 14:05:43 -0400 Subject: [PATCH] feat(discover): extend list of stacking functions - This list is a bit outdated, and there are many more functions that discover supports. Updating this to include all of them, but longterm probably worth revisiting this section of docs - This is so the API docs can link here --- .../product/discover-queries/query-builder.mdx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/docs/product/discover-queries/query-builder.mdx b/src/docs/product/discover-queries/query-builder.mdx index e79af1d60e0de6..49a42e42e5fe8d 100644 --- a/src/docs/product/discover-queries/query-builder.mdx +++ b/src/docs/product/discover-queries/query-builder.mdx @@ -99,12 +99,28 @@ Above the table, click "Columns" to open the modal that shows you a list of all You can also add any of the following functions as columns to stack events: +- `any(...)` +- `apdex(...)` - `avg(...)` -- `count(...)` +- `count()` +- `count_if(...)` +- `count_miserable(...)` - `count_unique(...)` +- `epm()` +- `eps()` +- `failure_count()` +- `failure_rate()` +- `last_seen()` - `max(...)` - `min(...)` +- `percentile(...)` +- `p50(...)` +- `p75(...)` +- `p95(...)` +- `p99(...)` +- `p100(...)` - `sum(...)` +- `user_misery(...)` Each function will ask you to assign a parameter. Some are required while others are optional. Functions will stack events based on the same values. If no functions are applied, the events in your "Query Results" table will remain individually listed. Once you are done editing the columns, click "Apply" and results will be reflected in the query results. Keep in mind, the table may horizontally scroll if many columns are added.