# How to get metrics from nodejs process

**URL:** <https://discuss.elastic.co/t/how-to-get-metrics-from-nodejs-process/353193>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [February 13, 2024, 4:43pm UTC](https://discuss.elastic.co/t/how-to-get-metrics-from-nodejs-process/353193 "2024-02-13T16:43:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [February 13, 2024, 4:43pm UTC](https://discuss.elastic.co/t/how-to-get-metrics-from-nodejs-process/353193/1 "2024-02-13T16:43:52Z")

</div>

Hey there,  
is there a way using Metricbeat v8.12.x to get metrics from a specific process endpoint (i.e. `/metrics`)?  
Below a short list of them:

```auto
process_virtual_memory_bytes 43687911424
process_heap_bytes 362074112
process_open_fds 27
process_max_fds 1048576
nodejs_eventloop_lag_seconds 0.003802945
nodejs_eventloop_lag_min_seconds 0.00032256

```

---

<div class="post-metadata">

**Author:** ![duffn](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@duffn](https://discuss.elastic.co/u/duffn)\
**Post date:** [February 14, 2024, 6:59am UTC](https://discuss.elastic.co/t/how-to-get-metrics-from-nodejs-process/353193/2 "2024-02-14T06:59:43Z")

</div>

These are the Prometheus exposition format? You can use the Prometheus module to ingest them.

> **[Prometheus module | Metricbeat Reference \[8.12\] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-prometheus.html)**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 13, 2024, 9:00am UTC](https://discuss.elastic.co/t/how-to-get-metrics-from-nodejs-process/353193/3 "2024-03-13T09:00:24Z")

</div>

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