Install & Compatibility
Where this runs
tested against v2.8.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 59.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 5.9s · import 0.000s · 57MB
56MB installed
● package 56MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Tracekit
✓ from llm_tracekit import Tracekit
✗ from llm_tracekit import LLMTracekit
Class is named Tracekit, not LLMTracekit
enable_instrumentations
✓ from llm_tracekit import enable_instrumentations
✗ from llm_tracekit.instrument import enable
Function is at top-level, not nested
Initialize Tracekit with basic OpenTelemetry configuration. Ensure OTEL_EXPORTER_OTLP_ENDPOINT is set for remote export.
import os
from llm_tracekit import Tracekit
tk = Tracekit(
service_name="my-llm-app",
otlp_endpoint=os.environ.get('OTEL_EXPORTER_OTLP_ENDPOINT', 'http://localhost:4317'),
enable_console=True
)
tk.start()
# Use with OpenAI, Anthropic, etc.
Upgrade
Version history
2.8.1latest on PyPI · released Apr 30, 2026
Audit
Dependencies
opentelemetry-apirequiredRequired for OpenTelemetry tracing basics
opentelemetry-sdkoptionalRequired to export spans