Any recommendations for some sort of application performance monitor for Nest? I'm trying to track down some high CPU usage (culprit looks like TypeORM) but I need more insight as to what each request is doing: I need to break it down by timing functions, DB calls, etc.
if it matters, this is in a fargate/containerised environment. Thanks in advance!
#Best APM for nest/node?
8 messages · Page 1 of 1 (latest)
Depends on the stack. Express, Apollo GraphQL and other defaults are usually well supported. Fastify, mercurius, not so much.
I prefer using Sentry Tracing, had some luck with Newrelic, and am trying to avoid OTEL (open telemetry), but otel is probably your best bet.
Yeah we're on Fastify / TypeORM / RDS (MySQL). Might have another look at sentry, although I note it hasn't got a direct fastify implementation (although there seem to be some posts on a manual implementation out there).
Yeah, no official fastify integration. I had the same struggle, wasn't satisfied with Newrelic/Datadog, until I eventually wrote my own little integration for Mercurius. It's not that difficult for basic tracing, but its going to be difficult trying to tie the requests to "what happens during them" (ie the span tree view/breakdown).
Also found https://autometrics.dev/ recently, but haven't tried that one yet.
u can check also insnight performance info in aws 🙂
I would say go with OpenTelemetry (and the community integration nestjs-otel) Most other tools are built on top of that anyway
I love honeycomb, easy to setup, really usefull metrics
I work with datadog in my company and we are pretty happy with it