Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to the new Telemetry API #29

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

dasfmi
Copy link
Collaborator

@dasfmi dasfmi commented Jun 26, 2024

AWS provides a new Lambda Telemetry API instead of the logs API and they recommend using the telemetry API moving forward.

Extensions can use the Telemetry API to subscribe to three different telemetry streams:

  • Platform telemetry – Logs, metrics, and traces, which describe events and errors related to the execution environment runtime lifecycle, extension lifecycle, and function invocations.
  • Function logs – Custom logs that the Lambda function code generates.
  • Extension logs – Custom logs that the Lambda extension code generates.

This PR provides implementation for the new API, without parsing any messages!.

@dasfmi dasfmi marked this pull request as draft June 26, 2024 10:27
@dasfmi dasfmi marked this pull request as ready for review July 8, 2024 08:07
@dasfmi dasfmi changed the title test AWS telemetry API Switch to the new Telemetry API Aug 5, 2024
@dasfmi dasfmi requested a review from pecigonzalo August 5, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant