-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34465e5
commit 1375b12
Showing
1 changed file
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} | ||
} | ||
} |