Distributed Tracing
Skill files8 files

references/

scripts/

templates/

SKILL.md87 lines
1
---
2
name: distributed-tracing
3
description: >
4
Implement distributed tracing with Jaeger and Zipkin for tracking requests
5
across microservices. Use when debugging distributed systems, tracking request
6
flows, or analyzing service performance.
7
---
8
9
# Distributed Tracing
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Set up distributed tracing infrastructure with Jaeger or Zipkin to track requests across microservices and identify performance bottlenecks.
22
23
## When to Use
24
25
- Debugging microservice interactions
26
- Identifying performance bottlenecks
27
- Tracking request flows
28
- Analyzing service dependencies
29
- Root cause analysis
30
31
## Quick Start
32
33
Minimal working example:
34
35
```yaml
36
# docker-compose.yml
37
version: "3.8"
38
services:
39
jaeger:
40
image: jaegertracing/all-in-one:latest
41
ports:
42
- "5775:5775/udp"
43
- "6831:6831/udp"
44
- "16686:16686"
45
- "14268:14268"
46
networks:
47
- tracing
48
49
networks:
50
tracing:
51
```
52
53
## Reference Guides
54
55
Detailed implementations in the `references/` directory:
56
57
| Guide | Contents |
58
|---|---|
59
| [Jaeger Setup](references/jaeger-setup.md) | Jaeger Setup, Node.js Jaeger Instrumentation |
60
| [Express Tracing Middleware](references/express-tracing-middleware.md) | Express Tracing Middleware |
61
| [Python Jaeger Integration](references/python-jaeger-integration.md) | Python Jaeger Integration |
62
| [Distributed Context Propagation](references/distributed-context-propagation.md) | Distributed Context Propagation |
63
| [Zipkin Integration](references/zipkin-integration.md) | Zipkin Integration, Trace Analysis |
64
65
## Best Practices
66
67
### ✅ DO
68
69
- Sample appropriately for your traffic volume
70
- Propagate trace context across services
71
- Add meaningful span tags
72
- Log errors with spans
73
- Use consistent service naming
74
- Monitor trace latency
75
- Document trace format
76
- Keep instrumentation lightweight
77
78
### ❌ DON'T
79
80
- Sample 100% in production
81
- Skip trace context propagation
82
- Log sensitive data in spans
83
- Create excessive spans
84
- Ignore sampling configuration
85
- Use unbounded cardinality tags
86
- Deploy without testing collection
87

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…