File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/java/com/splunk/opentelemetry/profiler
test/java/com/splunk/opentelemetry/profiler Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public class Configuration implements AutoConfigurationCustomizerProvider {
79
79
private static final int DEFAULT_SNAPSHOT_PROFILER_STACK_DEPTH = 1024 ;
80
80
private static final String CONFIG_KEY_SNAPSHOT_PROFILER_SAMPLING_INTERVAL =
81
81
"splunk.snapshot.profiler.sampling.interval" ;
82
- public static final Duration DEFAULT_SNAPSHOT_PROFILER_SAMPLING_INTERVAL = Duration .ofMillis (20 );
82
+ private static final Duration DEFAULT_SNAPSHOT_PROFILER_SAMPLING_INTERVAL = Duration .ofMillis (10 );
83
83
84
84
@ Override
85
85
public void customize (AutoConfigurationCustomizer autoConfiguration ) {
Original file line number Diff line number Diff line change @@ -202,6 +202,6 @@ void getConfiguredSnapshotProfilerSamplingInterval(int milliseconds) {
202
202
void getDefaultSnapshotProfilerSamplingInterval () {
203
203
var properties = DefaultConfigProperties .create (Collections .emptyMap ());
204
204
assertEquals (
205
- Duration .ofMillis (20 ), Configuration .getSnapshotProfilerSamplingInterval (properties ));
205
+ Duration .ofMillis (10 ), Configuration .getSnapshotProfilerSamplingInterval (properties ));
206
206
}
207
207
}
You can’t perform that action at this time.
0 commit comments