fix: configure web-probe alert thresholds from yaml (#736)
Co-authored-by: Codex <codex@noreply.local>
This commit is contained in:
@@ -136,6 +136,10 @@ export interface HwlabRuntimeWebProbeAlertThresholdsSpec {
|
||||
readonly longLivedStreamOpenSlowMs: number;
|
||||
readonly visibleLoadingSlowMs: number;
|
||||
readonly turnTimingSampleSlackSeconds: number;
|
||||
readonly uncommandedStateChangeCommandWindowMs: number;
|
||||
readonly scrollJumpCommandWindowMs: number;
|
||||
readonly scrollJumpFromY: number;
|
||||
readonly scrollJumpToY: number;
|
||||
readonly sessionRailFallbackRatio: number;
|
||||
}
|
||||
|
||||
@@ -720,6 +724,10 @@ function webProbeAlertThresholdsConfig(value: unknown, path: string): HwlabRunti
|
||||
longLivedStreamOpenSlowMs: positiveNumberField(raw, "longLivedStreamOpenSlowMs", path),
|
||||
visibleLoadingSlowMs: positiveNumberField(raw, "visibleLoadingSlowMs", path),
|
||||
turnTimingSampleSlackSeconds: positiveNumberField(raw, "turnTimingSampleSlackSeconds", path),
|
||||
uncommandedStateChangeCommandWindowMs: positiveNumberField(raw, "uncommandedStateChangeCommandWindowMs", path),
|
||||
scrollJumpCommandWindowMs: positiveNumberField(raw, "scrollJumpCommandWindowMs", path),
|
||||
scrollJumpFromY: positiveNumberField(raw, "scrollJumpFromY", path),
|
||||
scrollJumpToY: positiveNumberField(raw, "scrollJumpToY", path),
|
||||
sessionRailFallbackRatio,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user