Skip to content

Commit

Permalink
Avoid warning on sporadic connection failures (Azure#39021)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbisutti committed Mar 6, 2024
1 parent 6e0adf5 commit fad02b4
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 fad02b4

Please sign in to comment.