Skip to content

TimerTaskInstrumentation instruments proxies #2618

@felixbarny

Description

@felixbarny

The type matcher of the TimerTaskInstrumentation is missing a and(not(co.elastic.apm.agent.bci.bytebuddy.CustomElementMatchers.isProxy())) clause:

public ElementMatcher<? super TypeDescription> getTypeMatcher() {
return isInAnyPackage(applicationPackages, ElementMatchers.<NamedElement>none())
.and(hasSuperClass(named("java.util.TimerTask")));
}

Reported in the forum.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions