Honeycomb's official instrumentation library for Python applications. Provides automatic tracing for web frameworks (Flask, Django, etc.), database queries, and HTTP calls. Current version 3.6.0, requires Python >=3.7,<4. Monthly releases with enhancements and bug fixes.
pip install honeycomb-beelineVerified import paths — ran on the pinned version, not inferred.
Initialize the beeline with writekey and dataset (or classic key), trace a function, and add custom fields.
Upgrade your Python runtime to 3.7 or higher, and upgrade honeycomb-beeline to >=3.5.0.
Ensure any direct libhoney usage is updated to work with libhoney >=2.0.0. If using beeline alone, no action needed.
Ensure beeline.init() is called only once during application startup.
Be explicit: pass writekey and dataset to beeline.init(). Unset environment variables if you want to rely on arguments.
Switch to a standard Honeycomb API key (64 characters) instead of classic key.
Run 'pip install honeycomb-beeline' to install the package.
Use 'beeline.init(writekey=..., dataset=...)' with keyword arguments, not positional.
Provide a valid dataset name (string) to beeline.init(). Also check HONEYCOMB_DATASET environment variable is set if using default.
Ensure the decorated function is synchronous and returns a value. For async functions, use @beeline.async_traced instead.