diff --git a/custom/src/main/java/com/solarwinds/opentelemetry/extensions/SolarwindsAgentListener.java b/custom/src/main/java/com/solarwinds/opentelemetry/extensions/SolarwindsAgentListener.java index d5e42f99..8386c45a 100644 --- a/custom/src/main/java/com/solarwinds/opentelemetry/extensions/SolarwindsAgentListener.java +++ b/custom/src/main/java/com/solarwinds/opentelemetry/extensions/SolarwindsAgentListener.java @@ -174,8 +174,7 @@ protected MetricsMonitor buildMetricsMonitor() { ProfilerSetting profilerSetting = (ProfilerSetting) ConfigManager.getConfig(ConfigProperty.PROFILER); - if (profilerSetting != null - && profilerSetting.isEnabled()) { + if (profilerSetting != null && profilerSetting.isEnabled()) { logger.debug("Profiler is enabled, local settings : " + profilerSetting); Profiler.initialize( profilerSetting, diff --git a/custom/src/main/java/com/solarwinds/opentelemetry/extensions/SolarwindsSpanExporter.java b/custom/src/main/java/com/solarwinds/opentelemetry/extensions/SolarwindsSpanExporter.java index 85399803..d7695d3a 100644 --- a/custom/src/main/java/com/solarwinds/opentelemetry/extensions/SolarwindsSpanExporter.java +++ b/custom/src/main/java/com/solarwinds/opentelemetry/extensions/SolarwindsSpanExporter.java @@ -30,7 +30,6 @@ import com.solarwinds.joboe.shaded.javax.annotation.Nonnull; import com.solarwinds.opentelemetry.core.Constants; import com.solarwinds.opentelemetry.core.Util; -import com.solarwinds.opentelemetry.extensions.initialize.ConfigurationLoader; import io.opentelemetry.api.common.AttributeKey; import io.opentelemetry.api.common.Attributes; import io.opentelemetry.sdk.common.CompletableResultCode; diff --git a/custom/src/main/java/com/solarwinds/opentelemetry/extensions/initialize/ConfigurationLoader.java b/custom/src/main/java/com/solarwinds/opentelemetry/extensions/initialize/ConfigurationLoader.java index a86b73cb..5eb857e4 100644 --- a/custom/src/main/java/com/solarwinds/opentelemetry/extensions/initialize/ConfigurationLoader.java +++ b/custom/src/main/java/com/solarwinds/opentelemetry/extensions/initialize/ConfigurationLoader.java @@ -361,7 +361,7 @@ private static void loadConfigurations() throws InvalidConfigException { processConfigs(configs); configureOtelLogExport(configs); configureOtelMetricExport(configs); -// configureOtelTraceExport(configs); + // configureOtelTraceExport(configs); } catch (InvalidConfigException e) { // if there was a config read exception then processConfigs might throw exception due to // incomplete config container.