Class WebComponentProviderInstrumentation
java.lang.Object
com.vaadin.extension.instrumentation.communication.WebComponentProviderInstrumentation
- All Implemented Interfaces:
io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
public class WebComponentProviderInstrumentation
extends Object
implements io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
Instruments WebComponentProvider to add a span when supplying the script/html
of the web component matching requested tag.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.bytebuddy.matcher.ElementMatcher<ClassLoader>voidtransform(io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer transformer) net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription>
-
Constructor Details
-
WebComponentProviderInstrumentation
public WebComponentProviderInstrumentation()
-
-
Method Details
-
classLoaderOptimization
- Specified by:
classLoaderOptimizationin interfaceio.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-
typeMatcher
public net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription> typeMatcher()- Specified by:
typeMatcherin interfaceio.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-
transform
public void transform(io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer transformer) - Specified by:
transformin interfaceio.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
-