Skip to content

Commit 00a12eb

Browse files
chore: regenerate docs
1 parent 401fb61 commit 00a12eb

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

  • plugins/sentry-cli/skills/sentry-cli/references

plugins/sentry-cli/skills/sentry-cli/references/explore.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,18 @@ sentry explore my-org/cli -F span.op -F "p50(span.duration)" \
5757
sentry explore my-org/cli -F span.op -F "count()" \
5858
--dataset spans --sort "-count()"
5959

60-
# Custom metric aggregations
61-
sentry explore my-org/cli -F transaction -F "avg(measurements.fcp)" \
60+
# Sum a custom metric (e.g., LLM token usage) across an org
61+
sentry explore my-org/ -F "sum(value,llm.token_usage,distribution,none)" \
62+
--dataset metrics --period 7d
63+
64+
# Break down by a tag column (e.g., model name)
65+
sentry explore my-org/seer -F gen_ai.request.model \
66+
-F "sum(value,llm.token_usage,distribution,none)" \
67+
--dataset metrics --period 7d
68+
69+
# Average a distribution metric
70+
sentry explore my-org/cli -F transaction \
71+
-F "avg(value,http.response_time,distribution,millisecond)" \
6272
--dataset metrics --period 24h
6373

6474
# Log severity counts in the last hour

0 commit comments

Comments
 (0)