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

A module for declaring typespecs used throughout the ex_insights lib

Link to this section Summary

Types

AppInsights portal resource key. Read more on how to create one here

Metrics associated with this telemetry, displayed in Metrics Explorer on the portal.

Duration in milliseconds

Measurement name. Will be used extensively in the app insights UI

Additional data used to filter events and metrics in the portal

Defines the level of severity for the trace.

Additional context tags to use for this telemetry

Link to this section Types

@type instrumentation_key() :: String.t()

AppInsights portal resource key. Read more on how to create one here

@type measurements() :: %{optional(name()) => number()}

Metrics associated with this telemetry, displayed in Metrics Explorer on the portal.

@type millisecond() :: non_neg_integer()

Duration in milliseconds

@type name() :: String.t() | atom()

Measurement name. Will be used extensively in the app insights UI

@type properties() :: %{optional(name()) => String.t()}

Additional data used to filter events and metrics in the portal

@type severity_level() :: :verbose | :info | :warning | :error | :critical

Defines the level of severity for the trace.

@type tags() :: %{optional(name()) => String.t()}

Additional context tags to use for this telemetry