Skip to content

Conversation

@lym953
Copy link
Contributor

@lym953 lym953 commented Nov 13, 2025

Overview

Support sending trace stats to Datadog when the Lambda is in a VPC with a proxy.

Testing

Steps

  1. Set up a Lambda in a VPC with a proxy. See Using an agent proxy (internal)
  2. Build an extension layer and install it on the Lambda
  3. Invoke the Lambda. After 20 seconds, invoke it again. This should force trace stats for the first invocation to be flushed.

Result

Before: stats flush failed with error:

Error sending stats: Failed to send trace stats: client error (Connect)
image image

After: stats flush was successful.
image
image

Dependency

DataDog/libdatadog#1345

Notes

GitHub issue: #860
Jira: https://datadoghq.atlassian.net/browse/SLES-2499

@lym953 lym953 changed the base branch from main to yiming.luo/upgrade-libdd November 13, 2025 19:49
@lym953 lym953 changed the title Yiming.luo/trace stats proxy 2 [SLES-2499] feat: Support sending trace stats via http proxy Nov 13, 2025
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.

2 participants