> ## Documentation Index
> Fetch the complete documentation index at: https://allhandsai-extend-api-reference-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# openhands.sdk.observability

> API reference for openhands.sdk.observability module

### maybe\_init\_laminar()

Initialize Laminar if the environment variables are set.

Example configuration:

```bash theme={null}
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://otel-collector:4317/v1/traces

# comma separated, key=value url-encoded pairs
OTEL_EXPORTER_OTLP_TRACES_HEADERS=”Authorization=Bearer%20`<KEY>`,X-Key=`<CUSTOM_VALUE>`”

# grpc is assumed if not specified
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf # or grpc/protobuf
# or
OTEL_EXPORTER=otlp_http # or otlp_grpc
```

### observe()


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.