I want to integrate metrics into my nestjs application. I intend to deploy using kubernetes and have prometheus+grafana at the cluster level for server metrics around response times, requests/s, pod resource usage... etc.
Also at the application level so I can have custom metrics (like requests made to 3rd party API, cache hit/miss rates etc).
I've been looking at tutorials but because of the variety of ways it can be done I'm hesitant to start using a particular library or method incase they are outdated or not considered best-practice. Nestjs officials docs also don't seem to promote any particular way.