Skip to content

Commit

Permalink
synchronize json schema specs
Browse files Browse the repository at this point in the history
  • Loading branch information
apmmachine authored and SergeyKleyman committed Sep 10, 2022
1 parent 34465e5 commit 1375b12
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions tests/APM_Server_intake_API_schema/latest_used/log.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"$id": "docs/spec/v2/log",
"type": "object",
"properties": {
"@timestamp": {
"description": "Timestamp holds the recorded time of the event, UTC based and formatted as microseconds since Unix epoch",
"type": [
"null",
"integer"
]
},
"faas": {
"description": "FAAS holds fields related to Function as a Service events.",
"type": [
"null",
"object"
],
"properties": {
"coldstart": {
"description": "Indicates whether a function invocation was a cold start or not.",
"type": [
"null",
"boolean"
]
},
"execution": {
"description": "The request id of the function invocation.",
"type": [
"null",
"string"
]
},
"id": {
"description": "A unique identifier of the invoked serverless function.",
"type": [
"null",
"string"
]
},
"name": {
"description": "The lambda function name.",
"type": [
"null",
"string"
]
},
"trigger": {
"description": "Trigger attributes.",
"type": [
"null",
"object"
],
"properties": {
"request_id": {
"description": "The id of the origin trigger request.",
"type": [
"null",
"string"
]
},
"type": {
"description": "The trigger type.",
"type": [
"null",
"string"
]
}
}
},
"version": {
"description": "The lambda function version.",
"type": [
"null",
"string"
]
}
}
},
"message": {
"description": "Message logged as part of the log. In case a parameterized message is captured, Message should contain the same information, but with any placeholders being replaced.",
"type": [
"null",
"string"
]
}
}
}

0 comments on commit 1375b12

Please sign in to comment.