
Datadog Query Recipes
FreeStreamline your Langfuse telemetry research with Datadog.
Free · Opens the source repo
What Datadog Query Recipes does
The Datadog Query Recipes skill is designed to assist developers and engineers in conducting thorough research on Langfuse production telemetry. It provides a structured approach to querying Datadog data, ensuring that users can effectively analyze tenant or project activity, API usage, queue behavior, spans, logs, and metrics across multiple production environments. By utilizing this skill, users can keep their findings evidence-based, including precise Datadog links or query shapes that substantiate their conclusions.
The skill operates across various production environments, including prod-us, prod-eu, prod-hipaa, and prod-jp. It defaults to the appropriate Datadog site for each environment, allowing for a seamless querying experience. Users are encouraged to verify data availability through small count or facet queries before concluding that an environment lacks data. The skill emphasizes the importance of loading relevant Datadog MCP guidance for the specific data domain being queried, such as traces, logs, or metrics.
The workflow is straightforward, guiding users through the identification of entities and signals, referencing necessary documentation, and starting with aggregate queries before diving deeper into raw data. This structured approach helps users to efficiently navigate the complexities of Datadog and extract meaningful insights. Additionally, it encourages the reporting of key metrics and caveats, ensuring that findings are comprehensive and actionable.
Overall, this skill is particularly valuable for teams working with Langfuse who require a reliable method for analyzing production telemetry data. It streamlines the process of gathering insights and supports informed decision-making based on real-time data analysis.
When to use it
Use this skill when you need to conduct research on Langfuse production telemetry and require structured Datadog queries.
When not to use it
This skill is not suitable for root-cause analysis or incident management; consider other skills for those purposes.
What you can build with it
Analyzing API Usage
When investigating API usage patterns, this skill helps in querying the relevant metrics from Datadog to identify trends.
Monitoring Queue Behavior
Use this skill to assess queue performance by querying queue metrics and consumer data across different environments.
Identifying Production Issues
When faced with production issues, leverage this skill to gather telemetry data that informs troubleshooting efforts.
How to install Datadog Query Recipes
View source1. Install with the skills CLI
npx skills add langfuse/langfuse/datadog-query-recipes --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by langfuseDatadog Query Recipes
Use this skill for Langfuse production telemetry research where the main work is finding the right Datadog data path. Keep findings evidence-based and include the exact Datadog links or query shapes that support the answer.
Required Scope
Unless the user explicitly narrows the scope, cover every production environment:
prod-usprod-euprod-hipaaprod-jp
Query both Datadog sites when needed. Default to the EU site for prod-eu and
the US site for the other prod environments, but verify with a small count or
facet query before concluding an environment has no data.
Before querying live Datadog, load the relevant Datadog MCP guidance for the data domain you need: traces, logs, metrics, and visualizations.
Workflow
- Identify the entity and signal: tenant ID, org ID, project ID, route, queue, service, error class, or metric.
- Read only the relevant reference:
- Prod environment/site routing:
references/environments.md - Public API tenant or legacy endpoint usage:
references/public-api-tenant-usage.md - Queue inventory, queue consumers, and queue metrics:
references/queue-consumers.md
- Prod environment/site routing:
- Start with aggregate queries, grouped by environment, service, route, queue, project, org, status, or error facets as appropriate.
- Fetch raw spans, logs, or traces only after aggregation identifies the cluster or sample you need.
- For tenant-specific HTTP usage, prefer trace correlation over single-span queries when tenant tags and route tags live on different spans.
- Report the windows, environments, sites, query links, and any sampling or missing-data caveats.
When To Use Other Skills
- Use
debug-issue-with-datadogwhen a Linear issue, GitHub issue, incident report, or monitor needs root-cause analysis and patch recommendations. - Use
weekly-production-reviewwhen the user asks for a weekly engineering overview of production bugs, pages, and incidents. - Use
incident-alert-ticketswhen the research is anchored to a named production alert or monitor: look up documented causes before measuring, and record new ones only after human approval. - Use
linear-bug-triageonly after a human approves sharing measured findings in Linear.
Output Expectations
Summarize what was checked, including:
- Datadog site and
envvalues covered. - Time windows.
- Core filters or metrics used.
- Count, rate, latency, queue depth, trace sample, or "No measurements found".
- Datadog links or trace IDs that let the human rerun the query.
Frequently asked questions about Datadog Query Recipes
Similar skills
Power BI Semantic Modeling
Optimize your Power BI data models with best practices.
Data Context Extractor
Tailor data analysis skills to your company's needs.
Power BI Performance Troubleshooting
Systematic guidance for optimizing Power BI performance.
Power BI Model Design Review
Optimize your Power BI data models with expert reviews.
Power BI DAX Formula Optimizer
Optimize your DAX formulas for better performance and clarity.
Fabric Lakehouse
Optimize your data solutions with Lakehouse best practices.
