Skip to content

[Monitor OpenTelemetry Exporter] Persist telemetry on shutdown for short-lived applications - #61818

Merged
Rajkumar Rangaraj (rajkumar-rangaraj) merged 9 commits into
Azure:mainfrom
rajkumar-rangaraj:rajrang/shortLivedMissingData
Aug 20, 2026
Merged

Rajkumar Rangaraj (rajkumar-rangaraj) merged 9 commits into
Azure:mainfrom
rajkumar-rangaraj:rajrang/shortLivedMissingData

Stop internal telemetry exporters from stalling process exit

d76e67c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / net - pullrequest (Build Test Ubuntu2404_NET100_PackageRef_Debug) succeeded Aug 19, 2026 in 6m 29s

Build Test Ubuntu2404_NET100_PackageRef_Debug succeeded

Annotations

Check failure on line 159 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - pullrequest (Build Test Ubuntu2404_NET100_PackageRef_Debug)

Build log #L159

  Passed Azure.Monitor.OpenTelemetry.Exporter.Tests.E2ETelemetryItemValidation.TracesTests.VerifyLogWithinActivity(logLevel: Error, expectedSeverityLevel: "Error") [2 ms]

Check failure on line 447 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - pullrequest (Build Test Ubuntu2404_NET100_PackageRef_Debug)

Build log #L447

  Passed Azure.Monitor.OpenTelemetry.Exporter.Tests.TelemetryExceptionDataTests.ValidateTelemetryExceptionData(logLevel: Error) [1 ms]

Check failure on line 725 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - pullrequest (Build Test Ubuntu2404_NET100_PackageRef_Debug)

Build log #L725

  Passed Azure.Monitor.OpenTelemetry.Exporter.Tests.RequestDataTests.ValidateHttpRequestSuccess(httpStatusCode: "500", activityStatus: Error, isSuccess: False) [< 1 ms]

Check failure on line 727 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - pullrequest (Build Test Ubuntu2404_NET100_PackageRef_Debug)

Build log #L727

  Passed Azure.Monitor.OpenTelemetry.Exporter.Tests.RequestDataTests.ValidateHttpRequestSuccess(httpStatusCode: "400", activityStatus: Error, isSuccess: False) [< 1 ms]

Check failure on line 731 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - pullrequest (Build Test Ubuntu2404_NET100_PackageRef_Debug)

Build log #L731

  Passed Azure.Monitor.OpenTelemetry.Exporter.Tests.RequestDataTests.ValidateHttpRequestSuccess(httpStatusCode: "0", activityStatus: Error, isSuccess: False) [< 1 ms]