aws_ex_ray v0.1.16 AwsExRay.Store.Table

This module provies functions to handle ETS table which contains process-and-segment mapping information.

Link to this section Summary

Link to this section Functions

Link to this function

delete()
delete() :: :ok

Link to this function

delete(pid)
delete(pid :: pid()) :: :ok

Link to this function

init()
init() :: :ok

Link to this function

insert(trace, segment_id, subsegments \\ [])
insert(
  trace :: AwsExRay.Trace.t(),
  segment_id :: String.t(),
  subsegments :: list()
) :: :ok

Link to this function

lookup()
lookup() :: {:ok, AwsExRay.Trace.t(), String.t()} | {:error, :not_found}

Link to this function

lookup(pid)
lookup(pid :: pid()) ::
  {:ok, AwsExRay.Trace.t(), String.t()} | {:error, :not_found}

Link to this function

pop_subsegment(subsegment_id)
pop_subsegment(String.t()) :: :ok

Link to this function

push_subsegment(subsegment_id)
push_subsegment(String.t()) :: :ok