-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
A fairly common use case in our non-otel-cli
-instrumented code is:
- Open a span
- Do work
- If a failure occurs, record it as an event and then set the span's status to
Error
- Close the span
I don't see a way to modify an existing background span via the cli commands, maybe span
could have a new subcommand, modify
, existing
, or status
? Or, although not as flexible, span end
could take span
's optional --status-code
/--status-description
flags, since a caller could reasonably store the outcome of their background span and set it at the end.
Alternatively, this might already a feature and I'm not finding the way to do so 😅 If so, would appreciate an example.
Metadata
Metadata
Assignees
Labels
No labels