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

Updated otlp network connection attributes per otel semconv #196

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

bryce-b
Copy link
Contributor

@bryce-b bryce-b commented Dec 21, 2023

added attribute processing for otlp log to include network connection type.

This solves #195

Additionally, updates the otel semconv per https://github.com/open-telemetry/semantic-conventions/blob/main/docs/general/attributes.md#network-connection-and-carrier-attributes

added attribute processing for otlp log to include network connection type.
@bryce-b bryce-b requested a review from a team as a code owner December 21, 2023 21:36
@bryce-b bryce-b force-pushed the update-optl-log-attributes branch from aa2eab2 to a84baee Compare December 21, 2023 21:46
Copy link
Member

@kruskall kruskall left a comment

Choose a reason for hiding this comment

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

LGTM, just a minor question around breaking changes that I think needs to be sorted out

input/otlp/traces.go Show resolved Hide resolved
@bryce-b bryce-b requested a review from kruskall January 4, 2024 17:18
@kruskall kruskall merged commit 4f1a8bc into elastic:main Jan 5, 2024
4 checks passed
@bryce-b bryce-b deleted the update-optl-log-attributes branch January 5, 2024 17:55
@simitt
Copy link
Contributor

simitt commented Mar 21, 2024

Quickly tested this with BC5 and a small adaption of the sendotlp cmd in apm-server, and successfully saw the network attributes being set:
Screenshot 2024-03-21 at 10 26 29

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.

3 participants