Skip to content

Allow plugins to override global excludes #2200

Open
@SylvainJuge

Description

@SylvainJuge

Currently, the agent have a global static list of classes that are excluded from instrumentation.
This list is maintained in co.elastic.apm.agent.bci.ElasticApmAgent#getAgentBuilder method.

Also, there is the internal classes_excluded_from_instrumentation_default configuration that plugins can't modify.

While simple and effective, this implementation has the following disadvantages:

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