Spandex v1.6.0 API Reference

Modules

The functions here call the corresponding functions on the configured adapter

The callbacks required to implement an adapter

A datadog APM implementation for spandex

Implements worker for sending spans to datadog as GenServer in order to send traces async

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

Contains error related metadata

Contains http related metadata

Contains sql query related 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