TransmissionProcessor class

A Processor that sends telemetry to the Azure Application Insights instance associated with instrumentationKey at endpoint ingestionEndpoint.

Implemented types

Constructors

TransmissionProcessor({required String instrumentationKey, required Client httpClient, required Duration timeout, Logger? logger, String ingestionEndpoint = 'https://dc.services.visualstudio.com/v2/track', Processor? next})

Properties

hashCode int
The hash code for this object.
no setterinherited
httpClient → Client
The HTTP client to use when submitting telemetry.
final
ingestionEndpoint String
The endpoint to which data is sent.
final
instrumentationKey String
The Application Insights instrumentation key to use when submitting telemetry.
final
logger → Logger
A Logger to which processing information will be written.
final
next Processor?
The next processor in the chain, or null if there is none.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration
How long to wait before timing out on telemetry submission.
final

Methods

flush() Future<void>
Waits for any in flight telemetry submission, as well as flushing next.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process({required List<ContextualTelemetryItem> contextualTelemetryItems}) → void
Sends contextualTelemetryItems to Application Insights, then on to next.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited