Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
May 12, 2023

Conversation

tobert
Copy link
Collaborator

@tobert tobert commented May 10, 2023

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
Copy link
Collaborator Author

tobert commented May 10, 2023

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