You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the spans created by these clients are for OpenCensus. However,
208
-
OpenCensus users are urged to transition to OpenTelemetry as soon as possible,
209
-
as explained in the next section. OpenTelemetry users can opt-in to experimental
210
-
OpenTelemetry support via an environment variable, as described below.
208
+
Currently, the spans created by these clients are for OpenTelemetry. OpenCensus
209
+
users are urged to transition to OpenTelemetry as soon as possible, as explained
210
+
in the next section. OpenCensus users can still opt-in to the deprecated
211
+
OpenCensus support via an environment variable, as described below.
211
212
212
213
#### OpenCensus
213
214
214
215
**Warning: The OpenCensus project is obsolete and was archived on July 31st,
215
216
2023.** This means that any security vulnerabilities that are found will not be
216
-
patched. We recommend that you begin migrating to OpenCensus tracing to
217
-
OpenTelemetry, the successor project.
217
+
patched. We recommend that you migrate from OpenCensus tracing to
218
+
OpenTelemetry, the successor project. The default experimental tracing support
219
+
for OpenCensus is now deprecated in the Google Cloud client libraries for Go.
218
220
219
221
Using the [OpenTelemetry-Go - OpenCensus Bridge](https://pkg.go.dev/go.opentelemetry.io/otel/bridge/opencensus), you can immediately begin exporting your traces with OpenTelemetry, even while
220
222
dependencies of your application remain instrumented with OpenCensus. If you do
// SetOpenTelemetryTracingEnabledField programmatically sets the value provided by GOOGLE_API_GO_EXPERIMENTAL_TELEMETRY_PLATFORM_TRACING for the purpose of unit testing.
64
-
// Do not invoke it directly. Intended for use only in unit tests. Restore original value after each test.
68
+
// SetOpenTelemetryTracingEnabledField programmatically sets the value provided
69
+
// by GOOGLE_API_GO_EXPERIMENTAL_TELEMETRY_PLATFORM_TRACING for the purpose of
70
+
// unit testing. Do not invoke it directly. Intended for use only in unit tests.
71
+
// Restore original value after each test.
72
+
//
73
+
// The default experimental tracing support for OpenCensus is now deprecated in
0 commit comments