SnapshotProfilingConfiguration refactoring to be consistent with ProfilerConfiguration#2931
Merged
breedx-splk merged 6 commits intoJul 14, 2026
Conversation
robsunday
commented
Jul 7, 2026
Contributor
Author
There was a problem hiding this comment.
[for reviewer] Changes in this file are needed to correctly create default profiler exporter
|
Tick the box to add this pull request to the merge queue (same as
|
Contributor
|
Every declarative config related PR is 1000+ lines. 😮💨 |
breedx-splk
reviewed
Jul 7, 2026
laurit
approved these changes
Jul 10, 2026
breedx-splk
approved these changes
Jul 14, 2026
breedx-splk
left a comment
Contributor
There was a problem hiding this comment.
Feels like a step in the right direction to me. Thanks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was created to make handling of SnapshotProfilingConfiguration consistent with handling of ProfilerConfiguration (see #2903)
In scope:
SnapshotProfilingEnvVarsConfigurationandSnapshotProfilingDeclarativeConfigurationare replaced by a single class -SnapshotProfilingConfigurationSnapshotProfilingConfigurationis created by a factory appropriate for the agent configuration flavor (SnapshotProfilingEnvVarsConfigurationFactory/SnapshotProfilingDeclarativeConfigurationFactory).SnapshotProfilingConfigurationis always available through ProfilerConfiguration.SUPPLIER