API Reference Spandex v3.1.0

Modules

The functions here call the corresponding functions on the configured adapter.

The callbacks required to implement the Spandex.Adapter behaviour.

Provides a way of annotating functions to be traced.

Adds request context to the top span of the trace, setting the resource, method, url, service, type and env

Finishes a trace, setting status and error based on the HTTP status.

Starts a trace, skipping ignored routes or methods. Store info in Conn assigns if we actually trace the request.

Helper methods for accessing Spandex plug assigns.

A container for all span data and metadata.

The behaviour for a storage strategy for storing an ongoing trace.

This stores traces in the local process dictionary, scoped by the tracer running the trace, such that you could have multiple traces going at one time by using a different tracer.

A representation of an ongoing trace.

A module that can be used to build your own tracer.