logging-observability

Implement structured logging, OpenTelemetry tracing, and Grafana alerting for production applications.

181|30|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/curiositech/some_claude_skills --skill logging-observability-curiositech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: logging-observability
Source: https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/logging-observability
Command: npx skills add https://github.com/curiositech/some_claude_skills --skill logging-observability-curiositech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill establishes a robust observability stack for production applications, enabling detailed monitoring, debugging, and alerting.

Core Features & Use Cases

  • Structured Logging: Implements JSON logging with PII redaction for security and compliance.
  • Distributed Tracing: Sets up correlation IDs and OpenTelemetry for end-to-end request tracing.
  • Metrics & Alerting: Defines SLIs/SLOs and integrates with Grafana and PagerDuty for actionable alerts.
  • Use Case: Debugging a slow payment transaction across multiple microservices by tracing its path and examining logs at each hop.

Quick Start

Use the logging-observability skill to set up structured logging and distributed tracing for a new Node.js service.

Frequently Asked Questions about logging-observability

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

FAQPage Schema
How do I set up distributed tracing to debug slow requests across microservices?

Distributed tracing uses correlation IDs and OpenTelemetry to track requests across microservices, allowing you to follow a transaction path and inspect logs at each hop to identify performance bottlenecks.

What is the best way to implement structured logging with PII redaction?

Structured logging outputs application events in JSON format while applying PII redaction to mask sensitive data, ensuring your logs remain secure and compliant without sacrificing detailed debugging context.

How do I configure metrics and alerting to meet service level objectives?

Define service level indicators and objectives as metrics, then integrate with monitoring tools like Grafana and PagerDuty to trigger actionable alerts when application health drops below your defined thresholds.

Does OpenTelemetry work with Grafana and PagerDuty for production observability?

Yes, OpenTelemetry handles distributed tracing and data collection, which integrates with Grafana for visualization and PagerDuty for alerting, creating a complete production observability and monitoring stack.

Can I use this observability setup for a new Node.js service?

Yes, you can apply this observability stack to a new Node.js service to immediately establish structured logging, distributed tracing, and metrics-based alerting for production monitoring.

Why do I need correlation IDs in my application logs?

Correlation IDs link related log entries across different services, enabling distributed tracing to reconstruct the full path of a single request for effective debugging in complex microservice architectures.