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

Remove obsolete http.status_text from semantic conventions #972

Merged

Conversation

arminru
Copy link
Member

@arminru arminru commented Sep 18, 2020

Fixes #950.

@arminru arminru requested a review from a team as a code owner September 18, 2020 12:39
@arminru arminru requested review from a team September 18, 2020 12:39
@arminru arminru requested a review from a team as a code owner September 18, 2020 12:39
@@ -44,7 +44,7 @@ In the case of an HTTP redirect, the request should normally be considered succe
unless the client aborts following redirects due to hitting some limit (redirect loop).
If following a (chain of) redirect(s) successfully, the status should be set according to the result of the final HTTP request.

Don't set the span status description if the reason can be inferred from `http.status_code` and `http.status_text`.
Don't set the span status description if the reason can be inferred from `http.status_code`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can leave this out completely.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine to mention that one should not set the reason phrase as status message.

@justinfoote
Copy link
Member

I'm totally in favor of this change. Can we remove it from the HTTP metrics semantic convention at the same time, or should I open a separate issue for that?

@Oberon00
Copy link
Member

I think we should remove it in this PR actually.

@arminru
Copy link
Member Author

arminru commented Sep 18, 2020

@justinfoote
Copy link
Member

😅 Sorry I missed that. Looks good to me then.

@arminru
Copy link
Member Author

arminru commented Sep 22, 2020

Sufficient approvals on here and wide consensus on the issue to remove it, merging.

This pull request was closed.
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.

Remove semantic convention for http.status_text
7 participants