Skip to content

Commit

Permalink
Fix telemetry help_text argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
timwoj committed Oct 19, 2023
1 parent cdb2c17 commit a05be29
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions frameworks/telemetry/connection-durations.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global conn_durations_hf = Telemetry::register_histogram_family([
$prefix="zeek",
$name="monitored_connection_duration",
$unit="seconds",
$helptext="Duration of monitored connections",
$help_text="Duration of monitored connections",
$bounds=vector(0.1, 1.0, 10.0, 30.0, 60.0),
$labels=vector("proto", "service")
]);
Expand All @@ -21,4 +21,3 @@ event connection_state_remove(c: connection)
Telemetry::histogram_observe(h, interval_to_double(c$duration));
}
}

2 changes: 1 addition & 1 deletion frameworks/telemetry/global-http-counter.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global http_counter_cf = Telemetry::register_counter_family([
$prefix="zeek",
$name="monitored_http_requests",
$unit="1",
$helptext="Number of http requests observed"
$help_text="Number of http requests observed"
]);

global http_counter = Telemetry::counter_with(http_counter_cf);
Expand Down
2 changes: 1 addition & 1 deletion frameworks/telemetry/log-writes-cached.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global log_writes_cf = Telemetry::register_counter_family([
$prefix="zeek",
$name="log_writes",
$unit="1",
$helptext="Number of log writes per stream",
$help_text="Number of log writes per stream",
$labels=vector("log_id")
]);

Expand Down
2 changes: 1 addition & 1 deletion frameworks/telemetry/log-writes-immediate.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global log_writes_cf = Telemetry::register_counter_family([
$prefix="zeek",
$name="log_writes",
$unit="1",
$helptext="Number of log writes per stream",
$help_text="Number of log writes per stream",
$labels=vector("log_id")
]);

Expand Down
2 changes: 1 addition & 1 deletion frameworks/telemetry/log-writes-sync.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global log_writes_cf = Telemetry::register_counter_family([
$prefix="zeek",
$name="log_writes",
$unit="1",
$helptext="Number of log writes per stream",
$help_text="Number of log writes per stream",
$labels=vector("log_id")
]);

Expand Down
4 changes: 2 additions & 2 deletions frameworks/telemetry/table-size-tracking.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ global tunnels_active_size_gf = Telemetry::register_gauge_family([
$prefix="zeek",
$name="monitored_tunnels_active",
$unit="1",
$helptext="Number of currently active tunnels as tracked in Tunnel::active"
$help_text="Number of currently active tunnels as tracked in Tunnel::active"
]);

global tunnels_active_size_gauge = Telemetry::gauge_with(tunnels_active_size_gf);
Expand All @@ -13,7 +13,7 @@ global tunnels_active_footprint_gf = Telemetry::register_gauge_family([
$prefix="zeek",
$name="monitored_tunnels_active_footprint",
$unit="1",
$helptext="Footprint of the Tunnel::active table"
$help_text="Footprint of the Tunnel::active table"
]);

global tunnels_active_footprint_gauge = Telemetry::gauge_with(tunnels_active_footprint_gf);
Expand Down
2 changes: 1 addition & 1 deletion frameworks/telemetry/version.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ global version_gf = Telemetry::register_gauge_family([
$prefix="zeek",
$name="version_info",
$unit="1",
$helptext="The Zeek version",
$help_text="The Zeek version",
$labels=vector("version_number", "major", "minor", "patch", "commit", "beta", "debug","version_string")
]);

Expand Down

0 comments on commit a05be29

Please sign in to comment.