@@ -538,6 +538,8 @@ public static String getHostName() {
538538 private final int cloudPayloadTaggingMaxDepth ;
539539 private final int cloudPayloadTaggingMaxTags ;
540540
541+ private final long dependecyResolutionPeriodMillis ;
542+
541543 // Read order: System Properties -> Env Variables, [-> properties file], [-> default value]
542544 private Config () {
543545 this (ConfigProvider .createDefault ());
@@ -1802,6 +1804,11 @@ PROFILING_DATADOG_PROFILER_ENABLED, isDatadogProfilerSafeInCurrentEnvironment())
18021804 this .cloudPayloadTaggingMaxTags =
18031805 configProvider .getInteger (TracerConfig .TRACE_CLOUD_PAYLOAD_TAGGING_MAX_TAGS , 758 );
18041806
1807+ this .dependecyResolutionPeriodMillis =
1808+ configProvider .getLong (
1809+ GeneralConfig .TELEMETRY_DEPENDENCY_RESOLUTION_PERIOD_MILLIS ,
1810+ 1000 ); // 1 second by default
1811+
18051812 timelineEventsEnabled =
18061813 configProvider .getBoolean (
18071814 ProfilingConfig .PROFILING_TIMELINE_EVENTS_ENABLED ,
@@ -3700,6 +3707,10 @@ public boolean isEnabled(
37003707 Collections .singletonList (settingName ), "" , settingSuffix , defaultEnabled );
37013708 }
37023709
3710+ public long getDependecyResolutionPeriodMillis () {
3711+ return dependecyResolutionPeriodMillis ;
3712+ }
3713+
37033714 public boolean isDBMTracePreparedStatements () {
37043715 return DBMTracePreparedStatements ;
37053716 }
0 commit comments