interface CommonMetricData
(source)
This defines the common set of data shared across all the different metric types.
abstract val category: String |
|
abstract val disabled: Boolean |
|
abstract val lifetime: Lifetime |
|
abstract val name: String |
|
abstract val sendInPings: List<String> |
open fun shouldRecord(logger: Logger): Boolean |
data class EventMetricType : CommonMetricData
This implements the developer facing API for recording events. |
|
data class StringMetricType : CommonMetricData
This implements the developer facing API for recording string metrics. |
|
data class UuidMetricType : CommonMetricData
This implements the developer facing API for recording uuids. |