<PackageReference Include="Azure.Monitor.OpenTelemetry.Exporter" Version="1.10.0-beta.1" />

Azure.Monitor.OpenTelemetry.Exporter.Models.TelemetryExceptionData

An instance of Exception represents a handled or unhandled exception that occurred during execution of the monitored application.

Exception chain - list of inner exceptions.

public IDictionary<string, double> Measurements { get; }

Collection of custom measurements.

public string ProblemId { get; set; }

Identifier of where the exception was thrown in code. Used for exceptions grouping. Typically a combination of exception type and a function from the call stack.

public IDictionary<string, string> Properties { get; }

Collection of custom properties.

public SeverityLevel? SeverityLevel { get; set; }

Severity level. Mostly used to indicate exception severity level when it is reported by logging library.

public TelemetryExceptionData(int version, LogRecord logRecord, string message, ChangeTrackingDictionary<string, string> properties)

Initializes a new instance of TelemetryExceptionData.