Nestjs observability

From HoangNguyen0403/agent-skills-standard · View interactive version

Nestjs observability is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Configure structured logging with Pino, Prometheus metrics, and health checks for NestJS services. Use when adding JSON logging, request tracing with correlation IDs, Prometheus metric endpoints, or liveness/readiness health checks.

How to use this skill

Skill file

Observability Standards

**Priority: P1 (HIGH)**

Structured Logging (Pino)

Use nestjs-pino for high-performance, async JSON logging. Node's console.log blocking and unstructured.

See implementation examples

Tracing (Correlation)

Metrics

Expose /metrics for Prometheus scraping using @willsoto/nestjs-prometheus.

See implementation examples

Health Checks

Performance Headers (Dev Only)

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.