Skip to content
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

Tracing: Migrate Google Cloud (Stackdriver) client to OpenTelemetry #4838

Merged
merged 12 commits into from Mar 17, 2022

Commits on Nov 7, 2021

  1. 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>
    matej-g committed Nov 7, 2021
    Copy the full SHA
    1671d8d View commit details
    Browse the repository at this point in the history
  2. 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>
    matej-g committed Nov 7, 2021
    Copy the full SHA
    7f296bc View commit details
    Browse the repository at this point in the history
  3. 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>
    matej-g committed Nov 7, 2021
    Copy the full SHA
    6e30e79 View commit details
    Browse the repository at this point in the history
  4. Update documentation

    Signed-off-by: Matej Gera <matejgera@gmail.com>
    matej-g committed Nov 7, 2021
    Copy the full SHA
    fa5d04f View commit details
    Browse the repository at this point in the history
  5. Copyright file headers

    Signed-off-by: Matej Gera <matejgera@gmail.com>
    matej-g committed Nov 7, 2021
    Copy the full SHA
    1c56643 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2021

  1. Fix doc formatting

    Signed-off-by: Matej Gera <matejgera@gmail.com>
    matej-g committed Nov 8, 2021
    Copy the full SHA
    4a9d838 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. Copy the full SHA
    8f7b63b View commit details
    Browse the repository at this point in the history
  2. Upgrade OTEL to 1.3.0

    Signed-off-by: Matej Gera <matejgera@gmail.com>
    matej-g committed Dec 21, 2021
    Copy the full SHA
    99b2d44 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. 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>
    matej-g committed Jan 28, 2022
    Copy the full SHA
    f423f98 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0e33409 View commit details
    Browse the repository at this point in the history
  3. Remove leftover go.mod replace

    Signed-off-by: Matej Gera <matejgera@gmail.com>
    matej-g committed Jan 28, 2022
    Copy the full SHA
    f754549 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. Update version; fix constants naming

    Signed-off-by: Matej Gera <matejgera@gmail.com>
    matej-g committed Mar 17, 2022
    Copy the full SHA
    b8346a3 View commit details
    Browse the repository at this point in the history