LogsUploadOptions Class

Definition

The options model to configure the request to upload logs to Azure Monitor.

public class LogsUploadOptions
type LogsUploadOptions = class
Public Class LogsUploadOptions
Inheritance
LogsUploadOptions

Constructors

Name Description
LogsUploadOptions()

Properties

Name Description
MaxConcurrency

The max concurrent requests to send to the Azure Monitor service when uploading logs. <remarks> In the Upload method, this parameter is not used as the batches are uploaded in sequence. For parallel uploads, if this value is not set the default concurrency will be 5. </remarks>

Serializer

The serializer to use to convert the log objects to JSON. <remarks> Default Serializer is System.Text.Json. </remarks>

Events

Name Description
UploadFailed

An optional EventHandler that provides the list of failed logs and the corresponding exception.

Applies to