Do not reference `AkkaHttpClientTransformFlow` in instrumentation code

to avoid class loader problems
This commit is contained in:
Nikolay Martynov 2018-07-21 23:55:45 -04:00
parent 35b980ea89
commit 642b862c13
1 changed files with 6 additions and 4 deletions

View File

@ -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",
};
}