README.md
# Otel Semantic Conventions
[](https://hex.pm/packages/otel_semantic_conventions)
[](https://hexdocs.pm/otel_semantic_conventions)
[](https://unlicense.org/)
Pure Elixir implementation of [OpenTelemetry Semantic Conventions](https://opentelemetry.io/docs/specs/semconv/)
## Requirements
- Elixir 1.18+
- Erlang/OTP 26+
## Compatibility
| Package | Semantic Conventions |
|---|---|
| `0.1.x` | [v1.40.0](https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.40.0) |
> **Note:** Generates **stable** attributes and metrics only.
## Installation
Add the dependency to your `mix.exs`:
```elixir
def deps do
[
{:otel_semantic_conventions, "~> 0.1"}
]
end
```
## Quick Example
```elixir
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](LICENSE).