Skip to content

allow setting status code and description at the end of background spans #197#201

Merged
tobert merged 3 commits into
mainfrom
span-background-end-status
May 12, 2023
Merged

allow setting status code and description at the end of background spans #197#201
tobert merged 3 commits into
mainfrom
span-background-end-status

Conversation

@tobert

@tobert tobert commented May 10, 2023

Copy link
Copy Markdown
Contributor

Per #197, this adds otel-cli span end --status-code error --status-description ono. The status code and description are sent through JSON-RPC to the backend which updates the span before sending it upstream.

Amy Tobey added 3 commits May 9, 2023 03:28
they'll also be used by span_end.go
Adds support to set --status-code and --status-description when calling
otel-cli span end, along with tests.
@tobert

tobert commented May 10, 2023

Copy link
Copy Markdown
Contributor Author

note: commit timestamps are wrong because my silly VM keeps losing time, sigh.

@tobert
tobert merged commit 0f61b87 into main May 12, 2023
@tobert
tobert deleted the span-background-end-status branch May 12, 2023 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant