Tapper v0.5.0 Tapper.Tracer.Annotations View Source

Helpers for creating annotations in Tapper.Tracer.Server.

For client API, see helper functions in Tapper (Tapper.annotation/2, Tapper.binary_annotation/4 etc.).

Link to this section Summary

Link to this section Functions

Link to this function

annotation(value, timestamp, endpoint) View Source
annotation(
  value :: atom() | String.t(),
  timestamp :: Tapper.Timestamp.t(),
  Tapper.Endpoint.t()
) :: Tapper.Tracer.Trace.Annotation.t()

Link to this function

binary_annotation(type, endpoint) View Source
binary_annotation(type :: atom(), Tapper.Endpoint.t()) ::
  Tapper.Tracer.Trace.BinaryAnnotation.t()

Link to this function

binary_annotation(type, key, value, endpoint) View Source
binary_annotation(
  type :: atom(),
  key :: String.t() | atom(),
  value :: any(),
  Tapper.Endpoint.t()
) :: Tapper.Tracer.Trace.BinaryAnnotation.t() | nil