Skip to content

Feature request: Lambda Telemetry API support #94

Description

@jfuss

Originally created by @hooverdc here. I wasn't able to move the issue so creating a new one and linking.

Describe your idea/feature/enhancement

I wish SAM CLI would support the Lambda Telemetry API

Proposal

Provide a mock endpoint similar to the Lambda Logs API in the Lambda runtime images.

SAM CLI would need support in RIE to make this achievable within the emulation images.

Activity

  1. kmcquade commented on Apr 21, 2024

    @kmcquade

    Just a +1 here. It would be great to have this. Right now, our SAM Local invoke won't work if we have OpenTelemetry in use by our Lambdas.

    A lot of other folks are dealing with this. See here: aws/aws-sam-cli#4570

    Looks like it's not possible to use Localstack as a workaround either: localstack/localstack#9617

  2. astuyve commented on Aug 14, 2024

    @astuyve

    I've had to emulate the telemetry API myself in order to properly execute our Lambda Extension, which is fine – but first-class support for something so crucial to the ecosystem would be warmly welcomed by the community.

  3. distinctdan commented on Aug 23, 2024

    @distinctdan

    +1, this causes DataDog's lambda extension to hang indefinitely. I could potentially write conditional code to only run it when not running locally, but that kind of defeats the point of sam's local support. DataDog/datadog-lambda-go#176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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