Liking cljdoc? Tell your friends :D
Clojure only.

sqs-consumer.opentracing


with-tracingclj

(with-tracing process-fn span-context-attribute-name)

Add a trace to the queue. Propagates context from the :span-ctx attribute if it exists.

If the queue messages are from SNS with RawMessageDelivery set to true should be placed after message decoding (e.g. sqs-consumer.utils/decode-sns-encoded-json) so any span context can be propagated from message attributes. Otherwise can be placed earlier.

Add a trace to the queue. Propagates context from the :span-ctx attribute if it exists.

If the queue messages are from SNS with RawMessageDelivery set to true should be placed after message decoding (e.g. sqs-consumer.utils/decode-sns-encoded-json)
so any span context can be propagated from message attributes.
Otherwise can be placed earlier.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close