Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Unreleased

* Deprecate `MetricProducer.opencensus` and `OpenCensusMetricProducer`,
following the deprecation of OpenCensus compatibility in the
specification
([#655](https://github.com/open-telemetry/opentelemetry-configuration/pull/655))

## v1.1.0 - 2026-06-05

### Schema
Expand Down
7 changes: 5 additions & 2 deletions opentelemetry_configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,8 @@
"properties": {
"opencensus": {
"$ref": "#/$defs/OpenCensusMetricProducer",
"description": "Configure metric producer to be opencensus.\nIf omitted, ignore.\n"
"deprecated": true,
"description": "Configure metric producer to be opencensus.\n\n**Deprecated** as of June 2026. The OpenCensus compatibility\nspecification it relies on was deprecated in\nhttps://github.com/open-telemetry/opentelemetry-specification/pull/5138.\nSDKs MAY continue to support this entry for backwards compatibility;\nnew configurations SHOULD NOT use it.\nIf omitted, ignore.\n"
}
}
},
Expand Down Expand Up @@ -1718,7 +1719,9 @@
"object",
"null"
],
"additionalProperties": false
"additionalProperties": false,
"deprecated": true,
"description": "**Deprecated** as of June 2026. The OpenCensus compatibility specification\nit relies on was deprecated in\nhttps://github.com/open-telemetry/opentelemetry-specification/pull/5138.\nSee also the\n[OpenCensus sunset announcement](https://opentelemetry.io/blog/2023/sunsetting-opencensus/).\n"
},
"OtlpGrpcExporter": {
"type": [
Expand Down
9 changes: 6 additions & 3 deletions schema-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ No snippets.

| Property | Type | Required? | Default and Null Behavior | Constraints | Description |
|---|---|---|---|---|---|
| `opencensus` | [`OpenCensusMetricProducer`](#opencensusmetricproducer) | `false` | If omitted, ignore. | No constraints. | Configure metric producer to be opencensus. |
| `opencensus` | [`OpenCensusMetricProducer`](#opencensusmetricproducer) | `false` | If omitted, ignore. | No constraints. | Configure metric producer to be opencensus.<br><br>**Deprecated** as of June 2026. The OpenCensus compatibility<br>specification it relies on was deprecated in<br>https://github.com/open-telemetry/opentelemetry-specification/pull/5138.<br>SDKs MAY continue to support this entry for backwards compatibility;<br>new configurations SHOULD NOT use it.<br> |

<details>
<summary>Language support status</summary>
Expand Down Expand Up @@ -1890,7 +1890,8 @@ No snippets.
"properties": {
"opencensus": {
"$ref": "#/$defs/OpenCensusMetricProducer",
"description": "Configure metric producer to be opencensus.\nIf omitted, ignore.\n"
"deprecated": true,
"description": "Configure metric producer to be opencensus.\n\n**Deprecated** as of June 2026. The OpenCensus compatibility\nspecification it relies on was deprecated in\nhttps://github.com/open-telemetry/opentelemetry-specification/pull/5138.\nSDKs MAY continue to support this entry for backwards compatibility;\nnew configurations SHOULD NOT use it.\nIf omitted, ignore.\n"
}
}
}</pre>
Expand Down Expand Up @@ -2026,7 +2027,9 @@ No snippets.
"object",
"null"
],
"additionalProperties": false
"additionalProperties": false,
"deprecated": true,
"description": "**Deprecated** as of June 2026. The OpenCensus compatibility specification\nit relies on was deprecated in\nhttps://github.com/open-telemetry/opentelemetry-specification/pull/5138.\nSee also the\n[OpenCensus sunset announcement](https://opentelemetry.io/blog/2023/sunsetting-opencensus/).\n"
}</pre>
</details>

Expand Down
17 changes: 16 additions & 1 deletion schema/meter_provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,29 @@ $defs:
properties:
opencensus:
$ref: "#/$defs/OpenCensusMetricProducer"
description: Configure metric producer to be opencensus.
deprecated: true
description: |
Configure metric producer to be opencensus.

**Deprecated** as of June 2026. The OpenCensus compatibility
specification it relies on was deprecated in
https://github.com/open-telemetry/opentelemetry-specification/pull/5138.
SDKs MAY continue to support this entry for backwards compatibility;
new configurations SHOULD NOT use it.
defaultBehavior: ignore
isSdkExtensionPlugin: true
OpenCensusMetricProducer:
type:
- object
- "null"
additionalProperties: false
deprecated: true
description: |
**Deprecated** as of June 2026. The OpenCensus compatibility specification
it relies on was deprecated in
https://github.com/open-telemetry/opentelemetry-specification/pull/5138.
See also the
[OpenCensus sunset announcement](https://opentelemetry.io/blog/2023/sunsetting-opencensus/).
ExperimentalPrometheusMetricExporter:
type:
- object
Expand Down
Loading