Skip to content

feat: added support for W3C disable via agent yaml - #2681

Merged
kirrg001 merged 4 commits into
mainfrom
feat-agent-w3c-disable
Jul 29, 2026
Merged

kirrg001 merged 4 commits into
mainfrom
feat-agent-w3c-disable

Conversation

@kirrg001

@kirrg001 kirrg001 commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

refs https://jsw.ibm.com/browse/INSTA-93111

Agent support to disable W3C header behavior.

* @property {boolean} [span-batching-enabled]
* @property {import('@instana/core/src/config/types').Disable} [disable]
* @property {StackTraceConfig} [global]
* @property {GlobalTracingConfig} [global]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added proper Global Tracing Config TS definition.


exports.updateConfig = config => {
extraHttpHeadersToCapture = config.tracing.http.extraHttpHeadersToCapture;
disableW3cPropagation = config.tracing.disableW3cPropagation;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added also to updateConfig for in-code/env use case (preinit case)

@kirrg001
kirrg001 marked this pull request as ready for review July 28, 2026 11:47
@kirrg001
kirrg001 requested a review from a team as a code owner July 28, 2026 11:47

@aryamohanan aryamohanan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@kirrg001
kirrg001 force-pushed the feat-agent-w3c-disable branch from 72a1367 to 1f0a5b4 Compare July 29, 2026 07:35
@sonarqubecloud

Copy link
Copy Markdown

@kirrg001
kirrg001 merged commit d39299b into main Jul 29, 2026
3 checks passed
@instanacd
instanacd deleted the feat-agent-w3c-disable branch October 12, 2026 04:41
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