Skip to content

Commit d05e052

Browse files
apmmachineapmmachine
andauthored
synchronize json schema specs (#1716)
Co-authored-by: apmmachine <[email protected]>
1 parent a7f44ac commit d05e052

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

tests/upstream/json-specs/metadata.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,14 @@
234234
"description": "Agent holds information about the APM agent capturing the event.",
235235
"type": "object",
236236
"properties": {
237+
"activation_method": {
238+
"description": "ActivationMethod of the APM agent capturing information.",
239+
"type": [
240+
"null",
241+
"string"
242+
],
243+
"maxLength": 1024
244+
},
237245
"ephemeral_id": {
238246
"description": "EphemeralID is a free format ID used for metrics correlation by agents",
239247
"type": [

tests/upstream/json-specs/span.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
}
4646
},
4747
"required": [
48+
"compression_strategy",
4849
"count",
49-
"sum",
50-
"compression_strategy"
50+
"sum"
5151
]
5252
},
5353
"context": {
@@ -871,12 +871,12 @@
871871
}
872872
},
873873
"required": [
874-
"duration",
875874
"id",
875+
"trace_id",
876876
"name",
877877
"parent_id",
878-
"trace_id",
879-
"type"
878+
"type",
879+
"duration"
880880
],
881881
"anyOf": [
882882
{

tests/upstream/json-specs/transaction.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,10 +1122,10 @@
11221122
}
11231123
},
11241124
"required": [
1125-
"duration",
1125+
"trace_id",
11261126
"id",
1127+
"type",
11271128
"span_count",
1128-
"trace_id",
1129-
"type"
1129+
"duration"
11301130
]
11311131
}

0 commit comments

Comments
 (0)