Metric

@Serializable
data class Metric(val eventType: String, val count: Int, val timestamp: Instant)

A single metric data point with event type, count, and timestamp.

Constructors

Link copied to clipboard
constructor(eventType: String, count: Int, timestamp: Instant)

Properties

Link copied to clipboard
val count: Int
Link copied to clipboard
@SerialName(value = "event_type")
val eventType: String
Link copied to clipboard