1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-04 09:43:23 +02:00

Add caveat about installing opencensus bridge (#1983)

This commit is contained in:
David Ashpole 2021-06-09 12:50:39 -04:00 committed by GitHub
parent 741cb9a3df
commit a113856a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,10 @@
The OpenCensus Bridge helps facilitate the migration of an application from OpenCensus to OpenTelemetry. The OpenCensus Bridge helps facilitate the migration of an application from OpenCensus to OpenTelemetry.
## Caveat about OpenCensus
Installing a metric or tracing bridge will cause OpenCensus telemetry to be exported by OpenTelemetry exporters. Since OpenCensus telemetry uses globals, installing a bridge will result in telemetry collection from _all_ libraries that use OpenCensus, including some you may not expect. For example ([#1928](https://github.com/open-telemetry/opentelemetry-go/issues/1928)), if a client library generates traces with OpenCensus, installing the bridge will cause those traces to be exported by OpenTelemetry.
## Tracing ## Tracing
### The Problem: Mixing OpenCensus and OpenTelemetry libraries ### The Problem: Mixing OpenCensus and OpenTelemetry libraries