MicrometerHelpers
Shared helpers for building Micrometer observations that mirror the spans produced by
sdk-interceptor-opentelemetry: same span names and the same attribute set (
restate.invocation.id, restate.invocation.target, restate.run.name).
Properties
Functions
Link copied to clipboard
Build a ReceiverContext wrapping the attempt headers for W3C / B3 extraction.
Link copied to clipboard
open fun startHandlerObservation(registry: ObservationRegistry, recvCtx: ReceiverContext<HeadersAccessor>, request: HandlerRequest): Observation
Link copied to clipboard
open fun startRunObservation(registry: ObservationRegistry, @Nullable runName: @Nullable String): Observation