Skip to content

Commit

Permalink
NH-93486: export traces using otlp
Browse files Browse the repository at this point in the history
  • Loading branch information
cleverchuk committed Nov 13, 2024
1 parent afe8e69 commit 747eb18
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 747eb18

Please sign in to comment.