distributed-tracing

distributed-tracing is a skill for Claude Code, Codex from NOMARJ/sigil. It costs 43 tokens per session (2,510 once invoked), scanned A, a copy of distributed-tracing, Apache-2.0.

Distributed tracing records a request as it moves through multiple services, with timing information for each operation. Jaeger and Tempo are tools that collect and display these request paths.

In plain words
What is it for?
Use it to follow request flows, understand service dependencies, find bottlenecks, debug latency, and trace how errors move through microservices.
Why use it?
It shows where a request became slow or failed, even when the cause is spread across several services or a database.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to follow request flows, understand service dependencies, find bottlenecks, debug latency, and trace how errors move through microservices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nomarj/sigil/distributed-tracing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NOMARJ/sigil --skill distributed-tracing
Clone the repo
git clone --depth 1 https://github.com/NOMARJ/sigil

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for distributed-tracing

README.md
[![agentmods](https://agentmods.dev/badge/skills/nomarj/sigil/distributed-tracing/github.svg)](https://agentmods.dev/skills/nomarj/sigil/distributed-tracing)
Your own site
<a href="https://agentmods.dev/skills/nomarj/sigil/distributed-tracing"><img src="https://agentmods.dev/badge/skills/nomarj/sigil/distributed-tracing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for distributed-tracing

Your own site · 80×15
<a href="https://agentmods.dev/skills/nomarj/sigil/distributed-tracing"><img src="https://agentmods.dev/badge/skills/nomarj/sigil/distributed-tracing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,510 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.02510
Opus 5.5 $0.00017 $0.01004
Sonnet 5.5 $0.00009 $0.00502
Haiku 4.5 $0.00004 $0.00251

Measured 2mo ago against content hash 473485e92f5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

distributed-tracing scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get('http://downstream-service/api', headers=headers)
Origin

This is a copy

100% identical to distributed-tracing — 84 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packs/infra/skills/observability/distributed-tracing/SKILL.md · 455 lines

How it starts

The opening of the file, as written. The whole thing — 455 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Distributed Tracing

Implement distributed tracing with Jaeger and Tempo for request flow visibility across microservices.

Purpose

Track requests across distributed systems to understand latency, dependencies, and failure points.

When to Use

  • Debug latency issues
  • Understand service dependencies
  • Identify bottlenecks
  • Trace error propagation
  • Analyze request paths

Distributed Tracing Concepts

Trace Structure

Trace (Request ID: abc123)
  ↓
Span (frontend) [100ms]
  ↓
Span (api-gateway) [80ms]
  ├→ Span (auth-service) [10ms]
  └→ Span (user-service) [60ms]
      └→ Span (database) [40ms]

Key Components

  • Trace - End-to-end request journey
  • Span - Single operation within a trace
  • Context - Metadata propagated between services
  • Tags - Key-value pairs for filtering
  • Logs - Timestamped events within a span

Jaeger Setup

Kubernetes Deployment

# Deploy Jaeger Operator
kubectl create namespace observability
kubectl create -f https://github.com/jaegertracing/jaeger-operator/releases/download/v1.51.0/jaeger-operator.yaml -n observability

# Deploy Jaeger instance
kubectl apply -f - <<EOF
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
  name: jaeger
  namespace: observability
spec:
  strategy: production
  storage:
    type: elasticsearch
    options:
      es:
        server-urls: http://elasticsearch:9200
  ingress:
    enabled: true
EOF

Docker Compose

version: "3.8"
services:
  jaeger:
    image: jaegertracing/all-in-one:latest
    ports:
      - "5775:5775/udp"
      - "6831:6831/udp"
      - "6832:6832/udp"
      - "5778:5778"
      - "16686:16686" # UI
      - "14268:14268" # Collector
      - "14250:14250" # gRPC
      - "9411:9411" # Zipkin
    environment:
      - COLLECTOR_ZIPKIN_HOST_PORT=:9411

Reference: See references/jaeger-setup.md

Application Instrumentation

OpenTelemetry (Recommended)

Python (Flask)
from opentelemetry import trace
from opentelemetry.exporter.jaeger.thrift import JaegerExporter
from opentelemetry.sdk.resources import SERVICE_NAME, Resource
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor
from opentelemetry.instrumentation.flask import FlaskInstrumentor
from flask import Flask

# Initialize tracer
resource = Resource(attributes={SERVICE_NAME: "my-service"})
provider = TracerProvider(resource=resource)
processor = BatchSpanProcessor(JaegerExporter(
    agent_host_name="jaeger",
    agent_port=6831,
))
provider.add_span_processor(processor)
trace.set_tracer_provider(provider)

# Instrument Flask
app = Flask(__name__)
FlaskInstrumentor().instrument_app(app)

@app.route('/api/users')
def get_users():
    tracer = trace.get_tracer(__name__)

    with tracer.start_as_current_span("get_users") as span:
        span.set_attribute("user.count", 100)
        # Business logic
        users = fetch_users_from_db()
        return {"users": users}

def fetch_users_from_db():
    tracer = trace.get_tracer(__name__)

    with tracer.start_as_current_span("database_query") as span:
        span.set_attribute("db.system", "postgresql")
        span.set_attribute("db.statement", "SELECT * FROM users")
        # Database query
        return query_database()

Read the full file on GitHub · 455 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 455 lines · 43 tokens per session scan A 473485e92f5e

Subscribe to this mod's changes

distributed-tracing is a skill published in the GitHub repository NOMARJ/sigil (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 2,510 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to distributed-tracing, differing in 84 lines, and is treated as a copy.

Related

distributed-tracing compared with skills from other repositories

distributed-tracing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
distributed-tracingNOMARJ/sigilSkill61mo agoApache-2.0A43Claude Code, Codex
d3kvercel-labs/dev3000Skill1.6k11d agoMITA54Codex
netzhinkgit/embeddedskillsSkill8164d agoMITA234Claude Code
serialzhinkgit/embeddedskillsSkill8164d agoMITA137Claude Code
gcczhinkgit/embeddedskillsSkill8164d agoMITA162Claude Code
keilzhinkgit/embeddedskillsSkill8164d agoMITA166Claude Code
probe-rszhinkgit/embeddedskillsSkill8164d agoMITA182Claude Code