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

Distributed Tracing instrumenter for cloudevents

Link to this section Summary

Link to this section Functions

Link to this macro

with_child_span(label, event, attributes \\ quote do %{} end, list)

View Source (macro)

Like Opencensus.Trace.with_child_span (https://hexdocs.pm/opencensus_elixir/Opencensus.Trace.html#with_child_span/3), but for cloudevents distributed tracing extension defined in https://github.com/cloudevents/spec/blob/master/extensions/distributed-tracing.md.

This macro reads the distributed trace context from a cloudevent and creates a new span out of it.