Skip to content

/

Reference

SDK reference

Every function the SDK exports, with arguments and defaults.

LAST UPDATED

The SDK is small on purpose.

tracewell.init(options)

Configures the SDK. Options: apiKey, redact, sample, region.

tracewell.agent(name, fn)

Wraps a function so each call becomes a run.

tracewell.span(name, fn)

Creates a child span around fn.

tracewell.attr(object)

Adds attributes to the current span.

Create a free website with Framer, the website builder loved by startups, designers and agencies.