SimpleCollector

constructor(fullName: String, help: String, labelNames: List<String>, unit: String)

Parameters

Child

The type of the labeled metric child (e.g., Counter.Child, Gauge.Child).

fullName

The full metric name (including suffix, if applicable).

help

A human-readable description of the metric's purpose.

labelNames

The list of label names (must be valid Prometheus identifiers).

unit

The unit of the metric (optional, e.g., "seconds").