Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Dec 16, 2025

Depends on #15668

@trask trask force-pushed the declarative-config/b-aws branch 2 times, most recently from 0726fec to 4efb7be Compare December 16, 2025 01:58
@trask trask force-pushed the declarative-config/b-aws branch from 4efb7be to 9fe722b Compare December 16, 2025 02:26
@trask trask force-pushed the declarative-config/b-aws branch from ce03df6 to 7fa0ebe Compare December 16, 2025 02:39
Comment on lines +57 to 62
*
* @deprecated Use {@link #setMessagingReceiveTelemetryEnabled(boolean)} instead.
*/
@Deprecated
@CanIgnoreReturnValue
public AwsSdkTelemetryBuilder setMessagingReceiveInstrumentationEnabled(
Copy link
Member Author

Choose a reason for hiding this comment

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

renamed this to match the property

// instrumentation/development:
  //   java:
  //     messaging:
  //       receive_telemetry/development:
  //         enabled: false

Comment on lines +112 to 116
* @deprecated Use {@link #setMessagingReceiveTelemetryEnabled(boolean)} instead.
*/
@Deprecated
@CanIgnoreReturnValue
public AwsSdkTelemetryBuilder setMessagingReceiveInstrumentationEnabled(
Copy link
Member Author

Choose a reason for hiding this comment

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

same

}
protected abstract boolean recordIndividualHttpError();

protected abstract boolean getBoolean(String name, boolean defaultValue);
Copy link
Member Author

Choose a reason for hiding this comment

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

there used to be this generic getBoolean function here, I've replaced it with individual getters for each of the needed configuration properties

note that this class is odd because it still supports two configuration paths:

  • java agent (now via declarative configuration API)
  • library (still driven by reading system properties directly)

we still need to migrate library configuration later, at which time we can unify this(!)

Copy link
Member

Choose a reason for hiding this comment

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

there's already a PR for this: #15656

@trask trask marked this pull request as ready for review December 16, 2025 03:25
@trask trask requested a review from a team as a code owner December 16, 2025 03:25
@trask trask marked this pull request as draft December 16, 2025 16:34
@trask
Copy link
Member Author

trask commented Dec 18, 2025

Closing, going to re-do with (really) minimal changes over to declarative configuration API (including not removing ExperimentalConfig and CommonConfig)

@trask trask closed this Dec 18, 2025
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