-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tracing: Migrate Google Cloud (Stackdriver) client to OpenTelemetry (#…
…4838) * Add migration utilities - Add method to create bridge tracer - Implement a sampler which enables us to force tracing Signed-off-by: Matej Gera <matejgera@gmail.com> * Migrate and rename Stackdriver to Google Cloud - Rename to Google Cloud, keep it backwards compatible - Refactor and move to OTEL exporter - Adjust factory to use bridge tracer for this provider Signed-off-by: Matej Gera <matejgera@gmail.com> * Adjust HTTP middleware - to ensure force tracing / populate trace ID header works for the bridge tracer as well Signed-off-by: Matej Gera <matejgera@gmail.com> * Update documentation Signed-off-by: Matej Gera <matejgera@gmail.com> * Copyright file headers Signed-off-by: Matej Gera <matejgera@gmail.com> * Fix doc formatting Signed-off-by: Matej Gera <matejgera@gmail.com> * Upgrade OTEL to 1.3.0 Signed-off-by: Matej Gera <matejgera@gmail.com> * Wrap bridge tracer to make propagation work - Currently, bridge tracer supports only HTTP headers as a carrier.However, our instrumentation e.g. for gRPC uses metatada.MD as a carrier instead, breaking the propagatin. This fix works around it by 'converting' the carrier to HTTP header. See code docs for details. Signed-off-by: Matej Gera <matejgera@gmail.com> * Remove leftover go.mod replace Signed-off-by: Matej Gera <matejgera@gmail.com> * Update version; fix constants naming Signed-off-by: Matej Gera <matejgera@gmail.com>
- Loading branch information
Showing
13 changed files
with
529 additions
and
190 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.