-
Notifications
You must be signed in to change notification settings - Fork 525
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
processor/otel: handle net.host.* as span attributes #5719
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We were mistakenly handling the new net.host attributes as resource attributes, whereas they should be span attributes; these fields describe a network connection, which will be specific to an operation (span), and not the service (resource) performing that operation. `net.host.connection_type` has been updated to `net.host.connection.type`, per the spec change.
axw
added
v7.14.0
v7.15.0
backport-7.14
Backport PR to the 7.14 branch
backport-7.x
labels
Jul 15, 2021
axw
changed the title
processor/otel: handle net.host span attributes
processor/otel: handle net.host.* as span attributes
Jul 15, 2021
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪 |
simitt
approved these changes
Jul 15, 2021
mergify bot
pushed a commit
that referenced
this pull request
Jul 15, 2021
We were mistakenly handling the new net.host attributes as resource attributes, whereas they should be span attributes; these fields describe a network connection, which will be specific to an operation (span), and not the service (resource) performing that operation. `net.host.connection_type` has been updated to `net.host.connection.type`, per the spec change. (cherry picked from commit 61bf74d)
mergify bot
pushed a commit
that referenced
this pull request
Jul 15, 2021
We were mistakenly handling the new net.host attributes as resource attributes, whereas they should be span attributes; these fields describe a network connection, which will be specific to an operation (span), and not the service (resource) performing that operation. `net.host.connection_type` has been updated to `net.host.connection.type`, per the spec change. (cherry picked from commit 61bf74d)
axw
added a commit
that referenced
this pull request
Jul 15, 2021
We were mistakenly handling the new net.host attributes as resource attributes, whereas they should be span attributes; these fields describe a network connection, which will be specific to an operation (span), and not the service (resource) performing that operation. `net.host.connection_type` has been updated to `net.host.connection.type`, per the spec change. (cherry picked from commit 61bf74d) Co-authored-by: Andrew Wilkins <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
axw
added a commit
that referenced
this pull request
Jul 15, 2021
We were mistakenly handling the new net.host attributes as resource attributes, whereas they should be span attributes; these fields describe a network connection, which will be specific to an operation (span), and not the service (resource) performing that operation. `net.host.connection_type` has been updated to `net.host.connection.type`, per the spec change. (cherry picked from commit 61bf74d) Co-authored-by: Andrew Wilkins <[email protected]>
Probably because elastic/apm-agent-ios#46 hasn't landed yet. I think we should just follow up on this in 7.15, seeing as there's more to do anyway. |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation/summary
We were mistakenly handling the new
net.host.*
attributes as resource attributes, whereas they should be span attributes. These fields describe a network connection which will be specific to an operation (span), and not the service (resource) performing that operation.net.host.connection_type
has been updated tonet.host.connection.type
, per the spec change.Checklist
- [ ] Update CHANGELOG.asciidoc- [ ] Documentation has been updatedHow to test these changes
When elastic/apm-agent-ios#46 lands, run a program instrumented with the iOS agent, and check that the information is indexed into
network.*
fields and not as labels. The only field that should show up as a label isnet.host.connection.subtype
, which is not yet mapped.Related issues
#5436