Skip to content

Commit

Permalink
Avoid warning on sporadic connection failures (#39021)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbisutti authored and drielenr committed Mar 28, 2024
1 parent 92ff19b commit e65f8ab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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"),
Expand Down

0 comments on commit e65f8ab

Please sign in to comment.