diff --git a/sdk/monitor/azure-monitor-opentelemetry-exporter/src/main/java/com/azure/monitor/opentelemetry/exporter/implementation/utils/AzureMonitorHelper.java b/sdk/monitor/azure-monitor-opentelemetry-exporter/src/main/java/com/azure/monitor/opentelemetry/exporter/implementation/utils/AzureMonitorHelper.java index 9fa5bddb38ecc..4db8d1d1cd083 100644 --- a/sdk/monitor/azure-monitor-opentelemetry-exporter/src/main/java/com/azure/monitor/opentelemetry/exporter/implementation/utils/AzureMonitorHelper.java +++ b/sdk/monitor/azure-monitor-opentelemetry-exporter/src/main/java/com/azure/monitor/opentelemetry/exporter/implementation/utils/AzureMonitorHelper.java @@ -26,7 +26,7 @@ public static TelemetryItemExporter createTelemetryItemExporter(HttpPipeline htt if (tempDir == null) { telemetryPipelineListener = new DiagnosticTelemetryPipelineListener( - "Sending telemetry to the ingestion service", false, " (telemetry will be lost)"); + "Sending telemetry to the ingestion service", true, " (telemetry will be lost)"); } else { telemetryPipelineListener = TelemetryPipelineListener.composite( @@ -35,8 +35,8 @@ public static TelemetryItemExporter createTelemetryItemExporter(HttpPipeline htt // will log if that retry from disk fails new DiagnosticTelemetryPipelineListener( "Sending telemetry to the ingestion service", - true, - " (telemetry will be stored to disk and retried)"), + false, + ""), new LocalStorageTelemetryPipelineListener( 50, // default to 50MB TempDirs.getSubDir(tempDir, "telemetry"),