Official
Analíticas y Monitorización
Instruments AI applications with PostHog to track model usage, token counts, latency, and costs.
The PostHog LLM Analytics skill automates the process of adding observability to your AI-powered applications by detecting your specific LLM provider or framework—such as OpenAI, Anthropic, or LangChain—and implementing the necessary tracing code. It handles the initial PostHog SDK installation, configures environment variables, and ensures every generation is captured with critical metadata like token counts and latency without disrupting your existing architecture. This skill is ideal for developers who need to monitor AI costs and performance in real-time or associate AI interactions with specific users.
Características Principales
01Automated PostHog SDK installation and environment setup
02Support for 30+ providers, frameworks, and gateways
03End-to-end tracing for token usage, latency, and costs
0459 GitHub stars
05Automatic detection of LLM providers and AI frameworks
06User identification for associating LLM calls with specific accounts
Casos de Uso
01Monitoring production LLM costs and performance metrics
02Adding observability to newly implemented AI features or PRs
03Setting up PostHog tracking for an existing AI-enabled codebase