Skip to content

v6: Prepare Config Changes for v6 (Refactor + Breaking Changes)#2432

Draft
aryamohanan wants to merge 14 commits intomainfrom
fix-config-precedence
Draft

v6: Prepare Config Changes for v6 (Refactor + Breaking Changes)#2432
aryamohanan wants to merge 14 commits intomainfrom
fix-config-precedence

Conversation

@aryamohanan
Copy link
Copy Markdown
Contributor

@aryamohanan aryamohanan commented Mar 26, 2026

This PR includes all configuration-related changes, including breaking changes and refactoring.
It is intended for the upcoming v6 branch, which will be created later, and will be merged into v6.

Breaking changes

  1. Remove deprecated config INSTANA_DEV_MIN_DELAY_BEFORE_SENDING_SPANS
  2. Precedence order change env>in-code > agent config > default

Tasks

Migration Plan
This change will be released in the next major version (v6), planned for Q2 2026.

ref https://jsw.ibm.com/browse/INSTA-80965

Epic : https://jsw.ibm.com/browse/INSTA-817

…nce (#2430)

- Created a utility file for shared configuration helpers.
- Moved and renamed normalizeSingleValue to resolveNumericConfig within the new utility module.
…v variable (#2431)

BREAKING CHANGE:
- The environment variable INSTANA_DEV_MIN_DELAY_BEFORE_SENDING_SPANS has been removed.
- Please use INSTANA_TRACING_TRANSMISSION_DELAY instead.
 Restructured the existing tests to improve logical grouping
- Normalization previously operated on a pre-filled in-code user config, making it unclear whether values were already present or resolved later(from env, in-code, or defaults).

- This change separated input from the
resulting config, making value resolution explicit and easier to follow.
@aryamohanan aryamohanan added feature-branch Target is a feat branch WIP labels Apr 8, 2026
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