Skip to content

use InstrumentationConfig where possible #14192

@zeitlinger

Description

@zeitlinger

Blocked by open-telemetry/opentelemetry-java#7495

Some places use system properties directly instead of the InstrumentationConfig, which is available with a static getter

This is unexpected when using the declarative config file.

Examples of wrong usage:

Note: Double check that InstrumentationConfig is really initialized before.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestneeds triageNew issue that requires triage

Type

No type

Projects

Status

Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions