Package-level declarations

Types

Link copied to clipboard
data class FusRecorder(val id: String, val version: Int)
Link copied to clipboard
data class FusReport(val events: List<LogEvent>)

A collection of analytics data, which is sent to the analytics backend endpoint as a single request.

Link copied to clipboard
data class LogEvent @JvmOverloads constructor(val recorder: FusRecorder, val product: String, val ids: Map<String, String>, val internal: Boolean, val time: Long, val build: String, val session: String?, val group: LogEventGroup, val bucket: Int, val event: LogEventAction, val system_data: Map<String, Any>? = null, val client_data: Map<String, Any>? = null)

Represents a combination of the event related data LogEventAction and the common recorder data parts.

Link copied to clipboard
data class LogEventAction @JvmOverloads constructor(val id: String, val data: MutableMap<String, Any> = HashMap(), var count: Int = 1)

Represents data which was defined in the respective collector.

Link copied to clipboard
data class LogEventGroup(val id: String, val version: Int, val state: Boolean)

An abstraction to keep related events of the same type together. Corresponds to the LogEventGroup from the schema module. A group can either report state- or counter-events. Use a state group for information about the application state, e.g which libraries are configured, user's local environment, OS, JVM, etc. Use a counter group for information about users/internal actions.

Link copied to clipboard
data class LogEventSystemData @JvmOverloads constructor(val system_event_id: String? = null, val created: Long? = null, val last: Long? = null)