TraceCommandInstrumentation

class TraceCommandInstrumentation(instrumenter: Instrumenter<ServerCommandExchange<*>, Unit> = AggregateInstrumenter.INSTRUMENTER) : Traced, CommandInstrumentation

Traces the handling of each command with one consumer span named <aggregate>.<command>, as the command filter TraceAggregateFilter did before 9.3.0: same instrumenter, span name and attributes, around the whole command pipeline.

Constructors

Link copied to clipboard
constructor(instrumenter: Instrumenter<ServerCommandExchange<*>, Unit> = AggregateInstrumenter.INSTRUMENTER)

Functions

Link copied to clipboard
open override fun around(exchange: ServerCommandExchange<*>, handling: Mono<Void>): Mono<Void>