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
Current section
Files
lib/otel/sem_conv/attributes/url.ex
defmodule Otel.SemConv.Attributes.URL do
# This is an auto-generated file
@moduledoc """
OpenTelemetry Semantic Conventions for URL attributes.
"""
@doc """
The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component
iex> Otel.SemConv.Attributes.URL.url_fragment()
"url.fragment"
"""
@spec url_fragment :: String.t()
def url_fragment do
"url.fragment"
end
@doc """
Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986)
iex> Otel.SemConv.Attributes.URL.url_full()
"url.full"
"""
@spec url_full :: String.t()
def url_full do
"url.full"
end
@doc """
The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component
iex> Otel.SemConv.Attributes.URL.url_path()
"url.path"
"""
@spec url_path :: String.t()
def url_path do
"url.path"
end
@doc """
The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component
iex> Otel.SemConv.Attributes.URL.url_query()
"url.query"
"""
@spec url_query :: String.t()
def url_query do
"url.query"
end
@doc """
The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol.
iex> Otel.SemConv.Attributes.URL.url_scheme()
"url.scheme"
"""
@spec url_scheme :: String.t()
def url_scheme do
"url.scheme"
end
end