Powerjob-server 服务管理端 4.3.6 版本
钟日健
2025-03-06 6147ea367bf5f25dbb694e32f6b49f1360185912
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package tech.powerjob.worker.extension;
 
import tech.powerjob.common.model.SystemMetrics;
 
/**
 * user-customized system metrics collector
 *
 * @author tjq
 * @since 2021/2/16
 */
public interface SystemMetricsCollector {
 
    /**
     * SystemMetrics, you can put your custom metrics info in the 'extra' param
     * @return SystemMetrics
     */
    SystemMetrics collect();
}