View Source ExInsights.Telemetry.CommonTelemetry (ExInsights v0.8.1)

Defines common telemetry fields. Ported over from here

Link to this section Summary

Link to this section Types

@type option() ::
  {:time, DateTime.t()}
  | {:properties, ExInsights.Telemetry.Types.properties()}
  | {:tags, ExInsights.Telemetry.Types.tags()}
@type t() :: %ExInsights.Telemetry.CommonTelemetry{
  properties: ExInsights.Telemetry.Types.properties(),
  tags: ExInsights.Telemetry.Types.tags(),
  time: DateTime.t(),
  type: String.t(),
  ver: non_neg_integer()
}

Link to this section Functions

Link to this function

new(type_name, options \\ [])

View Source
@spec new(String.t(), [option()]) :: t()