Node.js Monitoring

Hi there,

We're happily using APM with our multiple Node.js apps, but we would really like to monitor Node metrics as well.

A few data we'd like to see are:

  • event loop delay
  • cpu usage
  • memory usage
  • active event handlers

I came accross https://github.com/RuntimeTools/appmetrics & https://github.com/RuntimeTools/appmetrics-elk but the ELK bridge seems to be unmaintained and outdated.

Is this something you plan to add to APM or is there an alternate way of tracking those that you would recommend ?

Thanks,
Jérémie

Hi Jérémie

Good question. Yes, we're currently working on adding metric support to Elastic APM. Specifically which metrics we'll track in the first iteration is still undecided, but I personally would like to see all the metrics you mentioned to be tracked at some point.

There's no release date yet, but keep an eye on the Elastic APM release notes.

Best,
Thomas

1 Like

Btw, if you'd like to follow the metrics implementation in the Node.js agent more closely, you can keep an eye on this GitHub issue: https://github.com/elastic/apm-agent-nodejs/issues/422

Just bear in mind that even when this issue is resolved and released, it doesn't necessarily mean that the metrics feature is available in the APM UI in Kibana yet (as we might release a feature in the agent some time before the Kibana release, or the Kibana implementation might be delayed for other reasons). But you can of course always create a custom Kibana dashboard in that case.

Cool, starting with our custom dashboard would be a good enough solution for now.
I'll be following this issue then, thanks!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.