#[non_exhaustive]pub enum Error {
UploadSerializeRequest(Error),
UploadCompressRequest(Error),
UploadDeserializeResponse(Error),
UploadConnection(Box<dyn StdError + Send + Sync + 'static>),
Upload(String),
QuickPulseProcessSpan(TrySendError),
QuickPulseShutdown(TrySendError),
}
Expand description
Errors that occurred during span export.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UploadSerializeRequest(Error)
Application Insights telemetry data failed to serialize to JSON. Telemetry reporting failed because of this.
Note: This is an error in this crate. If you spot this, please open an issue.
UploadCompressRequest(Error)
Application Insights telemetry data failed serialize or compress. Telemetry reporting failed because of this.
Note: This is an error in this crate. If you spot this, please open an issue.
UploadDeserializeResponse(Error)
Application Insights telemetry response failed to deserialize from JSON.
Telemetry reporting may have worked. But since we could not look into the response, we can’t be sure.
Note: This is an error in this crate. If you spot this, please open an issue.
UploadConnection(Box<dyn StdError + Send + Sync + 'static>)
Could not complete the HTTP request to Application Insights to send telemetry data. Telemetry reporting failed because of this.
Upload(String)
Application Insights returned at least one error for the reported telemetry data.
QuickPulseProcessSpan(TrySendError)
live-metrics
only.Failed to process span for live metrics.
QuickPulseShutdown(TrySendError)
live-metrics
only.Failed to stop live metrics.