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

Labels in Prometheus Metrics

Arrange the elements of a Counter definition with labelNames in the correct order

Items to click

  • labelNames: ['method', 'route', 'status'] })
  • new Counter({
  • name: 'http_requests_total',
  • help: 'Total HTTP requests',

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