datadog-query-recipes

bởi langfuse

Các công thức truy vấn Datadog dành riêng cho Langfuse để nghiên cứu đo lường từ xa trong sản xuất. Sử dụng khi được yêu cầu điều tra hoạt động của tenant hoặc dự án, việc sử dụng endpoint API công khai,…

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.

Thêm skills từ langfuse

clickhouse-best-practices
langfuse
PHẢI SỬ DỤNG khi xem xét lược đồ ClickHouse, truy vấn hoặc cấu hình. Chứa 28 quy tắc PHẢI được kiểm tra trước khi đưa ra khuyến nghị. Luôn đọc…
official
skill-creator
langfuse
Hướng dẫn tạo kỹ năng hiệu quả. Kỹ năng này nên được sử dụng khi người dùng muốn tạo một kỹ năng mới (hoặc cập nhật kỹ năng hiện có) để mở rộng khả năng của Claude…
official
vercel-react-best-practices
langfuse
Hướng dẫn tối ưu hiệu suất React và Next.js từ Vercel Engineering. Kỹ năng này nên được sử dụng khi viết, xem xét hoặc tái cấu trúc React/Next.js…
official
add-model-price
langfuse
Use when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing tiers, tokenizer IDs, or matchPattern regexes…
official
analyze-cloud-costs
langfuse
Analyze Langfuse Cloud infrastructure cost structure using Metabase cost marts. Use when asked about cloud spend, AWS versus ClickHouse cost splits, cost…
official
backend-dev-guidelines
langfuse
Build or review Langfuse backend code. Use for tRPC routers, public REST APIs, BullMQ processors, services, middleware, Prisma or ClickHouse access,…
official
clickhouse-best-practices
langfuse
PHẢI SỬ DỤNG khi xem xét schema, truy vấn hoặc cấu hình ClickHouse. Chứa 28 quy tắc PHẢI được kiểm tra trước khi đưa ra khuyến nghị. Luôn đọc…
official
code-review
langfuse
Review Langfuse code changes for correctness, regressions, and best practices.
official