Skip to content

Commit 19a619a

Browse files
author
apmmachine
authored
synchronize json schema specs (#1755)
1 parent 319f472 commit 19a619a

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed

apm-agent-core/src/test/resources/apm-server-schema/current/error.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,14 @@
529529
"object"
530530
],
531531
"properties": {
532+
"domain": {
533+
"description": "Domain of the logged in user",
534+
"type": [
535+
"null",
536+
"string"
537+
],
538+
"maxLength": 1024
539+
},
532540
"email": {
533541
"description": "Email of the user.",
534542
"type": [

apm-agent-core/src/test/resources/apm-server-schema/current/metadata.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,14 @@
486486
"object"
487487
],
488488
"properties": {
489+
"domain": {
490+
"description": "Domain of the logged in user",
491+
"type": [
492+
"null",
493+
"string"
494+
],
495+
"maxLength": 1024
496+
},
489497
"email": {
490498
"description": "Email of the user.",
491499
"type": [

apm-agent-core/src/test/resources/apm-server-schema/current/transaction.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,14 @@
528528
"object"
529529
],
530530
"properties": {
531+
"domain": {
532+
"description": "Domain of the logged in user",
533+
"type": [
534+
"null",
535+
"string"
536+
],
537+
"maxLength": 1024
538+
},
531539
"email": {
532540
"description": "Email of the user.",
533541
"type": [
@@ -699,6 +707,31 @@
699707
"boolean"
700708
]
701709
},
710+
"session": {
711+
"description": "Session holds optional transaction session information for RUM.",
712+
"type": [
713+
"null",
714+
"object"
715+
],
716+
"properties": {
717+
"id": {
718+
"description": "ID holds a session ID for grouping a set of related transactions.",
719+
"type": "string",
720+
"maxLength": 1024
721+
},
722+
"sequence": {
723+
"description": "Sequence holds an optional sequence number for a transaction within a session. It is not meaningful to compare sequences across two different sessions.",
724+
"type": [
725+
"null",
726+
"integer"
727+
],
728+
"minimum": 1
729+
}
730+
},
731+
"required": [
732+
"id"
733+
]
734+
},
702735
"span_count": {
703736
"description": "SpanCount counts correlated spans.",
704737
"type": "object",

0 commit comments

Comments
 (0)