(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |