Agent Skillslangfuse/langfuse › datadog-query-recipes

datadog-query-recipes

GitHub

用于基于 Langfuse 生产遥测数据,通过 Datadog 查询租户、API、队列及日志等指标,为根因分析提供证据支持。

.agents/skills/datadog-query-recipes/SKILL.md langfuse/langfuse

Trigger Scenarios

需要查询生产环境遥测数据 进行租户或项目活动分析 排查 API 使用或队列行为 为根因分析收集数据

Install

npx skills add langfuse/langfuse --skill datadog-query-recipes -g -y
More Options

Non-standard path

npx skills add https://github.com/langfuse/langfuse/tree/main/.agents/skills/datadog-query-recipes -g -y

Use without installing

npx skills use langfuse/langfuse@datadog-query-recipes

指定 Agent (Claude Code)

npx skills add langfuse/langfuse --skill datadog-query-recipes -a claude-code -g -y

安装 repo 全部 skill

npx skills add langfuse/langfuse --all -g -y

预览 repo 内 skill

npx skills add langfuse/langfuse --list

SKILL.md

Frontmatter
{
    "name": "datadog-query-recipes",
    "description": "Research Langfuse production telemetry with reusable Datadog queries. Use for\ntenant or project activity, API usage, queue behavior, spans, logs, metrics,\nor ad hoc measurements across production regions; pair with\ndebug-issue-with-datadog for root-cause analysis."
}

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.

Version History

  • f7e3c26 Current 2026-08-20 17:47

Same Skill Collection

.agents/skills/add-model-price/SKILL.md
.agents/skills/agent-setup-maintenance/SKILL.md
.agents/skills/analyze-cloud-costs/SKILL.md
.agents/skills/backend-dev-guidelines/SKILL.md
.agents/skills/changelog-writing/SKILL.md
.agents/skills/clickhouse-best-practices/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/create-repo-agent/SKILL.md
.agents/skills/cursor-agents-workflow/SKILL.md
.agents/skills/debug-issue-with-datadog/SKILL.md
.agents/skills/frontend-browser-review/SKILL.md
.agents/skills/frontend-large-feature-architecture/SKILL.md
.agents/skills/git-workflow/SKILL.md
.agents/skills/grill-me/SKILL.md
.agents/skills/housekeeping/SKILL.md
.agents/skills/incident-alert-tickets/SKILL.md
.agents/skills/infra-scaling/SKILL.md
.agents/skills/langfuse-codebase-navigator/SKILL.md
.agents/skills/langfuse-previews/SKILL.md
.agents/skills/linear-bug-triage/SKILL.md
.agents/skills/pnpm-upgrade-package/SKILL.md
.agents/skills/posthog-instrumentation/SKILL.md
.agents/skills/react-component-cleaner/SKILL.md
.agents/skills/react-component-guidelines/SKILL.md
.agents/skills/refactor-react-effects/SKILL.md
.agents/skills/security-review/SKILL.md
.agents/skills/seed-test-data/SKILL.md
.agents/skills/sentry-instrumentation/SKILL.md
.agents/skills/skill-creator/SKILL.md
.agents/skills/turborepo/SKILL.md
.agents/skills/weekly-production-review/SKILL.md
web/.agents/skills/vercel-composition-patterns/SKILL.md
web/.agents/skills/vercel-react-best-practices/SKILL.md
.agents/skills/storybook/SKILL.md

Metadata

Files
0
Version
f6e56cb
Hash
31b74485
Indexed
2026-08-20 17:47

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 04:06
浙ICP备14020137号-1 $Гость$