Skip to main content
The Python SDK reads the following environment variables. All are optional when the equivalent parameter is passed directly to HoneyHiveTracer.init() or the HoneyHive client.

Authentication & Endpoints

Credential selection is per operation. A tracing-only process can set just HH_INGESTION_API_KEY; a process that only calls supported project-scoped methods can set just HH_DATA_PLANE_API_KEY. The client raises before sending a call if its required key is absent. Data plane keys never fall back to HH_API_KEY and cannot send telemetry. See key selection by project ID.

Tracer Behavior

Export & Performance

Resource Attributes

Span Limits

When to adjust span limits - The defaults work for most workloads. Consider raising them if your spans carry many attributes (e.g., deep RAG pipelines with dozens of retrieval chunks, or tool-calling agents with large parameter sets). When a limit is reached, new attributes beyond the limit are dropped. Core HoneyHive attributes like session_id and event_type are always preserved regardless of the limit.

Experiments

Proxy

Telemetry

A few HH_* variables also accept a HONEYHIVE_* name, and every alias a variable accepts is listed in its description above. Everything else is read under the HH_ prefix only. HH_INGESTION_API_KEY has no alias and is the only name the SDK reads for the ingestion key.

Deprecated aliases

These names are still read when the preferred name is unset, but each logs a deprecation warning once per process.