Restore label_names field in MetricOpts record

This commit is contained in:
Tim Wojtulewicz 2024-06-04 08:49:42 -07:00 committed by Tim Wojtulewicz
parent 1cdca7c1d0
commit 99e64aa113
6 changed files with 55 additions and 46 deletions

View file

@ -12,9 +12,9 @@ global connections_by_proto_cf = Telemetry::register_counter_family([
$prefix="btest",
$name="connections",
$unit="",
$help_text="Total number of monitored connections"],
$labels=vector("proto")
);
$help_text="Total number of monitored connections",
$label_names=vector("proto")
]);
global connection_duration_hf = Telemetry::register_histogram_family([
$prefix="btest",