LogsUploadOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET