Stops the background skip metrics collection service
Terminates the scheduled background aggregation process and
cleans up resources. This function should be called when the
application is shutting down or when aggregation needs to be
temporarily suspended.
Returns void
Example
// Stop collection during application shutdown stopSkipMetricsCollection();
Source
exportfunctionstopSkipMetricsCollection() { if (aggregationInterval) { clearInterval(aggregationInterval); aggregationInterval = null; }
Stops the background skip metrics collection service
Terminates the scheduled background aggregation process and cleans up resources. This function should be called when the application is shutting down or when aggregation needs to be temporarily suspended.