Skip to content

Do the TelemetryAPI records support JSON record fields? #977

Open
@mheffner

Description

@mheffner

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?

pub enum LambdaTelemetryRecord {
/// Function log records
Function(String),
/// Extension log records
Extension(String),

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions