Skip to content

AutoConfiguredOpenTelemetrySdk should not invoke old callbacks in declarative config mode #7469

@zeitlinger

Description

@zeitlinger

https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/src/main/java/io/opentelemetry/sdk/autoconfigure/AutoConfiguredOpenTelemetrySdkBuilder.java#L449-L456 is called even if declarative config is used.

The result of the call is discarded, except

  • that a properties customizer may set otel.experimental.config.file - but that's not a valid use case IMO
  • for side-effects - and that's a bug rather than a feature IMO

Metadata

Metadata

Assignees

Labels

Feature RequestSuggest an idea for this project

Type

No type

Projects

Status

Awaiting Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions