Fix IgnoredTypesConfigurer extension example
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) {}
}
