Skip to content

feat: add environment variable for suppressInternalInstrumentation#58

Merged
shubham-sumo merged 2 commits into
mainfrom
duplicate-aws-instrumentation
Feb 4, 2026
Merged

feat: add environment variable for suppressInternalInstrumentation#58
shubham-sumo merged 2 commits into
mainfrom
duplicate-aws-instrumentation

Conversation

@shubham-sumo

@shubham-sumo shubham-sumo commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

Description:
Bug Fixes:

  • wrapper.ts had multiple initialisation of AwsInstrumentation which resulted in unexpected behaviour.

Feature added:

  • A environment variable SUMO_OTEL_SUPPRESS_AWS_INSTRUMENTATION which allows the user to configure whether they want to suppress internal aws instrumentation or not.

Testing:
4 spans when SUMO_OTEL_SUPPRESS_AWS_INSTRUMENTATION=true
image

11 spans when ``SUMO_OTEL_SUPPRESS_AWS_INSTRUMENTATION=false`
image

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@shubham-sumo shubham-sumo marked this pull request as ready for review January 29, 2026 07:51
@shubham-sumo shubham-sumo requested a review from a team as a code owner January 29, 2026 07:51
@Gourav2906 Gourav2906 added the osc label Jan 30, 2026

@raunakmandaokar raunakmandaokar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shubham-sumo shubham-sumo merged commit 3dba5c0 into main Feb 4, 2026
25 of 27 checks passed
@shubham-sumo shubham-sumo deleted the duplicate-aws-instrumentation branch February 4, 2026 09:35
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.

3 participants