(add-event-processor scope event-processor)
Add Event Processor to the scope. event-processor is executed when tracing transaction finish or capture error event.
Add Event Processor to the scope. event-processor is executed when tracing transaction finish or capture error event.
(compute-custom-sampling-context key info)
Compute a custom sampling context has key and info.
Compute a custom sampling context has key and info.
(finish-transaction! transaction)
Finish trace transaction and send event to Sentry.
Finish trace transaction and send event to Sentry.
(start-transaction name operation custom-sampling-context sentry-trace-header)
Start tracing transactions. If a sentry-trace-header is given, connect the exsiting transaction.
Start tracing transactions. If a sentry-trace-header is given, connect the exsiting transaction.
(swap-scope-request! scope req)
Set request info to the scope.
Set request info to the scope.
(swap-transaction-status! transaction status)
Set trace transaction status.
Set trace transaction status.
(with-start-child-span operation description & forms)
Start a child span which has the operation or description and finish after evaluating forms.
Start a child span which has the operation or description and finish after evaluating forms.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close