Class: Sbmt::KafkaProducer::Instrumentation::TracingMiddleware
- Inherits:
-
WaterDrop::Middleware
- Object
- WaterDrop::Middleware
- Sbmt::KafkaProducer::Instrumentation::TracingMiddleware
- Defined in:
- lib/sbmt/kafka_producer/instrumentation/tracing_middleware.rb
Instance Method Summary collapse
-
#initialize ⇒ TracingMiddleware
constructor
A new instance of TracingMiddleware.
Constructor Details
#initialize ⇒ TracingMiddleware
Returns a new instance of TracingMiddleware.
7 8 9 10 11 |
# File 'lib/sbmt/kafka_producer/instrumentation/tracing_middleware.rb', line 7 def initialize super append(OpenTelemetryTracer.new) if defined?(OpenTelemetryTracer) end |