Skip to content

feat(discover): extend list of stacking functions #5074

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion src/docs/product/discover-queries/query-builder.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down