observability-and-instrumentation

Set up OpenTelemetry, Prometheus, and logging for application monitoring.

Updated Jun 29, 2026
One-click install
npx skills add https://github.com/tuanfung/pqt-agent-skills --skill observability-and-instrumentation-tuanfung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-and-instrumentation
Source: https://github.com/tuanfung/pqt-agent-skills/tree/main/skills/observability-and-instrumentation
Command: npx skills add https://github.com/tuanfung/pqt-agent-skills --skill observability-and-instrumentation-tuanfung

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires opentelemetry, prometheus, logging, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill equips developers with tools to monitor and diagnose production code behavior, ensuring smooth operations and quick issue resolution.

Core Features & Use Cases

  • Real-time Observability: Gain insights into code performance and system health in real-time.
  • Diagnostic Tools: Provides logging, metrics, tracing, and alerting capabilities for deep debugging.
  • Use Case: Implement this Skill in a web application to monitor response times, track errors, and trigger alerts for performance anomalies.

Quick Start

Initialize instrumentation for the current application in production using the 'setup-observability' command.

Frequently Asked Questions about observability-and-instrumentation

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

FAQPage Schema
How do I implement distributed tracing and metrics for production code?

You can implement distributed tracing and metrics for production code using this Skill's comprehensive observability features. It provides logging, metrics, distributed tracing, and alerting mechanisms to enhance system reliability and maintainability.

What's the best way to set up real-time monitoring and alerting for a web application?

Real-time monitoring and alerting for a web application is best set up by initializing instrumentation to track response times, monitor errors, and trigger alerts for performance anomalies using the provided scripts and references.

Do I need OpenTelemetry and Prometheus to use this observability setup?

Yes, you need OpenTelemetry, Prometheus, and appropriate logging libraries to use this observability setup. These dependencies are required to provide the comprehensive logging, metrics, and distributed tracing capabilities.

How does instrumentation help with troubleshooting production system errors?

Instrumentation helps with troubleshooting production system errors by providing deep diagnostic tools for logging, metrics, and tracing. This allows software engineers to gain real-time insights into code performance and quickly resolve issues.

Can I use this to monitor application performance anomalies in production?

Yes, you can use this to monitor application performance anomalies in production. It equips developers with real-time observability tools to diagnose code behavior, track errors, and trigger alerts for performance issues.