Delen via


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

LogsUploadOptions()

Properties

MaxConcurrency

The max concurrent requests to send to the Azure Monitor service when uploading logs. 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.

Serializer

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

Events

UploadFailed

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

Applies to