- Python 3.9 or later
pip install botanuOne install gives you everything:
- OTel SDK + OTLP HTTP exporter
- Auto-instrumentation for 50+ libraries (HTTP, databases, messaging, GenAI, AWS, gRPC)
Instrumentation packages are lightweight shims that silently no-op when the target library is not installed. Zero bloat.
Set your API key as an environment variable. The SDK auto-configures the OTLP endpoint to ingest.botanu.ai — no other configuration needed.
export BOTANU_API_KEY="<your-api-key>"That's it. No collector to run, no infrastructure to deploy. Botanu hosts everything.
import botanu
print(botanu.__version__)botanu>=0.1.0
[tool.poetry.dependencies]
botanu = "^0.1.0"FROM python:3.12-slim
WORKDIR /app
RUN pip install botanu
COPY . .
ENV BOTANU_API_KEY="<your-api-key>"
CMD ["python", "app.py"]For running tests and linting:
pip install "botanu[dev]"- Quickstart - Your first instrumented application
- Configuration - Environment variables and YAML config