Convert 500 http status code to trace status code Internal by OmarElgabry · Pull Request #1227 · census-instrumentation/opencensus-go · GitHub
Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Convert 500 http status code to trace status code Internal - #1227

Open
OmarElgabry wants to merge 1 commit into
census-instrumentation:masterfrom
OmarElgabry:fix-http-internal-status-code
Open

OmarElgabry wants to merge 1 commit into
census-instrumentation:masterfrom
OmarElgabry:fix-http-internal-status-code

Conversation

@OmarElgabry

@OmarElgabry OmarElgabry commented Sep 7, 2020 •

Copy link
Copy Markdown

Is there any reason why we aren't converting http status code (500) to a trace.Status code? The http.StatusInternalServerError has a corresponding trace status code trace.StatusCodeInternal

@OmarElgabry
OmarElgabry requested review from a team, rakyll and rghetia as code owners September 7, 2020 19:53
@googlebot

Copy link
Copy Markdown

@OmarElgabry

Copy link
Copy Markdown
Author

@googlebot I signed it!

@googlebot

Copy link
Copy Markdown

@googlebot googlebot added cla: yes and removed cla: no labels Sep 7, 2020
@OmarElgabry OmarElgabry changed the title Convert 500 http status code to trace.status Convert 500 http status code to trace status code Internal Sep 7, 2020

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants