OtlpNumberDataPoint

@Serializable
data class OtlpNumberDataPoint(val attributes: List<OtlpKeyValue> = emptyList(), val startTimeUnixNano: Long = 0, val timeUnixNano: Long = 0, val asDouble: Double? = null, val asInt: Long? = null)

Numeric data point used by gauge and sum types.

Constructors

Link copied to clipboard
constructor(attributes: List<OtlpKeyValue> = emptyList(), startTimeUnixNano: Long = 0, timeUnixNano: Long = 0, asDouble: Double? = null, asInt: Long? = null)

Properties

Link copied to clipboard

double representation of the value, if used.

Link copied to clipboard
val asInt: Long?

integer representation of the value, if used.

Link copied to clipboard

dimension labels attached to this sample.

Link copied to clipboard

inclusive start of the aggregation period.

Link copied to clipboard

end timestamp of the aggregation period.