Skip to content

Conversation

@hugh-emerson
Copy link
Contributor

@hugh-emerson hugh-emerson commented Sep 11, 2025

Proposed changes

What changed

Use the "batch" processor, which along with the "decouple" processor means that the exporting is tied to the lambda lifecycle correctly.

https://opentelemetry.io/blog/2025/observing-lambdas/

Why did it change

We were getting a bunch of error logs during lambda instance teardown. While nothing seemed to actually get lost, it was noisy.

As a side effect, it might sometimes result in a performance gain in exchange for traces/metrics arriving later. But in my testing I still usually got the trace immediately so I anticipate little impact.

Issue tracking

Checklists

  • READMEs and documentation up-to-date
  • API/ unit/ contract tests have been written/ updated
  • No risk of exposure: PII, credentials, etc through logs/ code
  • Production changes appropriately staged out

@hugh-emerson hugh-emerson requested review from a team as code owners September 11, 2025 09:45
@sonarqubecloud
Copy link

@hugh-emerson hugh-emerson merged commit 2b50e43 into main Sep 12, 2025
9 of 10 checks passed
@hugh-emerson hugh-emerson deleted the PYIC-8652 branch September 12, 2025 08:42
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.

3 participants