MetricData

class MetricData(val descriptor: InstrumentDescriptor, val timestamp: Instant, val points: List<MetricPoint>)

Everything collected for one instrument in one interval - the unit handed to MetricExporter.

Parameters

descriptor

identifies the instrument these points came from.

timestamp

stamped once per collection cycle, so every point in a cycle lines up on a chart.

points

one entry per attribute set that recorded at least one measurement this cycle.

Constructors

Link copied to clipboard
constructor(descriptor: InstrumentDescriptor, timestamp: Instant, points: List<MetricPoint>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String