OpenTelemetryAMQPConnection
class OpenTelemetryAMQPConnection(delegate: AMQPConnection, tracer: Tracer, tracingConfig: TracingConfig = TracingConfig.default()) : AMQPConnection
OpenTelemetry-instrumented wrapper around AMQPConnection.
This class wraps an existing AMQP connection and provides automatic tracing for connection operations. All channels opened through this connection will automatically be wrapped with OpenTelemetryAMQPChannel.
Constructors
Link copied to clipboard
constructor(delegate: AMQPConnection, tracer: Tracer, tracingConfig: TracingConfig = TracingConfig.default())
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun AMQPConnection.withTracing(tracer: Tracer, tracingConfig: TracingConfig = TracingConfig.default()): AMQPConnection
Wraps an existing connection with OpenTelemetry instrumentation.