data class UuidMetricType : CommonMetricData
(source)
This implements the developer facing API for recording uuids.
Instances of this class type are automatically generated by the parsers at build time, allowing developers to record values that were previously registered in the metrics.yaml file.
The uuid API exposes the generateAndSet and set methods.
UuidMetricType(disabled: Boolean, category: String, lifetime: Lifetime, name: String, sendInPings: List<String>)
This implements the developer facing API for recording uuids. |
val category: String |
|
val disabled: Boolean |
|
val lifetime: Lifetime |
|
val name: String |
|
val sendInPings: List<String> |
fun generateAndSet(): UUID
Generate a new UUID value and set it in the metric store. |
|
fun set(value: UUID): Unit
Explicitly set an existing UUID value |
open fun shouldRecord(logger: Logger): Boolean |