Fix IgnoredTypesConfigurer extension example
MODIFY
examples/extension/src/main/java/com/example/javaagent/DemoIgnoredTypesConfigurer.java
examples/extension/src/main/java/com/example/javaagent/DemoIgnoredTypesConfigurer.java
package com.example.javaagent;
import com.google.auto.service.AutoService;
-import io.opentelemetry.instrumentation.api.config.Config;
import io.opentelemetry.javaagent.extension.ignore.IgnoredTypesBuilder;
import io.opentelemetry.javaagent.extension.ignore.IgnoredTypesConfigurer;
+import io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties;
/**
* Custom {@link IgnoredTypesConfigurer} which exists currently only to verify correct shading.
@@ -19,5 +19,5 @@ import io.opentelemetry.javaagent.extension.ignore.IgnoredTypesConfigurer;
public class DemoIgnoredTypesConfigurer implements IgnoredTypesConfigurer {
@Override
- public void configure(Config config, IgnoredTypesBuilder builder) {}
+ public void configure(IgnoredTypesBuilder builder, ConfigProperties config) {}
}

Fix IgnoredTypesConfigurer extension example (#6358)