zeek/scripts
Christian Kreibich 90ecf7ff0d Add backpressure disconnect notification to cluster.log and via telemetry
This adds a Broker-specific script to the cluster framework, loaded only when
Zeek is running in cluster mode. It adds logging in cluster.log as well as
telemetry via a metrics counter for Broker-observed backpressure disconnects.

The new zeek_broker_backpressure_disconnects counter, labeled by the neighboring
peer that the reporting node has determined to be unresponsive, counts the
number of unpeerings for this reason.

Here the node "worker" has observed node "proxy" falling behind once:

# HELP zeek_broker_backpressure_disconnects_total Number of Broker peering drops due to a neighbor falling too far behind in message I/O
# TYPE zeek_broker_backpressure_disconnects_total counter
zeek_broker_backpressure_disconnects_total{endpoint="worker",peer="proxy"} 1

Includes small btest baseline update to reflect @load of a new script.

(cherry picked from commit ead6134501)
2025-04-08 15:09:44 -07:00
..
base Add backpressure disconnect notification to cluster.log and via telemetry 2025-04-08 15:09:44 -07:00
policy Merge branch 'sqli-spaces-encode-to-plus' of https://github.com/cooper-grill/zeek 2024-11-19 09:33:22 -07:00
site telemetry: Deprecate prometheus.zeek policy script 2024-07-23 10:05:46 +02:00
spicy Spicy: Provide runtime API to access Zeek-side globals. 2024-06-20 12:02:54 +02:00
zeekygen test-all-policy: Do not load iso-9660.zeek 2024-02-26 17:58:26 +01:00
CMakeLists.txt Use the same rules as cmake submodule to reformat Zeek 2023-05-09 08:31:43 -07:00
test-all-policy.zeek test-all-policy: Do not load iso-9660.zeek 2024-02-26 17:58:26 +01:00