Skip to content

Profiler is not initialized when using spring-boot or spring with OTEL Agent #4855

@lbloder

Description

@lbloder

Description

Issue description

Due to the way classes are loaded in spring-boot or spring the OTEL Agent is not able to resolve the async-profiler classes needed to initialize profiling. This is only happening when the OTEL Agent is running in AUTO_INIT mode.

Solution Brainstorm

Add a @Configuration class that takes care of initializing the profiler if it has not been initialized yet.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions