-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
pkg/trace/api: OTLP: match datadogexporter behaviour #11548
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I would still want someone from Agent APM to review this since this is not my area of expertise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small edit
releasenotes/notes/apm-otlp-standardize-attributes-7a52f9ccbf3e9152.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
5b421e3
to
d537caa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkg/config looks good
68ac5c4
to
f1abb10
Compare
57e3a01
to
b5a64ce
Compare
ad3fcf1
to
c8771a4
Compare
84c2b24
to
aca042f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for looking. I think I covered everything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I don't know enough about the Datadog traces exporter to understand if there will be a 100% match once the code is replaced there, but otherwise everything makes sense AFAICT
f3481f0
to
12154b3
Compare
Previously when `apm_config.receiver_port: 0`, we would not try using any transports (UDS/windows named pipes). This change was introduced in #11548. In this PR we now only bail out if all the transports are disabled.
This change refactors the OTLP receiver to be compatible with the collector's
datadogexporter
and attempts matching all behaviours, as well as adding more tests.