NodeJS
Setup
The Prometheus NodeJS Exporter needs to be set up. For e.g.
Metrics and Key Performance Indicators (KPIs)
Metric | KPI |
Memory
| Utilization in k8s
Utilization in non k8s
|
CPU
| Utilization in k8s
Utilization in non k8s
|
Dashboard
In addition to the above KPIs, the following NodeJS runtime metrics are visualized in the KPI Dashboard
Heap Usage
nodejs_heap_size_total_bytes
nodejs_heap_size_used_bytes
nodejs_heap_space_size_used_bytes
Event loop Latency
nodejs_eventloop_lag_seconds
nodejs_eventloop_lag_p99_seconds
GC Duration and Count
rate(nodejs_gc_duration_seconds_sum[5m])
rate(nodejs_gc_duration_seconds_count[5m])
Active Handles and Requests
nodejs_active_handles_total
nodejs_active_reqeuests_total
File Handles
process_open_fds
process_max_fds
Dashboard
Last updated