Monitors and instruments Claude API calls to track token usage, latency, costs, and error rates in production environments.
This skill provides a standardized framework for monitoring Anthropic Claude API integrations, offering production-ready logging wrappers to capture granular metrics such as input/output tokens, cache performance, and estimated costs. By implementing these observability patterns, developers can set up critical alerts for error spikes, high latency, and budget overruns, ensuring robust and cost-effective AI application performance within their Claude Code workflow.
主な機能
012,083 GitHub stars
02Configurable alert thresholds for latency and 429/529 errors
03Cache hit/miss monitoring for optimized performance
04Real-time token and cost estimation for Claude models
05Production-ready TypeScript logging wrappers
06Detailed error tracking with request IDs and status codes
ユースケース
01Debugging failed API requests with detailed error logs
02Monitoring production Claude API usage and costs
03Optimizing latency and token consumption in LLM applications