|
10 | 10 | "additionalProperties": true, |
11 | 11 | "properties": { |
12 | 12 | "event_id": { |
13 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/UUID" |
| 13 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/UUID" |
14 | 14 | }, |
15 | 15 | "organization_id": { |
16 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/UInt" |
| 16 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/UInt" |
17 | 17 | }, |
18 | 18 | "project_id": { |
19 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/UInt" |
| 19 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/UInt" |
20 | 20 | }, |
21 | 21 | "key_id": { |
22 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/UInt" |
| 22 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/UInt" |
23 | 23 | }, |
24 | 24 | "trace_id": { |
25 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/UUID", |
| 25 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/UUID", |
26 | 26 | "description": "The trace ID is a unique identifier for a trace. It is a 16 byte hexadecimal string." |
27 | 27 | }, |
28 | 28 | "span_id": { |
29 | 29 | "type": "string", |
30 | 30 | "description": "The span ID is a unique identifier for a span within a trace. It is an 8 byte hexadecimal string." |
31 | 31 | }, |
32 | 32 | "parent_span_id": { |
33 | | - "type": ["string", "null"], |
| 33 | + "type": [ |
| 34 | + "string", |
| 35 | + "null" |
| 36 | + ], |
34 | 37 | "description": "The parent span ID is the ID of the span that caused this span. It is an 8 byte hexadecimal string." |
35 | 38 | }, |
36 | 39 | "start_timestamp": { |
37 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/PositiveFloat", |
| 40 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/PositiveFloat", |
38 | 41 | "description": "UNIX timestamp in seconds with fractional part up to microsecond precision." |
39 | 42 | }, |
40 | 43 | "end_timestamp": { |
41 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/PositiveFloat", |
| 44 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/PositiveFloat", |
42 | 45 | "description": "UNIX timestamp in seconds with fractional part up to microsecond precision." |
43 | 46 | }, |
44 | 47 | "retention_days": { |
45 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/UInt16" |
| 48 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/UInt16" |
46 | 49 | }, |
47 | 50 | "downsampled_retention_days": { |
48 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/UInt16" |
| 51 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/UInt16" |
49 | 52 | }, |
50 | 53 | "received": { |
51 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/PositiveFloat", |
| 54 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/PositiveFloat", |
52 | 55 | "description": "Unix timestamp when the span was received by Sentry." |
53 | 56 | }, |
54 | 57 | "name": { |
55 | 58 | "type": "string" |
56 | 59 | }, |
57 | 60 | "status": { |
58 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/SpanStatus" |
| 61 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/SpanStatus" |
59 | 62 | }, |
60 | 63 | "is_remote": { |
61 | 64 | "type": "boolean" |
62 | 65 | }, |
63 | 66 | "kind": { |
64 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/SpanKind" |
| 67 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/SpanKind" |
65 | 68 | }, |
66 | 69 | "links": { |
67 | 70 | "type": "array", |
68 | 71 | "items": { |
69 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/SpanLink" |
| 72 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/SpanLink" |
70 | 73 | } |
71 | 74 | }, |
72 | 75 | "attributes": { |
73 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/Attributes" |
| 76 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/Attributes" |
74 | 77 | } |
75 | 78 | }, |
76 | 79 | "required": [ |
|
112 | 115 | }, |
113 | 116 | "SpanStatus": { |
114 | 117 | "type": "string", |
115 | | - "enum": ["ok", "error"] |
| 118 | + "enum": [ |
| 119 | + "ok", |
| 120 | + "error" |
| 121 | + ] |
116 | 122 | }, |
117 | 123 | "SpanKind": { |
118 | 124 | "type": "string", |
119 | | - "enum": ["internal", "server", "client", "producer", "consumer"] |
| 125 | + "enum": [ |
| 126 | + "internal", |
| 127 | + "server", |
| 128 | + "client", |
| 129 | + "producer", |
| 130 | + "consumer" |
| 131 | + ] |
120 | 132 | }, |
121 | 133 | "SpanLink": { |
122 | 134 | "type": "object", |
123 | 135 | "title": "span_link", |
124 | 136 | "additionalProperties": true, |
125 | 137 | "properties": { |
126 | 138 | "trace_id": { |
127 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/UUID" |
| 139 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/UUID" |
128 | 140 | }, |
129 | 141 | "span_id": { |
130 | 142 | "type": "string" |
131 | 143 | }, |
132 | 144 | "attributes": { |
133 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/Attributes" |
| 145 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/Attributes" |
134 | 146 | }, |
135 | 147 | "sampled": { |
136 | 148 | "type": "boolean" |
137 | 149 | } |
138 | 150 | }, |
139 | | - "required": ["trace_id", "span_id"] |
| 151 | + "required": [ |
| 152 | + "trace_id", |
| 153 | + "span_id" |
| 154 | + ] |
140 | 155 | }, |
141 | 156 | "Attributes": { |
142 | 157 | "type": "object", |
143 | 158 | "additionalProperties": { |
144 | | - "$ref": "./ingest-spans.v1.schema.json#/definitions/AttributeValue" |
| 159 | + "$ref": "file://./ingest-spans.v1.schema.json#/definitions/AttributeValue" |
145 | 160 | } |
146 | 161 | }, |
147 | 162 | "AttributeValue": { |
|
155 | 170 | "type": ["number", "null", "string", "boolean"] |
156 | 171 | } |
157 | 172 | }, |
158 | | - "required": ["type", "value"] |
| 173 | + "required": [ |
| 174 | + "type", |
| 175 | + "value" |
| 176 | + ] |
159 | 177 | } |
160 | 178 | } |
161 | 179 | } |
0 commit comments