Skip to content

SnapshotProfilingConfiguration refactoring to be consistent with ProfilerConfiguration#2931

Draft
robsunday wants to merge 1 commit into
signalfx:mainfrom
robsunday:opamp-snapshot-profiler-config-refactor
Draft

SnapshotProfilingConfiguration refactoring to be consistent with ProfilerConfiguration#2931
robsunday wants to merge 1 commit into
signalfx:mainfrom
robsunday:opamp-snapshot-profiler-config-refactor

Conversation

@robsunday

@robsunday robsunday commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

This PR was created to make handling of SnapshotProfilingConfiguration consistent with handling of ProfilerConfiguration (see #2903)

In scope:

  • SnapshotProfilingEnvVarsConfiguration and SnapshotProfilingDeclarativeConfiguration are replaced by a single class - SnapshotProfilingConfiguration
  • SnapshotProfilingConfiguration is created by a factory appropriate for the agent configuration flavor (SnapshotProfilingEnvVarsConfigurationFactory / SnapshotProfilingDeclarativeConfigurationFactory).
  • After creation, SnapshotProfilingConfiguration is always available through ProfilerConfiguration.SUPPLIER
  • additional refactorings needed because configuration is no longer created multiple times

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.

1 participant