Skip to content
aj-geddes avatar

Correlation Tracing

Implementation guide for correlation IDs, trace propagation, and span tracking across microservices.

CCM score
36 of 100
skills.sh installs
431
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers request tracing from entry points through service-to-service calls, with a TypeScript Express quick start
  • Includes four reference guides: Express correlation middleware, OpenTelemetry integration, Python tracing, and manual propagation
  • Guides teams to generate trace IDs at entry points, include correlation IDs in structured logs, and sample high-traffic systems
  • Designed for debugging distributed systems, monitoring request flows, and latency or error analysis

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill correlation-tracing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Correlation & Distributed Tracing

Table of Contents

Overview

Implement correlation IDs and distributed tracing to track requests across multiple services and understand system behavior.

When to Use

  • Microservices architectures
  • Debugging distributed systems
  • Performance monitoring
  • Request flow visualization
  • Error tracking across services
  • Dependency analysis
  • Latency optimization

Quick Start

Minimal working example:

import express from "express";
import { v4 as uuidv4 } from "uuid";

// Async local storage for context
import { AsyncLocalStorage } from "async_hooks";

const traceContext = new AsyncLocalStorage<Map<string, any>>();

interface TraceContext {
  traceId: string;
  spanId: string;
  parentSpanId?: string;
  serviceName: string;
}

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Backend & APIs, Debugging
First seen
Jun 3, 2026

Questions

What is correlation-tracing?

correlation-tracing is an agent skill listed on Claude Marketplaces in the Backend & APIs category. The listing describes correlation-tracing like this: Implement distributed tracing with correlation IDs, trace propagation, and span tracking across microservices.

How do I install correlation-tracing?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill correlation-tracing -y in a project to install correlation-tracing. After that, the agent can use correlation-tracing in that project.

Which category is correlation-tracing in?

correlation-tracing is in the Backend & APIs category on Claude Marketplaces. Other listings in that category next to correlation-tracing include entra-app-registration, neon and firebase-basics.

Where is the source code of correlation-tracing?

The source code of correlation-tracing is on GitHub at https://github.com/aj-geddes/useful-ai-prompts. The aj-geddes account on GitHub publishes correlation-tracing.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Correlation Tracing

More Backend & APIs