Skip to content

How to use AutoConfigurationCustomizerProvider SPI with otel.experimental.config.file? #7425

@Praytic

Description

@Praytic

I am using OTeL agent (version = 2.13.3) with my custom extension instrumentation which is basically one class that inherits AutoConfigurationCustomizerProvider. I connect it via OTEL_JAVAAGENT_EXTENSIONS environment variable and it is called correctly by ExtensionClassLoader. I also use opentelemetry-configuration by passing OTEL_EXPERIMENTAL_CONFIG_FILE env variable. When my metrics are exported my customizer is not called. I don't know how how my exporter is created because it's not in the classpath: io.opentelemetry.exporter.internal.grpc.GrpcExporter. Question is: How do I need to tweak config file or my customizer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions