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

Merged
merged 7 commits into from
Nov 4, 2024
Merged

Switch to the new Telemetry API #29

merged 7 commits into from
Nov 4, 2024

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
@dasfmi dasfmi force-pushed the use-aws-telemetry-api branch from 7298da5 to 226ff09 Compare August 6, 2024 09:52
@dasfmi dasfmi requested a review from a-khaledf October 16, 2024 08:59
@dasfmi dasfmi merged commit 7add6a4 into main Nov 4, 2024
7 checks passed
@dasfmi dasfmi deleted the use-aws-telemetry-api branch November 4, 2024 11:38
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