-
Notifications
You must be signed in to change notification settings - Fork 889
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
Consider impact of ECS attribute alignment on the HTTP semantic convention stability effort #3163
Comments
Here's a few things to consider if we want to align attributes with ECS before marking HTTP semantic conventions stable. Rename url-ish things from
|
@trask Thanks for opening this discussion thread! To answer your question from the ECS OTEP:
I think these are exactly the discussion we need with open-telemetry/oteps#222. And I appreciate that some things are more straightforward and others less, or not at all (as they would introduce breaking changes). Some thoughts on your examples:
👍
👍 Makes sense to me! For the attributes that do not have an equivalent in ECS, I think ECS could adopt those fields (e.g. What about additional attributes in corresponding namespaces that ECS defines but that are not available in OpenTelemetry? Those could be a 'low-hanging fruit' to enrich OTel semantic conventions without any transformations or breaking changes. Examples:
I think the most fundamental question here is the
|
thx @AlexanderWert
we haven't declared any semantic conventions stable yet, so while we would love to avoid breaking changes, we do have that opportunity (for a limited time)
👍
in the short-term I'd like to focus on getting the existing OTel HTTP semantic conventions to stability, but I agree if we go down this route we should have a separate(?) discussion on whether we proactively bring over more ECS attributes.
thx for the explanation behind ECS choice here
👍 I've updated my comment above to include these |
@jsuereth FYI |
Thanks @trask for putting it together. Overall the direction makes sense to me, but I have comments on individual attributes:
Clarifications/cleanups: |
Taking another try at the HTTP client attributes:
HTTP server attributes:
|
cc @Oberon00 |
this makes sense to me. @AlexanderWert wdyt from ECS perspective?
@AlexanderWert any thoughts about generalizing these fields? any idea what field set they would live in from ECS perspective if they were generalized? |
I suggest using the existing ECS one:
|
net.peer.name -> server.address My understanding that
But I'm not sure I understand the difference between destination and source |
@lmolkova and I aligned on what we think the mappings are for network attributes. We definitely need confirmation from @AlexanderWert that our usage of HTTP client attributes:
HTTP server attributes:
Consolidating open questions from above into one place:
|
Thanks @trask for consolidating this. Some clarification on the
Now let's have a look at the network packet level: When So, for the above purposes I think it's more appropriate to use HTTP client attributes:
So based on that I'd propose the following: HTTP server attributes:
|
thank you for the clarification, @AlexanderWert ! So my understanding that the simple case would look like this: and case with proxy would be something like this: and UNIX socket would be I still have some questions regarding
|
Summarizing the discussion with @AlexanderWert and @lmolkova around network attributes. Let me know if I missed anything. HTTP client attributes:
HTTP server attributes:
|
related to #3192, here's the mapping for exception attributes:
|
Wouldn't it be good to keep this open as overall tracking issue? |
is there any advice / general practice for when to use tracking issues vs using projects to track? e.g. we are also tracking these issues in the HTTP and general semantic conventions stability projects: |
What are you trying to achieve?
Make sure we are considering the impact of open-telemetry/oteps#222 prior to marking the HTTP semantic conventions stable.
Relates to #2626 and #2489
The text was updated successfully, but these errors were encountered: