Skip to content

chore(collector): remove processors from default build - #2338

Open
wpessers wants to merge 6 commits into
open-telemetry:mainfrom
wpessers:chore/collector/remove-processors
Open

wpessers wants to merge 6 commits into
open-telemetry:mainfrom
wpessers:chore/collector/remove-processors

Conversation

@wpessers

@wpessers wpessers commented Jun 7, 2026

Copy link
Copy Markdown
Member

resolves #2272

A warning note will be added to the next release to notify this removal (deprecation notice was already added to previous release)

@wpessers
wpessers requested a review from a team as a code owner June 7, 2026 09:59

@wpessers wpessers left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed with @RaphaelManke a while back, we will be adding warning logs to make the deprecation clear to end users before merging this.

@serkan-ozal

Copy link
Copy Markdown
Member

@wpessers Did we add? Are we good to merge this one?

@github-project-automation github-project-automation Bot moved this from Todo to Need more Approval in Lambda Triage Sep 18, 2026
wpessers added a commit that referenced this pull request Oct 22, 2026
…gured (#2691)

* feat(collector): warn at startup when deprecated processors are configured

The attributes, resource, and span processors are deprecated in the default
collector layer build and will be removed in the next release (#2272, #2338).
Until now the deprecation was only documented in the README, so users with
those processors in their config got no runtime signal.

Add a confmap converter that logs a warning through the extension logger for
every configured processor of a deprecated type. It runs once at config
resolution and does not modify the config.

* chore(collector): link deprecation warning to the 0.23.0 tagged README
@github-actions github-actions Bot added the go Pull requests that update Go code label Nov 5, 2026
@thompson-tomo thompson-tomo moved this from Need more Approval to Ready to merge in Lambda Triage Nov 5, 2026
@thompson-tomo

Copy link
Copy Markdown
Contributor

@tylerbenson this one should also be good to merge based on the warning having been already added & released https://github.com/open-telemetry/opentelemetry-lambda/blob/main/collector/internal/confmap/converter/deprecatedprocessorconverter/converter.go

@thompson-tomo

Copy link
Copy Markdown
Contributor

@wpessers should we actually remove the components from the build aka go.mod?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code

Projects

Status: Ready to merge

Development

Successfully merging this pull request may close these issues.

Collector: Remove attributes, resource, span processors from default build

4 participants