Repository navigation
Description
Problem Description
The OpenTelemetry collector (otel/opentelemetry-collector-contrib:0.163.2, chart opentelemetry-collector 0.178.3) logs a deprecation warning at start for the processor name that k8s/otel/values.yaml uses. The contrib project renamed the component type deltatocumulative to delta_to_cumulative and keeps the old name as an alias. When a later collector version removes the alias, the collector does not start, and all metrics, spans and logs of the OTLP path stop.
Reproduction Steps
- Render
k8s/otel/values.yamlwithhelm template otel-collector opentelemetry-collector --version 0.178.3. - Start the image
otel/opentelemetry-collector-contrib:0.163.2with a config that has thedeltatocumulativeprocessor. - Read the start log.
Expected vs Actual Behavior
Expected: the collector starts with no deprecation warning, and a collector upgrade cannot break the metrics pipeline on a removed alias.
Actual: warn builders/builders.go:40 "deltatocumulative" alias is deprecated; use "delta_to_cumulative" instead.
Proposed solution
Rename the processor in k8s/otel/values.yaml (the processor key and the metrics pipeline) to delta_to_cumulative. Change the tests and documents that name the key (tests/telemetry/test_telemetry_instruments.py, tests/commands/k8s/, docs/TELEMETRY.md and its generator, k8s/README.md, the specs command-telemetry and monitoring-collectors). Prove the config with validate --config of the same image. The rename changes the collector ConfigMap, so the collector rolls out once at the merge, and each devops-cli series gets one counter reset.
Environment Diagnostics
Found while I reviewed #5338 (pull request #5358): a local container of the contrib image 0.163.2 ran the metrics pipeline of k8s/otel/values.yaml. The live collector has the same config.
Alternatives check of 2026-11-17: in-use.
The repository already uses this tool.
Tool: open-telemetry/opentelemetry-collector-contrib (https://github.com/open-telemetry/opentelemetry-collector-contrib), Apache-2.0, last activity 2026-11-17, maintained.
Proposed design
Problem statement
Rename the processor key and the metrics pipeline to delta_to_cumulative in k8s/otel/values.yaml. The collector logs a deprecation warning for the old deltatocumulative name. The old name is an alias, and a later collector release can remove it. That removal stops the OTLP metrics, spans and logs pipeline. Update the tests, documents and specs that name the old key. A person merges the pull request; the collector then rolls out once and each devops-cli series resets once.
Acceptance criteria
Requirement: Collector uses the new processor name
The collector configuration in k8s/otel/values.yaml SHALL use delta_to_cumulative as the processor key and in the metrics pipeline.
Scenario: Start log has no deprecated alias warning
- WHEN the contributor starts
otel/opentelemetry-collector-contrib:0.163.2with the configuration rendered fromk8s/otel/values.yaml - THEN the start log contains no
"deltatocumulative" alias is deprecatedwarning and the collector starts.
Requirement: Rendered config validates with the new name
The rendered collector configuration MUST pass validate --config of otel/opentelemetry-collector-contrib:0.163.2.
Scenario: Validate command exits zero
- WHEN the contributor renders the chart and runs
validate --configofotel/opentelemetry-collector-contrib:0.163.2on the rendered configuration - THEN the command exits 0 and reports no unknown processor or pipeline error.
Requirement: Kubernetes checks pass
The Kubernetes checks SHALL pass with the renamed collector values.
Scenario: Kubernetes check exits zero
- WHEN the contributor runs
uv run devops ci --check --only k8s - THEN the check exits 0 and reports no invalid manifest.
Requirement: Telemetry tests expect the new key
The telemetry and Kubernetes command tests SHALL expect the delta_to_cumulative key.
Scenario: Telemetry test files pass
- WHEN the contributor runs
uv run pytest tests/telemetry/test_telemetry_instruments.py tests/commands/k8s -q - THEN the test run exits 0 and reports no failure.
Requirement: Documents name the new processor
The telemetry document, its generator and k8s/README.md SHALL name delta_to_cumulative.
Scenario: Documentation check passes
- WHEN the contributor runs
uv run devops ci --check --only docs - THEN the check exits 0 and reports no generated document drift.
Requirement: Specs name the new processor
The command-telemetry and monitoring-collectors specs SHALL name delta_to_cumulative.
Scenario: OpenSpec validation passes
- WHEN the contributor runs
uv run openspec validate --all - THEN the command exits 0 and reports both specs as valid.
Existing Tool Considered
The alternatives check in the issue body records in-use for open-telemetry/opentelemetry-collector-contrib (Apache-2.0, maintained), because the repository already uses it. That check lists what the tool covers and lacks. The proposal does the repository work it lacks. It renames the processor key and metrics pipeline. It updates the tests and documents. It validates the rendered config with the same image.
Key questions
- Which processor name should
k8s/otel/values.yamluse?: Usedelta_to_cumulative. The contrib project renameddeltatocumulativeand keeps the old name only as a deprecated alias. (best practice) [sources: k8s/otel/values.yaml, tests/telemetry/test_telemetry_instruments.py]- Rejected: Keep
deltatocumulative. The old name logs a deprecation warning and stops the pipeline when a later collector removes the alias. - Chosen: Use
delta_to_cumulative. This is the current upstream name, and the pinned image accepts it.
- Rejected: Keep
- Should the old processor key stay beside the new key?: No. Keep one processor key,
delta_to_cumulative, and list it in the metrics pipeline. A second old key keeps the deprecation warning. It also adds an unused processor. (best practice) [sources: k8s/otel/values.yaml]- Rejected: Keep both keys. The old alias still warns, and the pipeline uses one processor.
- Chosen: Rename the one key. This removes the warning and the future break.
- Should the tests and documents change in the same pull request?: Yes. The issue requires the tests and documents to name the new key. A separate pull request leaves checks and docs inconsistent. (best practice) [sources: k8s/otel/values.yaml, tests/telemetry/test_telemetry_instruments.py, src/devops_cli/docs/generator.py, docs/TELEMETRY.md, k8s/README.md, openspec/specs/command-telemetry/spec.md, openspec/specs/monitoring-collectors/spec.md]
- Chosen: Same pull request. This keeps the rename atomic and the checks pass.
- Rejected: Follow-up pull request. The old name remains in tests and docs after the config changes.
- How should the change prove the rendered collector configuration?: Render the chart, then run
validate --configofotel/opentelemetry-collector-contrib:0.163.2on the rendered configuration. Start the same image and confirm that the deprecation warning is gone. (best practice) [sources: k8s/otel/values.yaml]- Rejected: Only run unit tests. Unit tests do not validate the collector configuration.
- Chosen: Run
validate --configand a start log check. This proves the pinned image accepts the new name and emits no alias warning.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 13, 2026
Both modify the OTel collector config in k8s/otel/values.yaml, but #4684 fixes the remote_write_version setting while this candidate renames a deprecated processor key.devops-cli-service commentedon Nov 17, 2026
Alternatives check: in-use
Reason: The searches returned the contrib distribution the issue runs (
otel/opentelemetry-collector-contrib), and the repository facts confirm it is the open, maintained project that ships thedelta_to_cumulativeprocessor under the new name while keepingdeltatocumulativeas an alias. So the tool the issue already uses covers the need, and only the repository-side rename of the key, pipeline, tests and docs is left; no other tool or library is required.The repository already uses this tool.
Tool: open-telemetry/opentelemetry-collector-contrib (https://github.com/open-telemetry/opentelemetry-collector-contrib)
Covers:
delta_to_cumulativeprocessor that converts delta temporality to cumulative, which is the component the values.yaml config needs.otel/opentelemetry-collector-contrib:0.163.2), so the new name needs no new dependency or version bump.deltatocumulativename as an alias today, so the current config keeps working until the rename lands.Lacks:
k8s/otel/values.yamlis repository work, not something the tool does.tests/telemetry/test_telemetry_instruments.py,tests/commands/k8s/,docs/TELEMETRY.mdand its generator,k8s/README.mdand the two specs are repository work.Tools considered:
Searches run:
Sources:
Checked on 2026-11-17. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 17, 2026
Status set to Ready at 666a03f (see proposed design in issue body).
devops-cli-service commentedon Nov 18, 2026
Released in v0.177.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.177.0
devops-cli-service commentedon Nov 18, 2026
Live since 2026-11-18 16:28 UTC