datadog_flutter_plugin_platform_interface library

Classes

DatadogAttachConfiguration
Configuration options used when attaching to an existing instance of a DatadogSdk.
DatadogConfiguration
DatadogLoggerConfiguration
Configuration options for a Datadog Log. These options are set for an individual DatadogLogger object
DatadogLoggingConfiguration
Configuration options for the Datadog Logging feature. These options are common to all Datadog logs
DatadogPluginConfiguration
Abstract base for plugin configurations. Subclasses are defined in the main datadog_flutter_plugin package, which adds the create method that references DatadogSdk.
DatadogRumConfiguration
Configuration options for the Datadog Real User Monitoring (RUM) feature.
LogDevice
LogEvent
LogEventDd
LogEventError
LogEventLoggerInfo
LogEventUserInfo
ResourceHeadersExtractor
Configuration for capturing HTTP request and response headers in RUM resource events.
RumAction
RumActionEvent
RumActionFrustration
RumActionId
RumActionTarget
RumApplication
RumCellular
RumConnectivity
RumContainerView
RumCount
RumDevice
RumError
RumErrorCause
RumErrorEvent
RumLongTask
RumLongTaskEvent
RumOperatingSystem
RumPerformanceMetric
RumResource
RumResourceEvent
RumResourceSummary
RumSession
RumUser
RumViewDetails
RumViewEvent
RumViewEventDd
RumViewSummary
RumVital
RumVitalOperationStepContainer
RumVitalOperationStepEvent

Enums

BatchProcessingLevel
Defines the maximum amount of batches processed sequentially without a delay within one reading/uploading cycle. high means that more data will be sent in a single upload cycle but more CPU and memory will be used to process the data. low means that less data will be sent in a single upload cycle but less CPU and memory will be used to process the data.
BatchSize
Defines the Datadog SDK policy when batching data together before uploading it to Datadog servers. Smaller batches mean smaller but more network requests, whereas larger batches mean fewer but larger network requests.
CoreLoggerLevel
DatadogSite
Determines the server for uploading RUM events.
LogLevel
Log levels defined by Datadog. Note that not all levels are supported by the Flutter SDK currently, although any level can be used for DatadogLoggerConfiguration.remoteLogThreshold.
LogStatus
RumActionType
Describe the type of a RUM Action.
RumActionTypeInternal
RumConnectivityInterfaces
RumConnectivityStatus
RumDeviceType
RumErrorHandling
RumErrorSource
Describe the source of a RUM Error.
RumFrustrationType
RumHttpMethod
HTTP method of the resource
RumInternalErrorSource
Error sources that include source used internally by Datadog SDKs
RumOperationFailureReason
Represents the possible reasons for a failed operation.
RumResourceType
Describe the type of resource loaded.
TraceContextInjection
Defines whether the trace context should be injected into all requests or only into requests that are sampled in.
TracingHeaderType
The type of tracing header to inject into first party requests.
TrackingConsent
Possible values for the Data Tracking Consent given by the user of the app.
UploadFrequency
Defines the frequency at which Datadog SDK will try to upload data batches.
VitalsFrequency
Defines the frequency at which Datadog SDK will collect mobile vitals, such as CPU and memory usage.
WebSessionPersistence
Which storage strategy to use when persisting sessions on Web.

Functions

simpleConsolePrint(LogLevel level, String message, String? errorMessage, String? errorKind, StackTrace? stackTrace, Map<String, Object?> attributes) → void
Print all logs to the console in the form "level message" when kDebugMode is true.
simpleConsolePrintForLevel(LogLevel level) → CustomConsoleLogFunction
Print all logs to the console above the given level in the form "level message" when kDebugMode is true.

Typedefs

CustomConsoleLogFunction = void Function(LogLevel level, String message, String? errorMessage, String? errorKind, StackTrace? stackTrace, Map<String, Object?> attributes)
A function that allows you control Datadog's console log output. This function is called instead of calling Flutter's default print, and does not effect what is sent to Datadog.
LogEventMapper = LogEvent? Function(LogEvent event)
A function that allows you to modify or drop specific LogEvents before they are sent to Datadog.
RumActionEventMapper = RumActionEvent? Function(RumActionEvent event)
A function that allows you to modify or drop specific RumActionEvents before they are sent to Datadog.
RumErrorEventMapper = RumErrorEvent? Function(RumErrorEvent event)
A function that allows you to modify or drop specific RumErrorEvents before they are sent to Datadog.
RumLongTaskEventMapper = RumLongTaskEvent? Function(RumLongTaskEvent event)
A function that allows you to modify or drop specific RumLongTaskEvents before they are sent to Datadog.
RumResourceEventMapper = RumResourceEvent? Function(RumResourceEvent event)
A function that allows you to modify or drop specific RumResourceEvents before they are sent to Datadog.
RumViewEventMapper = RumViewEvent Function(RumViewEvent event)
A function that allows you to modify specific RumViewEvents before they are sent to Datadog.
RumVitalOperationEventMapper = RumVitalOperationStepEvent? Function(RumVitalOperationStepEvent event)
A function that allows you to modify or drop specific RumVitalOperationEvents before they are sent to Datadog.