aws_ex_ray v0.1.16 AwsExRay.Trace

This module provides data structure which represents X-Ray's trace

Link to this section Summary

Link to this section Types

Link to this type

t()
t() :: %AwsExRay.Trace{parent: String.t(), root: String.t(), sampled: boolean()}

Link to this section Functions

Link to this function

new()
new() :: t()

Link to this function

parse(value)
parse(String.t()) :: {:ok, t()} | {:error, :not_found}

Link to this function

parse_or_new(value)
parse_or_new(String.t()) :: t()

Link to this function

to_string(trace)
to_string(t()) :: String.t()

Link to this function

with_params(trace_id, sampled, parent)
with_params(trace_id :: String.t(), sampled :: boolean(), parent :: String.t()) ::
  t()