Skip to content

Commit 465fbc2

Browse files
apmmachineapmmachine
andauthored
synchronize json schema specs (#1168)
Co-authored-by: apmmachine <[email protected]>
1 parent 8387a7d commit 465fbc2

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

tests/upstream/json-specs/span.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,11 @@
111111
],
112112
"properties": {
113113
"name": {
114-
"description": "Name is the identifier for the destination service, e.g. 'http://elastic.co', 'elasticsearch', 'rabbitmq'",
115-
"type": "string",
114+
"description": "Name is the identifier for the destination service, e.g. 'http://elastic.co', 'elasticsearch', 'rabbitmq' ( DEPRECATED: this field will be removed in a future release",
115+
"type": [
116+
"null",
117+
"string"
118+
],
116119
"maxLength": 1024
117120
},
118121
"resource": {
@@ -121,15 +124,16 @@
121124
"maxLength": 1024
122125
},
123126
"type": {
124-
"description": "Type of the destination service, e.g. db, elasticsearch. Should typically be the same as span.type.",
125-
"type": "string",
127+
"description": "Type of the destination service, e.g. db, elasticsearch. Should typically be the same as span.type. DEPRECATED: this field will be removed in a future release",
128+
"type": [
129+
"null",
130+
"string"
131+
],
126132
"maxLength": 1024
127133
}
128134
},
129135
"required": [
130-
"name",
131-
"resource",
132-
"type"
136+
"resource"
133137
]
134138
}
135139
}

0 commit comments

Comments
 (0)