OneAndDone.Telemetry.SpanResult (One and Done v0.1.6)

View Source

Additional metadata to include at the end of a span.

Summary

Functions

Create a new SpanResult struct.

Types

t()

@type t() :: %OneAndDone.Telemetry.SpanResult{
  result: any(),
  status: :success | :error
}

Functions

new(result)

@spec new(any()) :: t()

Create a new SpanResult struct.