refactor: remove metrics module and sampling configuration#17
Merged
deborahjacob-botanu merged 3 commits intomainfrom Feb 6, 2026
Merged
refactor: remove metrics module and sampling configuration#17deborahjacob-botanu merged 3 commits intomainfrom
deborahjacob-botanu merged 3 commits intomainfrom
Conversation
Initial implementation of the Botanu SDK providing run-level cost attribution for AI workflows. Features: - @botanu_use_case decorator for entry point registration - UUIDv7 run_id generation and W3C Baggage propagation - Auto-instrumentation for LLM providers (OpenAI, Anthropic, etc.) - Auto-instrumentation for databases, HTTP clients, frameworks - Kubernetes zero-code deployment via OTel Operator - AttemptLedger for durable cost tracking - 100% trace capture (no sampling) for accurate cost attribution Documentation: - Getting started guide and quickstart - Kubernetes deployment guide for 2000+ services - API reference for decorators and configuration - Best practices and anti-patterns Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Deborah Jacob <deborah@botanu.ai>
e02ed25 to
17b87ef
Compare
Signed-off-by: deborahjacob-botanu <deborah@botanu.ai>
Supports: - TestPyPI publishing via workflow_dispatch - PyPI publishing on release - OIDC trusted publisher (no tokens needed) Signed-off-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Deborah Jacob <deborah@botanu.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cost attribution requires 100% trace capture. Removed:
Backend aggregates costs from traces by run_id.
Summary
Changes
Type of change
Testing
pytest)ruff check)mypy)Checklist
git commit -s) per the DCO