datadog-query-recipes

Recettes de requêtes Datadog spécifiques à Langfuse pour la recherche de télémétrie en production. À utiliser lorsqu'on vous demande d'enquêter sur l'activité d'un locataire ou d'un projet, l'utilisation des points de terminaison de l'API publique,…

npx skills add https://github.com/langfuse/langfuse --skill datadog-query-recipes

Datadog 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-us
  • prod-eu
  • prod-hipaa
  • prod-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

  1. Identify the entity and signal: tenant ID, org ID, project ID, route, queue, service, error class, or metric.
  2. Read only the relevant reference:
  3. Start with aggregate queries, grouped by environment, service, route, queue, project, org, status, or error facets as appropriate.
  4. Fetch raw spans, logs, or traces only after aggregation identifies the cluster or sample you need.
  5. For tenant-specific HTTP usage, prefer trace correlation over single-span queries when tenant tags and route tags live on different spans.
  6. Report the windows, environments, sites, query links, and any sampling or missing-data caveats.

When To Use Other Skills

  • Use debug-issue-with-datadog when a Linear issue, GitHub issue, incident report, or monitor needs root-cause analysis and patch recommendations.
  • Use weekly-production-review when the user asks for a weekly engineering overview of production bugs, pages, and incidents.
  • Use incident-alert-tickets when 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-triage only after a human approves sharing measured findings in Linear.

Output Expectations

Summarize what was checked, including:

  • Datadog site and env values 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.

Plus de skills de langfuse

frontend-browser-review
langfuse
Utilisez cette compétence lorsqu’un changement affecte ce que les utilisateurs voient ou font dans le navigateur.
frontend-large-feature-architecture
langfuse
À utiliser lors de la construction, de la modification ou du refactoring de grandes fonctionnalités frontend Langfuse, de listes virtualisées, de grands tableaux, de composants contrôleurs, de fonctionnalités locales…
skill-developer
langfuse
Créer et gérer des compétences Claude Code conformément aux meilleures pratiques d’Anthropic. À utiliser lors de la création de nouvelles compétences, de la modification de skill-rules.json, de la compréhension des déclencheurs…
langfuse-prompt-migration
langfuse
Migrer les prompts codés en dur vers Langfuse pour le contrôle de version et l'itération sans déploiement. Utiliser lorsque l'utilisateur souhaite externaliser les prompts, déplacer les prompts vers Langfuse,…
incident-alert-tickets
langfuse
Read and, after human approval, update the Linear `incident-alert` knowledge base. Use before and after investigating a named Datadog monitor,…
refactor-react-effects
langfuse
Refactorisation des utilisations évitables de useEffect de React dans le code frontend de Langfuse. À utiliser lors de l'ajout, de la révision ou de la suppression d'effets ; de l'initialisation de formulaires ou d'état d'interface locale à partir de…
sentry-instrumentation
langfuse
Decide whether and how errors report to Sentry. Use when touching capture or error-handling paths in `web/**`, triaging Sentry noise, or changing Sentry…
posthog-instrumentation
langfuse
Product analytics with posthog. Use when adding a meaningful user action or feature in `web/**`, touching PostHog capture code, or answering product-usage…