nestjs-app-metrics

Installation
SKILL.md

NestJS Application Metrics via OpenTelemetry

What This Skill Covers

This skill adds application-level metrics to a NestJS app using the OpenTelemetry SDK, pushing them through an OTel Collector into Prometheus. It is organized in progressive stages, from foundational to advanced.

Scope boundary: This skill covers metrics only. Not logging, not tracing. Infrastructure metrics (container resources, host stats, database server stats, Redis server stats) come from their respective exporters and community Grafana dashboards. This skill covers what those exporters cannot see: request-level behavior, business events, runtime internals, and domain-specific KPIs as observed from inside your application.

Prerequisites

  • NestJS application
  • OpenTelemetry Collector running and reachable from the app
  • Prometheus configured as an export target from the Collector
  • Grafana connected to Prometheus as a data source

Architecture

Related skills
Installs
1
First Seen
Mar 6, 2026