# `ScoutApm.Logging.OTLP.Resource`

Builds OTLP Resource attributes for log records.

The Resource represents the entity producing telemetry and includes
attributes like service name, version, host, and environment.

# `build`

```elixir
@spec build() :: [map()]
```

Builds the resource attributes map for OTLP export.
Returns a list of attribute maps in OTLP format.

# `to_otlp_attribute`

```elixir
@spec to_otlp_attribute({String.t(), any()}) :: map()
```

Converts a {key, value} tuple to OTLP attribute format.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
