Otel Semantic Conventions
Pure Elixir implementation of OpenTelemetry Semantic Conventions
Requirements
- Elixir 1.18+
- Erlang/OTP 26+
Compatibility
| Package | Semantic Conventions |
|---|---|
0.1.x | v1.40.0 |
Note: Generates stable attributes and metrics only.
Installation
Add the dependency to your mix.exs:
def deps do
[
{:otel_semantic_conventions, "~> 0.1"}
]
endQuick Example
iex> Otel.SemConv.Attributes.HTTP.http_request_method()
"http.request.method"
iex> Otel.SemConv.Attributes.HTTP.http_request_method_values()[:post]
"POST"License
Released into the public domain under the Unlicense.