File tree Expand file tree Collapse file tree 5 files changed +121
-0
lines changed
examples/snuba-uptime-results/1 Expand file tree Collapse file tree 5 files changed +121
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "guid" : " 54afc7ed9c53491481919c931f75bae1" ,
3+ "subscription_id" : " 5421b5df80744113a6b57014f01a3a42" ,
4+ "status" : " failure" ,
5+ "status_reason" : {
6+ "type" : " dns_error" ,
7+ "description" : " Unable to resolve hostname example.xyz"
8+ },
9+ "trace_id" : " 947efba02dac463b9c1d886a44bafc94" ,
10+ "span_id" : " 58e84098e63f42e1" ,
11+ "scheduled_check_time_ms" : 1717614062978 ,
12+ "actual_check_time_ms" : 1717614068008 ,
13+ "duration_ms" : 100 ,
14+ "request_info" : {
15+ "request_type" : " HEAD" ,
16+ "http_status_code" : 500
17+ },
18+ "organization_id" : 123 ,
19+ "project_id" : 456 ,
20+ "retention_days" : 90 ,
21+ "region_slug" : " us-east-1"
22+ }
Original file line number Diff line number Diff line change 1+ {
2+ "guid" : " 54afc7ed9c53491481919c931f75bae1" ,
3+ "subscription_id" : " 5421b5df80744113a6b57014f01a3a42" ,
4+ "status" : " success" ,
5+ "status_reason" : null ,
6+ "trace_id" : " 947efba02dac463b9c1d886a44bafc94" ,
7+ "span_id" : " 58e84098e63f42e1" ,
8+ "scheduled_check_time_ms" : 1717614062978 ,
9+ "actual_check_time_ms" : 1717614068008 ,
10+ "duration_ms" : 50 ,
11+ "request_info" : {
12+ "request_type" : " HEAD" ,
13+ "http_status_code" : 200
14+ },
15+ "organization_id" : 123 ,
16+ "project_id" : 456 ,
17+ "retention_days" : 90 ,
18+ "region_slug" : " us-east-1"
19+ }
Original file line number Diff line number Diff line change 1+ {
2+ "guid" : " 54afc7ed9c53491481919c931f75bae1" ,
3+ "subscription_id" : " 5421b5df80744113a6b57014f01a3a42" ,
4+ "status" : " failure" ,
5+ "status_reason" : {
6+ "type" : " timeout" ,
7+ "description" : " Check timed out"
8+ },
9+ "trace_id" : " 947efba02dac463b9c1d886a44bafc94" ,
10+ "span_id" : " 58e84098e63f42e1" ,
11+ "scheduled_check_time_ms" : 1717614062978 ,
12+ "actual_check_time_ms" : 1717614068008 ,
13+ "duration_ms" : 100 ,
14+ "request_info" : {
15+ "request_type" : " HEAD" ,
16+ "http_status_code" : null
17+ },
18+ "organization_id" : 123 ,
19+ "project_id" : 456 ,
20+ "retention_days" : 90 ,
21+ "region_slug" : " us-east-1"
22+ }
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " http://json-schema.org/draft-07/schema#" ,
3+ "title" : " snuba_uptime_result" ,
4+ "allOf" : [
5+ {
6+ "$ref" : " uptime-results.v1.schema.json"
7+ },
8+ {
9+ "type" : " object" ,
10+ "properties" : {
11+ "organization_id" : {
12+ "type" : " integer" ,
13+ "description" : " The organization ID associated with this check" ,
14+ "minimum" : 0
15+ },
16+ "project_id" : {
17+ "type" : " integer" ,
18+ "description" : " The project ID associated with this check" ,
19+ "minimum" : 0
20+ },
21+ "retention_days" : {
22+ "type" : " integer" ,
23+ "description" : " Number of days to retain this data" ,
24+ "minimum" : 0 ,
25+ "maximum" : 65535
26+ },
27+ "region_slug" : {
28+ "type" : [" string" , " null" ],
29+ "description" : " The region identifier where this check was performed"
30+ }
31+ },
32+ "required" : [
33+ " organization_id" ,
34+ " project_id" ,
35+ " retention_days"
36+ ]
37+ }
38+ ],
39+ "description" : " A message containing the result of the uptime check for Snuba ingestion."
40+ }
Original file line number Diff line number Diff line change 1+ topic : snuba-uptime-results
2+ description : Contains uptime monitor check results from monitoring endpoints
3+ schemas :
4+ - version : 1
5+ type : json
6+ compatibility_mode : backward
7+ resource : snuba-uptime-results.v1.schema.json
8+
9+ topic_configuration :
10+ cleanup.policy : delete
11+ retention.ms : 2592000000 # 30 days
12+ segment.bytes : 107374182 # 100MB
13+
14+ services :
15+ producers :
16+ - getsentry/sentry
17+ consumers :
18+ - snuba
You can’t perform that action at this time.
0 commit comments