-
Notifications
You must be signed in to change notification settings - Fork 807
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
Add opentelemetry tracing of gRPC calls #1714
Add opentelemetry tracing of gRPC calls #1714
Conversation
Welcome @Fricounet! |
Hi @Fricounet. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
aa9ca17
to
3e3d309
Compare
Hi @torredil looking at the failing tests,
|
Hi @Fricounet you may ignore the As for fixing the helm error, I suggest modifying the scope using
|
@torredil thanks for your help, test are green now :) |
@Fricounet Glad to hear!
That would be great, thank you. |
b676dba
to
cee4afb
Compare
/lgtm |
/cc @torredil anything left on this one besides squashing the commits? |
@Fricounet This looks great. Will merge once the commits have been squashed, thanks! |
The feature is disabled by default and hidden behind a the flag --enable-otel-tracing. When enabled, all the gRPC calls made by the driver will be instrumented and can be forwarded to an opentelemetry- compatible collector. The configuration of opentelemetry tracing can be done in the chart with values `controller.otelTracing` and `node.otelTracing`. The service name and the endpoint that will be used by the sdk can be configured with `otelServiceName` and `otelExporterEndpoint` for both components.
fbd320b
to
85f0103
Compare
Squash done, thanks for your review :) |
@Fricounet: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: torredil The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Is this a bug fix or adding new feature?
This PR adds support for opentelemetry tracing in the driver. The feature is opt-in behind a feature flag
--enable-otel-tracing
.What is this PR about? / Why do we need it?
Adds basic tracing instrumentation focused around the gRPC calls by using an opentelemetry lib to intercept the calls automatically. However, some more in-depth instrumentation could be added at a later date.
The chart was also updated to allow users to use this new feature.
Closes #1691
What testing is done?
This change has been running in Datadog's AWS clusters for a month without any issue. Below is a screenshot of an example of a captured trace.