Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/setting-up-distributed-tracing

@0d57af8
Run it yourself

Execute this skill automates the setup of distributed tracing for microservices. it helps developers implement end-to-end request visibility by configuring context propagation, span creation, trace collection, and analysis. use this skill when the user re... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/setting-up-distributed-tracing

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈96 tokens for metadata: the name and description. ≈733 when used: this file. ≈165 more on demand in 3 files.

Description uses 4.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈384 characters, or 4.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Distributed Tracing Setup

Set up distributed tracing for microservices using OpenTelemetry, Jaeger, or Zipkin with context propagation, span creation, and trace collection configuration.

Overview

This skill streamlines the process of setting up distributed tracing in a microservices environment. It guides you through the key steps of instrumenting your services, configuring trace context propagation, and selecting a backend for trace collection and analysis, enabling comprehensive monitoring and debugging.

How It Works

  1. Backend Selection: Determines the preferred tracing backend (e.g., Jaeger, Zipkin, Datadog).
  2. Instrumentation Strategy: Designs an instrumentation strategy for each service, focusing on key operations and dependencies.
  3. Configuration Generation: Generates the necessary configuration files and code snippets to enable distributed tracing.

When to Use This Skill

This skill activates when you need to:

  • Implement distributed tracing in a microservices application.
  • Gain end-to-end visibility into request flows across multiple services.
  • Troubleshoot performance bottlenecks and latency issues.

Examples

Example 1: Adding Tracing to a New Microservice

User request: "setup tracing for the new payment service"

The skill will:

  1. Prompt for the preferred tracing backend (e.g., Jaeger).
  2. Generate code snippets for OpenTelemetry instrumentation in the payment service.

Example 2: Troubleshooting Performance Issues

User request: "implement distributed tracing to debug slow checkout process"

The skill will:

  1. Guide the user through instrumenting relevant services in the checkout flow.
  2. Provide configuration examples for context propagation.

Best Practices

  • Backend Choice: Select a tracing backend that aligns with your existing infrastructure and monitoring tools.
  • Sampling Strategy: Implement a sampling strategy to manage trace volume and cost, especially in high-traffic environments.
  • Context Propagation: Ensure proper context propagation across all services to maintain trace continuity.

Integration

This skill can be used in conjunction with other plugins to automate the deployment and configuration of tracing infrastructure. For example, it can integrate with infrastructure-as-code tools to provision Jaeger or Zipkin clusters.

Prerequisites

  • Appropriate file access permissions
  • Required dependencies installed

Instructions

  1. Invoke this skill when the trigger conditions are met
  2. Provide necessary context and parameters
  3. Review the generated output
  4. Apply modifications as needed

Output

The skill produces structured output relevant to the task.

Error Handling

  • Invalid input: Prompts for correction
  • Missing dependencies: Lists required components
  • Permission errors: Suggests remediation steps

Resources

  • Project documentation
  • Related skills and commands

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill automates distributed tracing setup and is generally safe, though it contains a potential surface for indirect prompt injection. The initialization script fails to validate user-supplied project names, which could allow for directory traversal and file creation in unintended locations if malicious input is provided.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files Runs commands
version
1.22.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "performance",
  "microservices",
  "tracing"
]
All 6 allowed tools
ReadWriteEditGrepGlobBash(cmd:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/setting-up-distributed-tracing