Skip to content

Commit 810c0df

Browse files
committed
fix
1 parent c6c57cd commit 810c0df

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
/topics/monitors-incident-occurrences.yaml @getsentry/crons
7272

7373
# Topics related to uptime
74+
/topics/snuba-uptime-results.yaml @getsentry/crons
7475
/topics/uptime-results.yaml @getsentry/crons
7576
/topics/uptime-configs.yaml @getsentry/crons
7677

@@ -88,6 +89,7 @@
8889
/schemas/monitors-clock-tick.v1.schema.json @getsentry/crons
8990
/schemas/monitors-clock-tasks.v1.schema.json @getsentry/crons
9091
/schemas/uptime-results.v1.schema.json @getsentry/crons
92+
/schemas/uptime-results.v1.schema.json @getsentry/crons
9193
/schemas/uptime-configs.v1.schema.json @getsentry/crons
9294
/schemas/taskworker.v1.schema.json @getsentry/hybrid-cloud
9395

@@ -107,6 +109,7 @@
107109
/examples/monitors-clock-tasks/ @getsentry/crons
108110
/examples/uptime-results/ @getsentry/crons
109111
/examples/uptime-configs/ @getsentry/crons
112+
/examples/snuba-uptime-results/ @getsentry/crons
110113
/examples/taskworker/ @getsentry/taskworker
111114

112115
# Internal Snuba topics

schemas/snuba-uptime-results.v1.schema.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"title": "snuba_uptime_result",
4+
"definitions": {
5+
"CheckStatus": {
6+
"$ref": "uptime-results.v1.schema.json#/definitions/CheckStatus"
7+
},
8+
"CheckStatusReason": {
9+
"$ref": "uptime-results.v1.schema.json#/definitions/CheckStatusReason"
10+
},
11+
"CheckStatusReasonType": {
12+
"$ref": "uptime-results.v1.schema.json#/definitions/CheckStatusReasonType"
13+
},
14+
"RequestInfo": {
15+
"$ref": "uptime-results.v1.schema.json#/definitions/RequestInfo"
16+
},
17+
"RequestType": {
18+
"$ref": "uptime-results.v1.schema.json#/definitions/RequestType"
19+
}
20+
},
421
"allOf": [
522
{
6-
"$ref": "uptime-results.v1.schema.json"
23+
"$ref": "uptime-results.v1.schema.json#/definitions/CheckResult"
724
},
825
{
926
"type": "object",

topics/snuba-uptime-results.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
topic: snuba-uptime-results
22
description: Contains uptime monitor check results from monitoring endpoints
3+
pipeline: uptime
34
schemas:
45
- version: 1
56
type: json
67
compatibility_mode: backward
78
resource: snuba-uptime-results.v1.schema.json
9+
examples:
10+
- snuba-uptime-results/1/
811

912
topic_configuration:
1013
cleanup.policy: delete

0 commit comments

Comments
 (0)