Skip to main content

inspect-a-request-correlation-id

Inspect a request correlation ID across gateway, service, queue, job, and database evidence to reconstruct one transaction. Use when a distributed failure must be traced without broad log searching.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
inspect-a-request-correlation-id
category
code
description
Inspect a request correlation ID across gateway, service, queue, job, and database evidence to reconstruct one transaction. Use when a distributed failure must be traced without broad log searching.
# inspect-a-request-correlation-id Correlation narrows a search; it does not prove causality or identity. ## When to use - Use for a known request, trace, job, message, or support case identifier. - Treat IDs and linked logs as potentially sensitive. ## Preconditions - Record the identifier source, time window, environment, tenant where authorized, version, and clock assumptions. ## Procedure 1. Validate the ID format and provenance before searching. 2. Query authorized telemetry with a bounded time and system scope. 3. Order gateway, application, dependency, queue, worker, and persistence events by normalized time. 4. Link child spans, message IDs, retry attempts, and jobs while preserving one-to-many relationships. 5. Mark clock skew, sampling, missing spans, ID reuse, and propagation breaks. 6. Distinguish observed sequence from inferred cause. 7. Record the transaction path, failure boundary, and next evidence needed. ## Failure plan - If the ID is reused or untrusted, stop cross-tenant attribution and narrow by independent fields. ## Worked example A request ID reaches checkout, creates a queued job, and retries at the worker; missing propagation after the retry becomes an evidence gap, not proof the database failed. ## Done - A correlation report records provenance, ordered events, relationships, retries, gaps, clocks, and failure boundary - Scope, tenant, sampling, propagation, timestamp, privacy, and independent-field checks verify the reconstruction
在 GitHub 查看