Class ServletOutputStreamInstrumentation

java.lang.Object
io.opentelemetry.javaagent.instrumentation.servlet.common.service.ServletOutputStreamInstrumentation
All Implemented Interfaces:
io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation

public class ServletOutputStreamInstrumentation extends Object implements io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
  • Constructor Details

    • ServletOutputStreamInstrumentation

      public ServletOutputStreamInstrumentation(String basePackageName, String writeBytesAndOffsetAdviceClassName, String writeBytesAdviceClassName, String writeIntAdviceClassName)
  • Method Details

    • classLoaderOptimization

      public net.bytebuddy.matcher.ElementMatcher<ClassLoader> classLoaderOptimization()
      Specified by:
      classLoaderOptimization in interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
    • typeMatcher

      public net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.type.TypeDescription> typeMatcher()
      Specified by:
      typeMatcher in interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation
    • transform

      public void transform(io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer transformer)
      Specified by:
      transform in interface io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation