Logs support in the OpenTelemetry Python SDK is currently experimental and subject to change.
To check the status for each language, refer to the OpenTelemetry status page.
1
Acquire Dependencies
Install the OpenTelemetry API, SDK, and OTLP exporter packages:
2
Configure the Logger Provider
During application setup, create and configure the logger provider:
3
Run Your Application
Set environment variables to configure the exporter and define your service name, then run your application.To send logs directly to Honeycomb:To send logs to an OpenTelemetry Collector instead: