-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Use OpenTelemetry with HTTP/gRPC exporters in apm-integration #80762
Use OpenTelemetry with HTTP/gRPC exporters in apm-integration #80762
Conversation
Pinging @elastic/es-distributed (Team:Distributed) |
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.
Not being at all familiar with the OpenTelemetry API, but having reviewed all the relevant PRs up until this point: LGTM.
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
Just need two more security permissions for allowing exporting data to a Cloud APM server.
I can also confirm the ApmIT
teset run successful on my machine.
x-pack/plugin/apm-integration/src/main/plugin-metadata/plugin-security.policy
Show resolved
Hide resolved
…security.policy add permissions Co-authored-by: Yang Wang <[email protected]>
Thanks everyone! |
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.
Sorry for the late review, I was having too much fun playing around with it. LGTM2
This pull request adds support for HTPP/gRPC with the OpenTelemetry SDK in the
apm-integration
plugin. It adds the required security permissions to the plugin to make it work - we should try to reduce this list one day.The plumbing to pass Elastic's Cloud APM server credentials is not fully there yet but the current
ApmIT
test can be executed with-Dtests.apm.endpoint=https://... -Dtests.apm.token=ABC
and traces should be sent to Elastic APM.Works on my machine™