RIG.Tracing (Reactive Interaction Gateway v3.0.0-alpha.2) View Source

Module that handle trace-context according to W3C.

Accepts and forwards trace-context both from/to http endpoints and from/to event-based systems using cloudevents

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

append_context(a, b, mode \\ :public)

View Source

Specs

append_context(RigCloudEvents.CloudEvent.t(), t(), mode :: atom()) ::
  RigCloudEvents.CloudEvent.t()

Specs

config() :: any()

Returns module configuration.

If application environment contains values in Keyword or Map struct, defaults from macro usage will be recursively merged with application configuration.

If one of the configuration parameters does not exist or can not be resolved, raises ArgumentError.

Specs

context() :: list()