Crate pingap_performance

Source

Structs§

ProcessSystemInfo

Constants§

LOG_CATEGORY

Functions§

accept_request
Increments the request acceptance and processing counters. This should be called when a new request is received to track request metrics.
end_request
Decrements the request processing counter when a request completes. This should be called when a request finishes processing to maintain accurate metrics.
get_process_system_info
Gathers and returns system information including memory usage, CPU details, process statistics and network connection counts
get_processing_accepted
Returns a tuple of (currently processing requests, total accepted requests).
new_performance_metrics_log_service
Creates a new service that periodically logs performance metrics Returns a tuple of (service name, service task)