MicrometerInterceptorFactory
class MicrometerInterceptorFactory(registry: ObservationRegistry) : HandlerInterceptor.Factory, RunInterceptor.Factory
Coroutine-safe Micrometer Observation interceptor factory for Kotlin handlers.
Spans produced through the Micrometer → tracing bridge mirror those emitted by sdk-interceptor-opentelemetry: attempt <target> for the handler and run (<name>) for each ctx.run, with restate.invocation.id, restate.invocation.target, and restate.run.name attributes.
For each invocation/run it opens an io.micrometer.observation.Observation, captures the resulting Micrometer io.micrometer.context.ContextSnapshot, and installs it as a kotlin.coroutines.CoroutineContext element so MDC / tracing / Reactor thread-locals are re-applied at every continuation.