Skip to content

Commit 6628f8a

Browse files
committed
feat(crons): Add "volume_detection" result to clock-tick
This will be used to inform the clock tick tasks that the tick detected an abnormal amount of check-in volume for the previous minute. Part of getsentry/sentry#79328
1 parent 8b3f584 commit 6628f8a

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"ts": 1714072962,
3+
"volume_detection": "abnormal"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"ts": 1714072962,
3+
"volume_detection": "normal"
4+
}

schemas/monitors-clock-tick.v1.schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
"ts": {
1313
"description": "The timestamp the clock ticked at.",
1414
"type": "number"
15+
},
16+
"volume_detection": {
17+
"description": "The result of the volume anomaly detection for the minute that has been ticked past.",
18+
"type": "string",
19+
"enum": ["normal", "abnormal"]
1520
}
1621
},
1722
"required": ["ts"]

0 commit comments

Comments
 (0)