Packages

Pure Elixir implementation of OpenTelemetry Semantic Conventions

Retired package: Deprecated - Consolidated into a single otel Hex package; no longer published standalone. See github.com/yangbancode/otel

Current section

Files

Jump to
otel_semantic_conventions lib otel sem_conv attributes user_agent.ex
Raw

lib/otel/sem_conv/attributes/user_agent.ex

defmodule Otel.SemConv.Attributes.UserAgent do
# This is an auto-generated file
@moduledoc """
OpenTelemetry Semantic Conventions for User_Agent attributes.
"""
@doc """
Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client.
iex> Otel.SemConv.Attributes.UserAgent.user_agent_original()
"user_agent.original"
"""
@spec user_agent_original :: String.t()
def user_agent_original do
"user_agent.original"
end
end