Object

kamon.instrumentation.kafka.client

KafkaInstrumentation

Related Doc: package client

Permalink

object KafkaInstrumentation

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaInstrumentation
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Settings(continueTraceOnConsumer: Boolean, useDelayedSpans: Boolean) extends Product with Serializable

    Permalink
  2. implicit final class Syntax extends AnyVal

    Permalink

    Syntactical sugar to extract a Context from a ConsumerRecord instance.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Keys

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def consumerSpan(record: ConsumerRecord[_, _], operationName: String): Span

    Permalink

    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.

  8. def consumerSpan(record: ConsumerRecord[_, _]): Span

    Permalink

    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.

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def extractContext[K, V](consumerRecord: ConsumerRecord[K, V]): Context

    Permalink
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def runWithConsumerSpan[T](record: ConsumerRecord[_, _], operationName: String, finishSpan: Boolean)(f: ⇒ T): T

    Permalink

    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.

  20. def runWithConsumerSpan[T](record: ConsumerRecord[_, _], operationName: String)(f: ⇒ T): T

    Permalink

    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.

  21. def runWithConsumerSpan[T](record: ConsumerRecord[_, _])(f: ⇒ T): T

    Permalink

    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.

  22. def settings: Settings

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped