MetricFamilySamples

class MetricFamilySamples(val name: String, val unit: String = "", val type: Collector.Type, val help: String, val samples: List<Collector.Sample>)

Represents a metric family and all of its associated Samples.

A metric family groups together samples with the same metric name.

Constructors

Link copied to clipboard
constructor(name: String, unit: String = "", type: Collector.Type, help: String, samples: List<Collector.Sample>)

Properties

Link copied to clipboard

Help text describing the metric.

Link copied to clipboard

Name of the metric.

Link copied to clipboard

List of individual metric samples.

Link copied to clipboard

Type of the metric.

Link copied to clipboard

Unit of measurement (e.g., "seconds").