Files
powerjob-kingbase/powerjob-common/src/main/java/tech/powerjob/common/model/AlarmConfig.java
2025-09-19 16:14:08 +08:00

29 lines
507 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package tech.powerjob.common.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author Echo009
* @since 2022/1/25
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AlarmConfig {
/**
* 触发告警的阈值
*/
private Integer alertThreshold;
/**
* 统计的窗口长度s
*/
private Integer statisticWindowLen;
/**
* 沉默时间窗口s
*/
private Integer silenceWindowLen;
}