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

Move http to main spec #82

Merged

Conversation

danielkhan
Copy link
Contributor

Resolves #24

Copy link
Member

@SergeyKanzhelev SergeyKanzhelev left a comment

Choose a reason for hiding this comment

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

Left a few comments

semantic-conventions.md Outdated Show resolved Hide resolved
semantic-conventions.md Show resolved Hide resolved
semantic-conventions.md Outdated Show resolved Hide resolved
work_in_progress/typedspans/README.md Show resolved Hide resolved
semantic-conventions.md Outdated Show resolved Hide resolved
semantic-conventions.md Outdated Show resolved Hide resolved
semantic-conventions.md Outdated Show resolved Hide resolved
Co-Authored-By: Sergey Kanzhelev <S.Kanzhelev@live.com>
@danielkhan danielkhan requested a review from reyang as a code owner June 8, 2019 10:40
Copy link
Member

@SergeyKanzhelev SergeyKanzhelev left a comment

Choose a reason for hiding this comment

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

I'd suggest to keep it unchanged from the existing names and rename status to status_code. Is there some objection with this?

semantic-conventions.md Outdated Show resolved Hide resolved
semantic-conventions.md Outdated Show resolved Hide resolved
danielkhan and others added 3 commits June 11, 2019 07:51
Copy link
Member

@SergeyKanzhelev SergeyKanzhelev left a comment

Choose a reason for hiding this comment

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

please change the name to status_code and remove pieces from OT and OC docs to see a diff. Otherwise looks OK

@SergeyKanzhelev SergeyKanzhelev merged commit 4ac49aa into open-telemetry:master Jun 13, 2019
For a HTTP client span, `SpanKind` MUST be `Client`.

Given an [RFC 3986](https://www.ietf.org/rfc/rfc3986.txt) compliant URI of the form
`scheme:[//authority]path[?query][#fragment]`, the span name of the span SHOULD
Copy link
Member

Choose a reason for hiding this comment

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

-1

in OpenTracing we always explicitly recommended against doing that. In the REST services it is very common to have entity IDs as part of the path, e.g. /api/user/{uuid}. And since the instrumentation in general has no knowledge of whether the application's URL pattern includes entity IDs, recommending path as span name can easily lead to cardinality explosion.

Copy link
Member

Choose a reason for hiding this comment

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

---> #270

SergeyKanzhelev pushed a commit to SergeyKanzhelev/opentelemetry-specification that referenced this pull request Feb 18, 2020
* Moved HTTP Client to semantic conventions

* Moved HTTP server

* Update semantic-conventions.md

Co-Authored-By: Sergey Kanzhelev <S.Kanzhelev@live.com>

* Simplified attribute names.

* Added note on using lower cardinality names if a  framework can infer them.

* Update semantic-conventions.md

Co-Authored-By: Sergey Kanzhelev <S.Kanzhelev@live.com>

* Cahnge status to status_code

* Add component

* Update semantic-conventions.md

Co-Authored-By: Sergey Kanzhelev <S.Kanzhelev@live.com>

* Added optional status_text attribute

* Removed attributes covered in the main spec from OC and OT work in progress files.
@arminru arminru deleted the moveHttpToMainSpec branch August 9, 2022 09:49
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 21, 2024
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 23, 2024
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
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.

semantic_convention: HTTP attributes
5 participants