Skip to content

Commit

Permalink
synchronize json schema specs (#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
apmmachine authored Nov 17, 2021
1 parent 98763b8 commit fe066b0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/apmschema/jsonschema/error.json
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,14 @@
"object"
],
"properties": {
"name": {
"description": "Name is the generic designation of a transaction in the scope of a single service, eg: 'GET /users/:id'.",
"type": [
"null",
"string"
],
"maxLength": 1024
},
"sampled": {
"description": "Sampled indicates whether or not the full information for a transaction is captured. If a transaction is unsampled no spans and less context information will be reported.",
"type": [
Expand Down
25 changes: 25 additions & 0 deletions internal/apmschema/jsonschema/metricset.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,31 @@
}
}
},
"service": {
"description": "Service holds selected information about the correlated service.",
"type": [
"null",
"object"
],
"properties": {
"name": {
"description": "Name of the correlated service.",
"type": [
"null",
"string"
],
"maxLength": 1024
},
"version": {
"description": "Version of the correlated service.",
"type": [
"null",
"string"
],
"maxLength": 1024
}
}
},
"span": {
"description": "Span holds selected information about the correlated transaction.",
"type": [
Expand Down

0 comments on commit fe066b0

Please sign in to comment.