Coding task · NestJS course · Module 8: Caching and Performance

Practice: Memory Monitoring

Implement an endpoint that monitors application memory usage.

Task

Create a /metrics endpoint returning heapUsed, heapTotal, rss, and uptime