-
Notifications
You must be signed in to change notification settings - Fork 379
Open
Description
According to the TelemetryAPI docs, if you're using a more recent schema version than "2022-12-13", the record field of function and extension logs may be a string OR a JSON record.
From the code it would appear that these only support the string records. Do these need to be updated to something like serde_json::Value to handle both cases?
aws-lambda-rust-runtime/lambda-extension/src/telemetry.rs
Lines 25 to 30 in f69280e
| pub enum LambdaTelemetryRecord { | |
| /// Function log records | |
| Function(String), | |
| /// Extension log records | |
| Extension(String), |
Thanks!
Metadata
Metadata
Assignees
Labels
No labels