Closed chenhuanguang closed 1 year ago
All of the ones in this directory: https://github.com/siimon/prom-client/tree/master/lib/metrics
# HELP process_cpu_user_seconds_total Total user CPU time spent in seconds.
# TYPE process_cpu_user_seconds_total counter
process_cpu_user_seconds_total 7.812
# HELP process_cpu_system_seconds_total Total system CPU time spent in seconds.
# TYPE process_cpu_system_seconds_total counter
process_cpu_system_seconds_total 1
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 8.812
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 103387136
# HELP nodejs_eventloop_lag_seconds Lag of event loop in seconds.
# TYPE nodejs_eventloop_lag_seconds gauge
nodejs_eventloop_lag_seconds 0
# HELP nodejs_eventloop_lag_min_seconds The minimum recorded event loop delay.
# TYPE nodejs_eventloop_lag_min_seconds gauge
nodejs_eventloop_lag_min_seconds 0.008421376
# HELP nodejs_eventloop_lag_max_seconds The maximum recorded event loop delay.
# TYPE nodejs_eventloop_lag_max_seconds gauge
nodejs_eventloop_lag_max_seconds 0.821035007
# HELP nodejs_eventloop_lag_mean_seconds The mean of the recorded event loop delays.
# TYPE nodejs_eventloop_lag_mean_seconds gauge
nodejs_eventloop_lag_mean_seconds 0.01558104661905933
# HELP nodejs_eventloop_lag_stddev_seconds The standard deviation of the recorded event loop delays.
# TYPE nodejs_eventloop_lag_stddev_seconds gauge
nodejs_eventloop_lag_stddev_seconds 0.0007074103697401687
# HELP nodejs_eventloop_lag_p50_seconds The 50th percentile of the recorded event loop delays.
# TYPE nodejs_eventloop_lag_p50_seconds gauge
nodejs_eventloop_lag_p50_seconds 0.015572991
# HELP nodejs_eventloop_lag_p90_seconds The 90th percentile of the recorded event loop delays.
# TYPE nodejs_eventloop_lag_p90_seconds gauge
nodejs_eventloop_lag_p90_seconds 0.016056319
# HELP nodejs_eventloop_lag_p99_seconds The 99th percentile of the recorded event loop delays.
# TYPE nodejs_eventloop_lag_p99_seconds gauge
nodejs_eventloop_lag_p99_seconds 0.016334847
# HELP nodejs_active_handles Number of active libuv handles grouped by handle type. Every handle type is C++ class name.
# TYPE nodejs_active_handles gauge
nodejs_active_handles{type="Pipe"} 1
nodejs_active_handles{type="WriteStream"} 2
nodejs_active_handles{type="ReadStream"} 1
nodejs_active_handles{type="Socket"} 12
nodejs_active_handles{type="Server"} 1
# HELP nodejs_active_handles_total Total number of active handles.
# TYPE nodejs_active_handles_total gauge
nodejs_active_handles_total 17
# HELP nodejs_active_requests Number of active libuv requests grouped by request type. Every request type is C++ class name.
# TYPE nodejs_active_requests gauge
# HELP nodejs_active_requests_total Total number of active requests.
# TYPE nodejs_active_requests_total gauge
nodejs_active_requests_total 0
# HELP nodejs_heap_size_total_bytes Process heap size from Node.js in bytes.
# TYPE nodejs_heap_size_total_bytes gauge
nodejs_heap_size_total_bytes 70774784
# HELP nodejs_heap_size_used_bytes Process heap size used from Node.js in bytes.
# TYPE nodejs_heap_size_used_bytes gauge
nodejs_heap_size_used_bytes 62633592
# HELP nodejs_external_memory_bytes Node.js external memory size in bytes.
# TYPE nodejs_external_memory_bytes gauge
nodejs_external_memory_bytes 22942050
# HELP nodejs_heap_space_size_total_bytes Process heap space size total from Node.js in bytes.
# TYPE nodejs_heap_space_size_total_bytes gauge
nodejs_heap_space_size_total_bytes{space="read_only"} 176128
nodejs_heap_space_size_total_bytes{space="old"} 47988736
nodejs_heap_space_size_total_bytes{space="code"} 6135808
nodejs_heap_space_size_total_bytes{space="map"} 2629632
nodejs_heap_space_size_total_bytes{space="large_object"} 12795904
nodejs_heap_space_size_total_bytes{space="code_large_object"} 0
nodejs_heap_space_size_total_bytes{space="new_large_object"} 0
nodejs_heap_space_size_total_bytes{space="new"} 1048576
# HELP nodejs_heap_space_size_used_bytes Process heap space size used from Node.js in bytes.
# TYPE nodejs_heap_space_size_used_bytes gauge
nodejs_heap_space_size_used_bytes{space="read_only"} 170944
nodejs_heap_space_size_used_bytes{space="old"} 42086480
nodejs_heap_space_size_used_bytes{space="code"} 5493888
nodejs_heap_space_size_used_bytes{space="map"} 1609488
nodejs_heap_space_size_used_bytes{space="large_object"} 12495280
nodejs_heap_space_size_used_bytes{space="code_large_object"} 0
nodejs_heap_space_size_used_bytes{space="new_large_object"} 0
nodejs_heap_space_size_used_bytes{space="new"} 788568
# HELP nodejs_heap_space_size_available_bytes Process heap space size available from Node.js in bytes.
# TYPE nodejs_heap_space_size_available_bytes gauge
nodejs_heap_space_size_available_bytes{space="read_only"} 0
nodejs_heap_space_size_available_bytes{space="old"} 4983328
nodejs_heap_space_size_available_bytes{space="code"} 248704
nodejs_heap_space_size_available_bytes{space="map"} 971976
nodejs_heap_space_size_available_bytes{space="large_object"} 0
nodejs_heap_space_size_available_bytes{space="code_large_object"} 0
nodejs_heap_space_size_available_bytes{space="new_large_object"} 1031072
nodejs_heap_space_size_available_bytes{space="new"} 242504
# HELP nodejs_version_info Node.js version info.
# TYPE nodejs_version_info gauge
nodejs_version_info{version="v16.19.1",major="16",minor="19",patch="1"} 1
# HELP nodejs_gc_duration_seconds Garbage collection duration by kind, one of major, minor, incremental or weakcb.
# TYPE nodejs_gc_duration_seconds histogram
nodejs_gc_duration_seconds_bucket{le="0.001",kind="minor"} 917
nodejs_gc_duration_seconds_bucket{le="0.01",kind="minor"} 1042
nodejs_gc_duration_seconds_bucket{le="0.1",kind="minor"} 1042
nodejs_gc_duration_seconds_bucket{le="1",kind="minor"} 1042
nodejs_gc_duration_seconds_bucket{le="2",kind="minor"} 1042
nodejs_gc_duration_seconds_bucket{le="5",kind="minor"} 1042
nodejs_gc_duration_seconds_bucket{le="+Inf",kind="minor"} 1042
nodejs_gc_duration_seconds_sum{kind="minor"} 0.7831588003635406
nodejs_gc_duration_seconds_count{kind="minor"} 1042
nodejs_gc_duration_seconds_bucket{le="0.001",kind="incremental"} 125
nodejs_gc_duration_seconds_bucket{le="0.01",kind="incremental"} 127
nodejs_gc_duration_seconds_bucket{le="0.1",kind="incremental"} 127
nodejs_gc_duration_seconds_bucket{le="1",kind="incremental"} 127
nodejs_gc_duration_seconds_bucket{le="2",kind="incremental"} 127
nodejs_gc_duration_seconds_bucket{le="5",kind="incremental"} 127
nodejs_gc_duration_seconds_bucket{le="+Inf",kind="incremental"} 127
nodejs_gc_duration_seconds_sum{kind="incremental"} 0.03403419995307922
nodejs_gc_duration_seconds_count{kind="incremental"} 127
nodejs_gc_duration_seconds_bucket{le="0.001",kind="major"} 0
nodejs_gc_duration_seconds_bucket{le="0.01",kind="major"} 47
nodejs_gc_duration_seconds_bucket{le="0.1",kind="major"} 50
nodejs_gc_duration_seconds_bucket{le="1",kind="major"} 50
nodejs_gc_duration_seconds_bucket{le="2",kind="major"} 50
nodejs_gc_duration_seconds_bucket{le="5",kind="major"} 50
nodejs_gc_duration_seconds_bucket{le="+Inf",kind="major"} 50
nodejs_gc_duration_seconds_sum{kind="major"} 0.26641790032386786
nodejs_gc_duration_seconds_count{kind="major"} 50
I want to know what metrics are provided by default