@stephen-shopopop/node-metrics
    Preparing search index...

    Type Alias MetricProperties

    MetricProperties:
        | "event_loop_delay_milliseconds"
        | "event_loop_utilized"
        | "heap_used_bytes"
        | "heap_total_bytes"
        | "rss_bytes"
        | "external_bytes"
        | "array_buffers_bytes"
        | "process_start_time_seconds"
        | "process_cpu_user_seconds_total"
        | "process_cpu_system_seconds_total"
        | "process_cpu_seconds_total"
        | "process_pid"

    Represents the set of supported metric property names for Node.js process and runtime monitoring.

    Each property corresponds to a specific metric:

    • event_loop_delay_milliseconds: Measures the event loop delay in milliseconds.
    • event_loop_utilized: Indicates the proportion of time the event loop is active.
    • heap_used_bytes: The number of bytes used in the V8 heap.
    • heap_total_bytes: The total size of the V8 heap in bytes.
    • rss_bytes: Resident Set Size, the total memory allocated for the process.
    • external_bytes: Memory used by C++ objects bound to JavaScript objects managed by V8.
    • array_buffers_bytes: Memory allocated for ArrayBuffers and SharedArrayBuffers.
    • process_start_time_seconds: The process start time in seconds since the Unix epoch.
    • process_cpu_user_seconds_total: Total user CPU time spent by the process in seconds.
    • process_cpu_system_seconds_total: Total system CPU time spent by the process in seconds.
    • process_cpu_seconds_total: Total CPU time (user + system) spent by the process in seconds.
    • process_pid: The process identifier (PID).