llm-tracing-and-observability-setup

Solid

Configures end-to-end tracing for an LLM application using OpenTelemetry with LangSmith, Langfuse, or Helicone — span naming, metadata tagging, latency thresholds, and cost tracking.

AI & Automation 9 stars 1 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
33
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# LLM Tracing and Observability Setup ## What this skill does This skill sets up production-grade observability for LLM applications. Without tracing, debugging a broken LLM pipeline means guessing — you can't see what prompt was sent, what the model returned, which tool call failed, or why latency spiked. This skill configures the right tracing layer for your stack and shows what to instrument. ## How to use ### Claude Code / Cline Copy this file to `.agents/skills/llm-tracing-setup/SKILL.md` in your project root. Then ask: - *"Use the LLM Tracing Setup skill to add observability to our LangChain app."* - *"Set up Langfuse tracing for our OpenAI API calls."* Provide: - LLM framework in use (LangChain, direct API, LlamaIndex, custom) - Preferred tracing backend (LangSmith, Langfuse, Helicone, or open to suggestions) - Language (Python or TypeScript) - Whether you need cost tracking, latency alerting, or user feedback collection ### Cursor / Codex Paste your LLM call code alongside these instructions and specify the tracing backend. ## The Prompt / Instructions for the Agent ### Step 1 — Choose a tracing backend | Backend | Best for | Cost model | |---|---|---| | **LangSmith** | LangChain / LangGraph apps | Free tier + usage | | **Langfuse** | Any LLM stack, self-hostable | Free tier + open source | | **Helicone** | OpenAI / Anthropic direct API | Per-request fee | | **OpenTelemetry + Jaeger** | Full control, existing OTel infra | Self-hosted | | **Braintrust** | E...

Details

Author
Notysoty
Repository
Notysoty/openagentskills
Created
5 months ago
Last Updated
6 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category