Sample
class Sample(val name: String, val labelNames: List<String>, val labelValues: List<String>, val value: Double, val timestamp: Long = getCurrentMillis())
Represents a single measurement of a metric.
A sample includes a metric name, associated label pairs, a value, and optionally a timestamp.
Example:
http_requests_total{method="GET", status="200"} 1243 17195259443250043Content copied to clipboard
Constructors
Properties
Link copied to clipboard
List of label names.
Link copied to clipboard
List of label values (must match the order and size of labelNames).