File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
inferred-spans/src/main/java/io/opentelemetry/contrib/inferredspans Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,10 @@ private InferredSpansConfig() {}
5656 PARENT_OVERRIDE_HANDLER_OPTION ));
5757
5858 static SpanProcessor createSpanProcessor (ConfigProperties properties ) {
59- InferredSpansProcessorBuilder builder = InferredSpansProcessor .builder ();
59+ InferredSpansProcessorBuilder builder = InferredSpansProcessor .builder (). profilerEnabled ( true ) ;
6060
6161 PropertiesApplier applier = new PropertiesApplier (properties );
6262
63- applier .applyBool (ENABLED_OPTION , builder ::profilerEnabled );
6463 applier .applyBool (LOGGING_OPTION , builder ::profilerLoggingEnabled );
6564 applier .applyBool (DIAGNOSTIC_FILES_OPTION , builder ::backupDiagnosticFiles );
6665 applier .applyInt (SAFEMODE_OPTION , builder ::asyncProfilerSafeMode );
You can’t perform that action at this time.
0 commit comments