Put in order · NestJS course · Module 6: Error Handling and Monitoring

NestJS Monitoring Setup Steps

Order the steps for implementing Prometheus monitoring in a NestJS application from installation to visualization

Items to put in order

  • Define metrics (Counter, Histogram)
  • Configure the Prometheus scraper
  • Visualize metrics in Grafana
  • Create the /metrics endpoint
  • Install the prom-client package

You can check the correct answer by solving this task in the CodeWorlds game.