Function psyiage_metric_enable_poll_system_resources¶
Defined in File psyiagesdk.h
Function Documentation¶
-
PSYIAGE_API int
psyiage_metric_enable_poll_system_resources
(psyiage_handle handle, int periodms)¶ Enable system resource polling.
Start a thread that will automatically collect system resource metrics (eg. CPU usage, memory usage) and push to the psyiage instance.
- Return
If successful, PSYIAGE_ERROR_SUCCESS. Otherwise, a non-zero error code
- Parameters
handle
: - A handle to the psyiage instanceperiodms
: - The polling interval in milliseconds. If set to zero, polling is disabled.