Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 1.27 KB

File metadata and controls

74 lines (49 loc) · 1.27 KB

Installation

Requirements

  • Python 3.9 or later

Install

pip install botanu

One 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.

Configure

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.

Verify

import botanu
print(botanu.__version__)

Package Managers

pip / requirements.txt

botanu>=0.1.0

Poetry

[tool.poetry.dependencies]
botanu = "^0.1.0"

Docker

FROM python:3.12-slim
WORKDIR /app
RUN pip install botanu
COPY . .
ENV BOTANU_API_KEY="<your-api-key>"
CMD ["python", "app.py"]

Development

For running tests and linting:

pip install "botanu[dev]"

Next Steps