libtelemetry

Capture RFC 5424 structured logs and distributed traces across microservices.

1|1|Updated Aug 7, 2025
One-click install
npx skills add https://github.com/copilot-ld/copilot-ld --skill libtelemetry
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: libtelemetry
Source: https://github.com/copilot-ld/copilot-ld/tree/main/packages/libtelemetry
Command: npx skills add https://github.com/copilot-ld/copilot-ld --skill libtelemetry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Instrument microservices by capturing RFC 5424 structured logs and distributed traces to improve observability.

Core Features & Use Cases

  • RFC 5424 compliant structured logging via Logger and createLogger.
  • Distributed tracing with Tracer to create spans and propagate context across services.
  • Trace visualization with TraceVisualizer and TraceIndex for storing and rendering traces.
  • observe function for timing and instrumentation around operations.

Quick Start

Create a logger for your service and wrap a request with a tracer to capture timing and trace context.

Frequently Asked Questions about libtelemetry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture distributed traces across microservices?▼

Capture distributed traces across microservices using a Tracer to create spans and propagate trace context across service boundaries, enabling precise timing and visual debugging for complex interactions.

What is RFC 5424 structured logging and how do I generate compliant logs?▼

RFC 5424 structured logging standardizes syslog protocol messages for consistent machine-readable output. Generate compliant logs by creating a Logger instance for your service and emitting structured log entries through it.

How do I instrument operations to measure execution timing in Node.js?▼

Instrument operations to measure execution timing by wrapping functions with an observe function, which provides precise operation instrumentation and timing capture around specific code blocks within your microservices.

Can I visualize and store OpenTelemetry traces for debugging?▼

Yes, you can visualize and store OpenTelemetry traces using TraceVisualizer and TraceIndex components, which render distributed traces and store them for visual debugging of complex service interactions.

Do I need any external dependencies to implement OpenTelemetry tracing and observability?▼

No external dependencies are required to implement OpenTelemetry tracing and observability. The library self-contains Logger creation, Tracer span management, and TraceVisualizer integration without external package prerequisites.