Tapper v0.2.0 Tapper.Tracer.Annotations

Helpers for creating annotations in Tapper.Tracer.Server.

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

Summary

Functions

annotation(value, timestamp, endpoint)
annotation(value :: atom | String.t, timestamp :: Tapper.Timestamp.timestamp, Tapper.Endpoint.t) :: Tapper.Tracer.Trace.Annotation.t
binary_annotation(type, endpoint)
binary_annotation(type :: atom, Tapper.Endpoint.t) :: Tapper.Tracer.Trace.BinaryAnnotation.t
binary_annotation(type, key, value, endpoint)
binary_annotation(type :: atom, key :: String.t | atom, value :: any, Tapper.Endpoint.t) ::
  Tapper.Tracer.Trace.BinaryAnnotation.t |
  nil