forked from thanos-io/thanos
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (t…
…hanos-io#4838) * Add migration utilities - Add method to create bridge tracer - Implement a sampler which enables us to force tracing Signed-off-by: Matej Gera <[email protected]> * 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 <[email protected]> * Adjust HTTP middleware - to ensure force tracing / populate trace ID header works for the bridge tracer as well Signed-off-by: Matej Gera <[email protected]> * Update documentation Signed-off-by: Matej Gera <[email protected]> * Copyright file headers Signed-off-by: Matej Gera <[email protected]> * Fix doc formatting Signed-off-by: Matej Gera <[email protected]> * Upgrade OTEL to 1.3.0 Signed-off-by: Matej Gera <[email protected]> * 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 <[email protected]> * Remove leftover go.mod replace Signed-off-by: Matej Gera <[email protected]> * Update version; fix constants naming Signed-off-by: Matej Gera <[email protected]>
- 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.