1
0

feat: 动态粒度趋势图,支持 auto bucket 选择 + P95 延迟 + 状态条

This commit is contained in:
2026-05-23 23:53:18 +08:00
parent 6601ab458d
commit 4f33fba793
16 changed files with 315 additions and 106 deletions

View File

@@ -11,20 +11,24 @@ describe("TrendChart", () => {
{
availability: 100,
avgDurationMs: 100,
bucketEnd: "2025-01-15T11:00:00.000Z",
bucketStart: "2025-01-15T10:00:00.000Z",
downChecks: 0,
maxDurationMs: 150,
minDurationMs: 50,
p95DurationMs: 120,
totalChecks: 10,
upChecks: 10,
},
{
availability: 95,
avgDurationMs: 120,
bucketEnd: "2025-01-15T12:00:00.000Z",
bucketStart: "2025-01-15T11:00:00.000Z",
downChecks: 1,
maxDurationMs: 200,
minDurationMs: 80,
p95DurationMs: 180,
totalChecks: 20,
upChecks: 19,
},