LogEventAction

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.

Parameters

id

Name of the event. For state groups, it describes what we measure, therefore, it should be a noun. For counter groups, it describes what happened, therefore, it should be a verb.

data

Information about event context, e.g for "action.invoked" action it could be the name of the action and place where it was invoked.

count

Count of identical events that occurred in a row.

Constructors

Link copied to clipboard
constructor(id: String, data: MutableMap<String, Any> = HashMap(), count: Int = 1)

Properties

Link copied to clipboard
var count: Int
Link copied to clipboard
Link copied to clipboard
val id: String

Functions

Link copied to clipboard
fun increment()
Link copied to clipboard