View Source OpenTelemetry.SemanticConventions.Logs (opentelemetry_semantic_conventions v0.1.0)
Link to this section Summary
Functions
The domain identifies the context in which an event happened. An event name is unique only within a domain
The name identifies the event
The schema url for telemetry resources.
Link to this section Functions
@spec event_domain() :: :"event.domain"
The domain identifies the context in which an event happened. An event name is unique only within a domain
notes
Notes
An event.name is supposed to be unique only in the context of an
event.domain, so this allows for two events in different domains to
have same event.name, yet be unrelated events
iex> require OpenTelemetry.SemanticConventions.Logs
...> OpenTelemetry.SemanticConventions.Logs.event_domain()
:"event.domain"
@spec event_name() :: :"event.name"
The name identifies the event
iex> require OpenTelemetry.SemanticConventions.Logs
...> OpenTelemetry.SemanticConventions.Logs.event_name()
:"event.name"
@spec logs_schema_url() :: String.t()
The schema url for telemetry resources.
iex> require OpenTelemetry.SemanticConventions.Logs
...> OpenTelemetry.SemanticConventions.Logs.logs_schema_url()
"https://opentelemetry.io/schemas/1.13.0"