Skip to content

Commit ae185f6

Browse files
chore: regenerate SKILL.md
1 parent 5f56b3b commit ae185f6

File tree

1 file changed

+43
-0
lines changed
  • plugins/sentry-cli/skills/sentry-cli

1 file changed

+43
-0
lines changed

plugins/sentry-cli/skills/sentry-cli/SKILL.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,33 @@ sentry log view my-org/backend 968c763c740cfda8b6728f27fb9e9b01
609609
sentry log list --json | jq '.[] | select(.level == "error")'
610610
```
611611

612+
### Span
613+
614+
View spans in distributed traces
615+
616+
#### `sentry span list <args...>`
617+
618+
List spans in a trace
619+
620+
**Flags:**
621+
- `-n, --limit <value> - Number of spans (1-1000) - (default: "25")`
622+
- `-q, --query <value> - Filter spans (e.g., "op:db", "duration:>100ms", "project:backend")`
623+
- `-s, --sort <value> - Sort by: time (default), duration - (default: "time")`
624+
- `-f, --fresh - Bypass cache and fetch fresh data`
625+
- `--json - Output as JSON`
626+
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
627+
628+
#### `sentry span view <args...>`
629+
630+
View details of specific spans
631+
632+
**Flags:**
633+
- `-t, --trace <value> - Trace ID containing the span(s) (required)`
634+
- `--spans <value> - Span tree depth limit (number, "all" for unlimited, "no" to disable) - (default: "3")`
635+
- `-f, --fresh - Bypass cache and fetch fresh data`
636+
- `--json - Output as JSON`
637+
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
638+
612639
### Trace
613640

614641
View distributed traces
@@ -759,6 +786,22 @@ List logs from a project
759786
- `--json - Output as JSON`
760787
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
761788

789+
### Spans
790+
791+
List spans in a trace
792+
793+
#### `sentry spans <args...>`
794+
795+
List spans in a trace
796+
797+
**Flags:**
798+
- `-n, --limit <value> - Number of spans (1-1000) - (default: "25")`
799+
- `-q, --query <value> - Filter spans (e.g., "op:db", "duration:>100ms", "project:backend")`
800+
- `-s, --sort <value> - Sort by: time (default), duration - (default: "time")`
801+
- `-f, --fresh - Bypass cache and fetch fresh data`
802+
- `--json - Output as JSON`
803+
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
804+
762805
### Traces
763806

764807
List recent traces in a project

0 commit comments

Comments
 (0)