Skip to content

Provide OpenTelemetry Resource as a bean #36544

Closed
@mhalbritter

Description

@mhalbritter

Our current OpenTelemetryAutoConfiguration uses the io.opentelemetry.sdk.resources.Resource inside the SdkTracerProvider bean method. To make it easier to use this resource for other OpenTelemetry components, we should expose it as a bean.

Additionally, we should add some properties to let users configure resource attributes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions