-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Summary
Users should be able to filter logs by trace ID directly from the CLI via sentry logs --trace <id> (or --trace-id <id>). Currently navigating from a trace to its associated logs requires going through the UI or running a separate query manually.
Analysis
- Current behavior:
sentry logsdoes not accept a trace ID filter flag. - Gap: trace-centric workflows are common; users often start from a trace and want to inspect associated logs without leaving the CLI.
- Direction: add
--trace/--trace-idflag tosentry logsthat scopes the query to the given trace ID; also considersentry trace logs <id>as a subcommand alias for discoverability.
Concerns
- Decide on flag name consistency:
--tracevs--trace-id— pick one canonical form and alias the other.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels