Class KafkaInstrumenterFactory


  • public final class KafkaInstrumenterFactory
    extends Object
    • Method Detail

      • createProducerInstrumenter

        public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<org.apache.kafka.clients.producer.ProducerRecord<?,​?>,​Void> createProducerInstrumenter​(String instrumentationName)
      • createProducerInstrumenter

        public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<org.apache.kafka.clients.producer.ProducerRecord<?,​?>,​Void> createProducerInstrumenter​(String instrumentationName,
                                                                                                                                                                                        io.opentelemetry.api.OpenTelemetry openTelemetry,
                                                                                                                                                                                        Iterable<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<org.apache.kafka.clients.producer.ProducerRecord<?,​?>,​Void>> extractors)
      • createConsumerReceiveInstrumenter

        public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<ReceivedRecords,​Void> createConsumerReceiveInstrumenter​(String instrumentationName)
      • createConsumerReceiveInstrumenter

        public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<ReceivedRecords,​Void> createConsumerReceiveInstrumenter​(String instrumentationName,
                                                                                                                                                   io.opentelemetry.api.OpenTelemetry openTelemetry,
                                                                                                                                                   Iterable<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<ReceivedRecords,​Void>> extractors)
      • createConsumerProcessInstrumenter

        public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<org.apache.kafka.clients.consumer.ConsumerRecord<?,​?>,​Void> createConsumerProcessInstrumenter​(String instrumentationName)
      • createConsumerOperationInstrumenter

        public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<org.apache.kafka.clients.consumer.ConsumerRecord<?,​?>,​Void> createConsumerOperationInstrumenter​(String instrumentationName,
                                                                                                                                                                                                 io.opentelemetry.api.OpenTelemetry openTelemetry,
                                                                                                                                                                                                 io.opentelemetry.instrumentation.api.instrumenter.messaging.MessageOperation operation,
                                                                                                                                                                                                 Iterable<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<org.apache.kafka.clients.consumer.ConsumerRecord<?,​?>,​Void>> extractors)