Skip to content

Make muzzle reference creation package(s) configurable #1395

@pavolloffay

Description

@pavolloffay

The instrumentationMuzzle is created only for instrumenters in io.opentelemetry.instrumentation.

private static final String REFERENCE_CREATION_PACKAGE = "io.opentelemetry.instrumentation.";

In my custom java agent build I am adding instrumentations in a different package and these instrumentations should have also instrumentationMuzzle properly created.

The package prefixes could be configured via a system property which would be set at build time. I don't think we need an SPI for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions