object KafkaInstrumentation
- Alphabetic
- By Inheritance
- KafkaInstrumentation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def consumerSpan(record: ConsumerRecord[_, _], operationName: String): Span
Creates a new consumer Span for the provided consumer record.
Creates a new consumer Span for the provided consumer record. The relationship between the trace on the producer side of the topic and the new consumer Span is controlled by the "continue-trace-on-consumer" setting:
- When enabled (default), the new consumer Span will be created as a child Span of the producer's Span. Both Spans will be part of the same trace.
- When disabled, the new consumer Span will start a new trace, but will have a link to the Span on the producer side.
NOTE: Continuing or linking Spans to the trace on the producer side is only possible when automatic instrumentation is enabled. If you are running your application without Kanela then you will only get a simple consumer Span, without any connection to the original trace.
- def consumerSpan(record: ConsumerRecord[_, _]): Span
Creates a new consumer Span for the provided consumer record.
Creates a new consumer Span for the provided consumer record. The relationship between the trace on the producer side of the topic and the new consumer Span is controlled by the "continue-trace-on-consumer" setting:
- When enabled (default), the new consumer Span will be created as a child Span of the producer's Span. Both Spans will be part of the same trace.
- When disabled, the new consumer Span will start a new trace, but will have a link to the Span on the producer side.
NOTE: Continuing or linking Spans to the trace on the producer side is only possible when automatic instrumentation is enabled. If you are running your application without Kanela then you will only get a simple consumer Span, without any connection to the original trace.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extractContext[K, V](consumerRecord: ConsumerRecord[K, V]): Context
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def runWithConsumerSpan[T](record: ConsumerRecord[_, _], operationName: String, finishSpan: Boolean)(f: => T): T
Creates a new consumer Span for the provided consumer record and sets it as the current Span while running the provided block of code.
Creates a new consumer Span for the provided consumer record and sets it as the current Span while running the provided block of code. This function can optionally finish the Span once the code block execution has finished.
The relationship between the trace on the producer side of the topic and the new consumer Span is controlled by the "continue-trace-on-consumer" setting:
- When enabled (default), the new consumer Span will be created as a child Span of the producer's Span. Both Spans will be part of the same trace.
- When disabled, the new consumer Span will start a new trace, but will have a link to the Span on the producer side.
NOTE: Continuing or linking Spans to the trace on the producer side is only possible when automatic instrumentation is enabled. If you are running your application without Kanela then you will only get a simple consumer Span, without any connection to the original trace.
- def runWithConsumerSpan[T](record: ConsumerRecord[_, _], operationName: String)(f: => T): T
Creates a new consumer Span for the provided consumer record and sets it as the current Span while running the provided block of code.
Creates a new consumer Span for the provided consumer record and sets it as the current Span while running the provided block of code. This function can optionally finish the Span once the code block execution has finished.
The relationship between the trace on the producer side of the topic and the new consumer Span is controlled by the "continue-trace-on-consumer" setting:
- When enabled (default), the new consumer Span will be created as a child Span of the producer's Span. Both Spans will be part of the same trace.
- When disabled, the new consumer Span will start a new trace, but will have a link to the Span on the producer side.
NOTE: Continuing or linking Spans to the trace on the producer side is only possible when automatic instrumentation is enabled. If you are running your application without Kanela then you will only get a simple consumer Span, without any connection to the original trace.
- def runWithConsumerSpan[T](record: ConsumerRecord[_, _])(f: => T): T
Creates a new consumer Span for the provided consumer record and sets it as the current Span while running the provided block of code.
Creates a new consumer Span for the provided consumer record and sets it as the current Span while running the provided block of code. This function can optionally finish the Span once the code block execution has finished.
The relationship between the trace on the producer side of the topic and the new consumer Span is controlled by the "continue-trace-on-consumer" setting:
- When enabled (default), the new consumer Span will be created as a child Span of the producer's Span. Both Spans will be part of the same trace.
- When disabled, the new consumer Span will start a new trace, but will have a link to the Span on the producer side.
NOTE: Continuing or linking Spans to the trace on the producer side is only possible when automatic instrumentation is enabled. If you are running your application without Kanela then you will only get a simple consumer Span, without any connection to the original trace.
- def settings: Settings
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object Keys