Skip to content

Drop-in support for opencensus tracing support in LabKit

Andrew Newdigate requested to merge an-labkit-opencensus into master

This change adds drop-in opencensus tracing support for Labkit.

Why would we want this?

  1. Having distributed tracing support on GitLab.com would allow us to diagnose many errors far quicker, but we have yet to enable it as it's been difficult to schedule the work to setup a Jaeger instance: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6965. Using OpenCensus means we can use Google Cloud Stackdriver Tracing (and many other implementations) until we stand up our own infrastructure. Stackdriver does not support opentracing without extra moving parts.

  2. Supporting interfaces other than just opentracing proves that Labkit will be ready to drop in OpenTelemetry when that arrives.

cc @abrandl @joshlambert @dhershkovitch

Edited by Andrew Newdigate

Merge request reports