Skip to content

feat: Modular telemetry providers - #1227

Merged
seb-cr merged 10 commits into
masterfrom
ENG-5323/telemetry-providers
Sep 18, 2026
Merged

seb-cr merged 10 commits into
masterfrom
ENG-5323/telemetry-providers

Conversation

@seb-cr

@seb-cr seb-cr commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Introduces a new, modular approach to sending telemetry from LoggerService.

There are two goals here:

  • To separate provider-specific logic from the rest of Lambda Wrapper. Previously we had the isLumigoEnabled and isLumigoWrappingUs properties on the main LambdaWrapper class, which was never the right place for them to live.
  • To make it easier to add and remove telemetry providers. We've been through a few over the years, and we'll soon be adding support for Dash0.

This PR does not introduce any new or changed behaviour, but does add the new TelemetryProvider classes to Lambda Wrapper's exports.

Jira: ENG-5323

Comment thread src/services/LoggerService.ts Resolved
Comment thread src/services/LoggerService.ts Resolved
Exposing it here goes against the deprecation note that Sentry should
be imported explicitly if needed, and may be confusing as its behaviour
is different to `LoggerService#getSentry`.
We can't think of a reason why we'd need telemetry clients to be active
in an offline context.

Note, no changes needed to tests because `di.isOffline` is `true` by
default in the test environment.
@seb-cr
seb-cr merged commit 6213038 into master Sep 18, 2026
6 checks passed
@seb-cr
seb-cr deleted the ENG-5323/telemetry-providers branch September 18, 2026 08:22
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants