Skip to content

Commit 74888c4

Browse files
author
Krishna Chaitanya KC
committed
Blog post for OpenCensus compatibility deprecation
1 parent b870678 commit 74888c4

1 file changed

Lines changed: 84 additions & 0 deletions

File tree

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: Deprecating OpenCensus compatibility requirements
3+
linkTitle: Deprecating OpenCensus compatibility
4+
date: 2026-06-23
5+
author:
6+
'[Krishna Chaitanya Kalluri](https://github.com/Krishnachaitanyakc) (Meta)'
7+
issue: https://github.com/open-telemetry/opentelemetry-specification/pull/5138
8+
sig: Specification
9+
cSpell:ignore: Chaitanya Kalluri Krishna
10+
---
11+
12+
On June 12, 2026, the OpenTelemetry Specification project merged
13+
[PR #5138](https://github.com/open-telemetry/opentelemetry-specification/pull/5138),
14+
deprecating OpenCensus compatibility requirements in the specification.
15+
16+
This change updates the specification to match where the ecosystem already is:
17+
[OpenCensus has been archived since July 31, 2023](/blog/2023/sunsetting-opencensus/),
18+
and the OpenTelemetry shims for OpenCensus have provided a stable migration
19+
bridge for more than three years.
20+
21+
This is a deprecation of specification requirements, not an immediate removal of
22+
compatibility material and not a requirement to remove existing shim artifacts
23+
right away.
24+
25+
## What is changing?
26+
27+
- OpenCensus compatibility requirements in the specification are deprecated.
28+
- Implementing new OpenCensus compatibility is no longer required for new SDKs
29+
or implementations.
30+
- Existing OpenCensus shims MAY continue to be supported for backwards
31+
compatibility during the deprecation period.
32+
- New work should target native OpenTelemetry APIs, SDKs, and OTLP-based
33+
workflows instead of introducing new OpenCensus dependencies.
34+
35+
## Why now?
36+
37+
OpenCensus was archived in July 2023, and ecosystem adoption has converged
38+
around native OpenTelemetry APIs and OTLP-based workflows. The project also has
39+
precedent for this staged approach from prior deprecation work, including the
40+
[2023 sunset of OpenCensus repositories](/blog/2023/sunsetting-opencensus/), the
41+
[Zipkin exporter deprecation](/blog/2025/deprecating-zipkin-exporters/)
42+
([spec PR #4715](https://github.com/open-telemetry/opentelemetry-specification/pull/4715)),
43+
and the
44+
[OpenTracing compatibility deprecation](/blog/2026/deprecating-opentracing-compatibility/)
45+
([spec PR #4938](https://github.com/open-telemetry/opentelemetry-specification/pull/4938)).
46+
47+
## Timeline and policy
48+
49+
- **Specification deprecation**: effective as of **June 2026**.
50+
- **Earliest specification removal**: **no earlier than June 2027**, as stated
51+
in the merged spec text.
52+
- **Shim support**: existing OpenCensus shims will continue to receive
53+
maintenance for at least one year, following
54+
[OpenTelemetry's SDK stability guarantees](/docs/specs/otel/versioning-and-stability/#sdk-support).
55+
56+
## What should users do?
57+
58+
If you still depend on an OpenCensus shim, now is the right time to plan
59+
migration to native OpenTelemetry APIs and SDKs.
60+
61+
Start by reviewing:
62+
63+
- [How to migrate to OpenTelemetry](/blog/2023/sunsetting-opencensus/#how-to-migrate-to-opentelemetry)
64+
from the 2023 sunset announcement.
65+
- The
66+
[OpenCensus Compatibility specification — Migration path](/docs/specs/otel/compatibility/opencensus/#migration-path).
67+
- The language-specific shims:
68+
[Go](https://github.com/open-telemetry/opentelemetry-go/tree/928d4f3726bf08e5be046752ebae169ad9f9376a/bridge/opencensus),
69+
[Java](https://github.com/open-telemetry/opentelemetry-java/tree/a5cd87f127cd8d4e5845bc1e29360f815a6f01c8/opencensus-shim),
70+
[JavaScript](https://github.com/open-telemetry/opentelemetry-js/tree/13a035bc695996cf4aec885fef7b9866f48bc555/experimental/packages/shim-opencensus),
71+
and
72+
[Python](https://github.com/open-telemetry/opentelemetry-python/tree/51c1d1888c4045b8296e088fa307738685321bf3/shim/opentelemetry-opencensus-shim).
73+
74+
## Closing
75+
76+
Deprecation here does not mean removing OpenCensus compatibility material
77+
immediately. It is about codifying that new SDKs and instrumentations should
78+
target native OpenTelemetry APIs and OTLP, and aligning the specification with
79+
where the ecosystem already is.
80+
81+
Please share feedback or migration blockers on
82+
[spec PR #5138](https://github.com/open-telemetry/opentelemetry-specification/pull/5138)
83+
or the
84+
[originating issue #5109](https://github.com/open-telemetry/opentelemetry-specification/issues/5109).

0 commit comments

Comments
 (0)