observability

Implement structured logging, distributed tracing, metrics, and health checks.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/saajunaid/junai --skill observability-saajunaid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability
Source: https://github.com/saajunaid/junai/tree/main/.github/skills/coding/observability
Command: npx skills add https://github.com/saajunaid/junai --skill observability-saajunaid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Improve production observability by providing structured logging, distributed tracing, metrics, health checks, and error tracking to diagnose issues faster and reduce MTTR.

Core Features & Use Cases

  • Structured Logging: JSON logs with correlation IDs and PII redaction for reliable parsing.
  • Distributed Tracing: OpenTelemetry-based tracing across services for end-to-end visibility.
  • Metrics & Health Checks: RED-based metrics and health endpoints to monitor service health.
  • Error Tracking: Sentry integration to capture and triage errors.

Quick Start

Configure your service to initialize structured logging, tracing, and metrics emission, then verify end-to-end visibility across a simple request flow.

Frequently Asked Questions about observability

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

FAQPage Schema
How do I set up distributed tracing with OpenTelemetry across my services?

Distributed tracing with OpenTelemetry provides end-to-end visibility across your services. You configure your service to initialize tracing, which allows you to track requests flows and diagnose issues faster.

What is structured logging and how does it help with production observability?

Structured logging outputs JSON logs with correlation IDs and PII redaction. This format ensures reliable parsing and helps diagnose production issues faster by providing clear, searchable log data.

How do I implement RED-based metrics and health checks to monitor service health?

Implementing RED-based metrics and health checks involves configuring your service to expose health endpoints. This monitors service health continuously by tracking rate, errors, and duration.

Can I use Sentry for error tracking to reduce my mean time to resolution?

Yes, Sentry integration captures and triages errors to reduce MTTR. It works alongside structured logging and distributed tracing to provide comprehensive production observability.

What's the best way to verify end-to-end visibility for a simple request flow?

The best way to verify end-to-end visibility is to configure your service to initialize structured logging, tracing, and metrics emission, then trace a simple request flow across services.

Do I need to configure PII redaction manually for JSON logs?

PII redaction for JSON logs is built into the structured logging feature. This ensures reliable parsing while protecting sensitive information without requiring separate manual configuration.