Skip to content

Spring Scheduled Task TraceGroup name wrong #12889

@varjasz

Description

@varjasz

Describe the bug

Spring @scheduled tasks trace group names are the same: 'OutcomeTrackingRunnable.run'.

Steps to reproduce

With Spring Boot 3.4 és Spring Framework 6.2.0 the @scheduled tasks trace group names are the same: 'OutcomeTrackingRunnable.run'.
With previous Spring versions the trace group names for @scheduled methods are: ClassName+methodName.

Expected behavior

Trace group names for @scheduled methods should be: ClassName+methodName.

Actual behavior

@scheduled tasks trace group names are the same: 'OutcomeTrackingRunnable.run'

Javaagent or library instrumentation version

java agent 2.10.0

Environment

JDK/OS: eclipse-temurin:21-jre-alpine
Spring Boot: 3.4.0
Spring Framework 6.2.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions