Skip to content

Commit 7891d07

Browse files
authored
feat(discover): extend list of stacking functions (#5074)
- 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
1 parent 208f078 commit 7891d07

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/docs/product/discover-queries/query-builder.mdx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,28 @@ Above the table, click "Columns" to open the modal that shows you a list of all
9999

100100
You can also add any of the following functions as columns to stack events:
101101

102+
- `any(...)`
103+
- `apdex(...)`
102104
- `avg(...)`
103-
- `count(...)`
105+
- `count()`
106+
- `count_if(...)`
107+
- `count_miserable(...)`
104108
- `count_unique(...)`
109+
- `epm()`
110+
- `eps()`
111+
- `failure_count()`
112+
- `failure_rate()`
113+
- `last_seen()`
105114
- `max(...)`
106115
- `min(...)`
116+
- `percentile(...)`
117+
- `p50(...)`
118+
- `p75(...)`
119+
- `p95(...)`
120+
- `p99(...)`
121+
- `p100(...)`
107122
- `sum(...)`
123+
- `user_misery(...)`
108124

109125
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.
110126

0 commit comments

Comments
 (0)