EmitterConfiguration

It allows the tracker configuration from the emission perspective. The EmitterConfiguration can be used to setup details about how the tracker should treat the events to emit to the collector.

Default values: bufferOption = BufferOption.DefaultGroup; emitRange = 150; threadPoolSize = 15; byteLimitGet = 40000; byteLimitPost = 40000; serverAnonymisation = false;

Constructors

Link copied to clipboard

Functions

Link copied to clipboard

Sets whether the buffer should send events instantly or after the buffer has reached it's limit. By default, this is set to BufferOption Default.

Link copied to clipboard

Maximum amount of bytes allowed to be sent in a payload in a GET request.

Link copied to clipboard

Maximum amount of bytes allowed to be sent in a payload in a POST request.

Link copied to clipboard
open override fun copy(): EmitterConfiguration
Link copied to clipboard
fun customRetryForStatusCodes(customRetryForStatusCodes: Map<Int, Boolean>?): EmitterConfiguration

Custom retry rules for HTTP status codes returned from the Collector. The dictionary is a mapping of integers (status codes) to booleans (true for retry and false for not retry).

Link copied to clipboard

Maximum number of events collected from the EventStore to be sent in a request.

Link copied to clipboard

Custom component with full ownership for persisting events before to be sent to the collector. If it's not set the tracker will use a SQLite database as default EventStore.

Link copied to clipboard

Callback called for each request performed by the tracker to the collector.

Link copied to clipboard

Whether to anonymise server-side user identifiers including the network_userid and user_ipaddress

Link copied to clipboard

Maximum number of threads working in parallel in the tracker to send requests.

Properties

Link copied to clipboard
open override var bufferOption: BufferOption
Link copied to clipboard
open override var byteLimitGet: Long
Link copied to clipboard
open override var byteLimitPost: Long
Link copied to clipboard
open override var customRetryForStatusCodes: Map<Int, Boolean>? = null
Link copied to clipboard
open override var emitRange: Int
Link copied to clipboard
open override var eventStore: EventStore? = null
Link copied to clipboard
open override var requestCallback: RequestCallback? = null
Link copied to clipboard
open override var serverAnonymisation: Boolean
Link copied to clipboard
open override var threadPoolSize: Int

Inheritors

Link copied to clipboard