33#ifndef API_MIP_DIAGNOSTIC_CONFIGURATION_H_
34#define API_MIP_DIAGNOSTIC_CONFIGURATION_H_
A file containing the AuditDelegate class to be used to override MIP audit.
Cloud
Azure cloud identifier.
@ Unknown
Cloud not specified or URL not recognized as an Azure cloud.
DataBoundary
Diagnostic region identifier.
@ Default
Region is not specified.
Contains HttpDelegate interface definition used to override MIP HTTP stack.
Custom diagnostic configurations (not commonly used)
DataBoundary dataBoundary
Default regional boundary that defines where telemetry and audit events are stored.
std::map< std::string, std::vector< std::string > > maskedProperties
Audit/Telemetry events/properties which should be masked.
int maxTeardownTimeSec
If set, Shutdown will take this much time, Audit & Telemetry events will be uploaded on shutdown.
bool isAuditPriorityEnhanced
If set, Audit events will be uploaded immediately upon logging in default audit pipeline of MIP SDK.
std::string libraryNameOverride
Alternate audit/telemetry library (DLL) filename.
std::shared_ptr< TelemetryDelegate > telemetryPipelineDelegateOverride
Telemetry delegate override for writting telemetry events.
bool isLocalCachingEnabled
If set, audit/telemetry component will use on-disk caching.
std::shared_ptr< AuditDelegate > auditPipelineDelegateOverride
Audit delegate override for writting audit events.
std::string hostNameOverride
Host audit/telemetry instance name.
bool isMaxTeardownTimeEnabled
bool isMinimalTelemetryEnabled
If set, only necessary service data telemetry will be sent.
bool isNetworkDetectionEnabled
If set, audit/telemetry component will ping network status on background thread.
Cloud cloud
Cloud type for controlling telemetry and audit events for sovereign cloud scenario.
std::shared_ptr< HttpDelegate > httpDelegateOverride
If set, HTTP handling will be managed by this instance.
bool isTraceLoggingEnabled
std::map< std::string, std::string > customSettings
Custom audit/telemetry settings >
bool isFastShutdownEnabled
If set, No events will be uploaded on shutdown, Audit events will be uploaded immediately upon loggin...
std::shared_ptr< TaskDispatcherDelegate > taskDispatcherDelegateOverride
Configuration to use when default logging is enabled.
int maxLogFileCount
Maximum number of logfiles to store (default is 2).
int maxLogFileSizeMb
Maximum size for a logfile in MB (default is 20).
bool isPiiAllowed
Whether to allow PII in the logs (default is true).
A file containing the TaskDispatcherDelegate interface to be used to override MIP async task executor...
A file containing the TelemetryDelegate class to be used to override MIP telemetry.