Do not reference `AkkaHttpClientTransformFlow` in instrumentation code
to avoid class loader problems
@@ -54,10 +54,12 @@ public final class AkkaHttpClientInstrumentation extends Instrumenter.Default {
return new String[] {
AkkaHttpClientInstrumentation.class.getName() + "$OnCompleteHandler",
AkkaHttpClientInstrumentation.class.getName() + "$AkkaHttpHeaders",
- AkkaHttpClientTransformFlow.class.getName(),
- AkkaHttpClientTransformFlow.class.getName() + "$",
- AkkaHttpClientTransformFlow.class.getName() + "$$anonfun$transform$1",
- AkkaHttpClientTransformFlow.class.getName() + "$$anonfun$transform$2",
+ AkkaHttpClientInstrumentation.class.getPackage().getName() + ".AkkaHttpClientTransformFlow",
+ AkkaHttpClientInstrumentation.class.getPackage().getName() + ".AkkaHttpClientTransformFlow$",
+ AkkaHttpClientInstrumentation.class.getPackage().getName()
+ + ".AkkaHttpClientTransformFlow$$anonfun$transform$1",
+ AkkaHttpClientInstrumentation.class.getPackage().getName()
+ + ".AkkaHttpClientTransformFlow$$anonfun$transform$2",
};
}
