mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Restore label_names field in MetricOpts record
This commit is contained in:
parent
1cdca7c1d0
commit
99e64aa113
6 changed files with 55 additions and 46 deletions
|
@ -18,11 +18,11 @@ global connection_duration_hf = Telemetry::register_histogram_family([
|
|||
global realistic_connection_duration_hf = Telemetry::register_histogram_family([
|
||||
$prefix="zeek",
|
||||
$name="realistic_connection_duration",
|
||||
$label_names=vector("proto"),
|
||||
$unit="seconds",
|
||||
$help_text="Monitored connection durations by protocol",
|
||||
$bounds=vector(0.1, 1.0, 10.0, 30.0, 60.0, 120.0, 300, 900.0, 1800.0)],
|
||||
vector("proto"),
|
||||
);
|
||||
$bounds=vector(0.1, 1.0, 10.0, 30.0, 60.0, 120.0, 300, 900.0, 1800.0),
|
||||
]);
|
||||
|
||||
global connection_duration_h = Telemetry::histogram_with(connection_duration_hf);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue