mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

- fixing some Metrics::add_data() call signatures - slight refactors to cluster framework @if and adding a NONE NodeType for so local_node_type() will return that instead of just emitting an error when cluster mode isn't enabled - `make restdoc` target now uses bro's bare-mode - bro scripts generated from bifs now really only live in the build/src/base/ directory and changed the DocSourcesList.cmake to dynamically figure out what bifs exist by looking in src/ instead of build/src/ - add some missing @load dependencies
18 lines
272 B
Text
18 lines
272 B
Text
@load ./main
|
|
|
|
module Metrics;
|
|
|
|
export {
|
|
|
|
}
|
|
|
|
event Metrics::log_it(filter: Filter)
|
|
{
|
|
local id = filter$id;
|
|
local name = filter$name;
|
|
|
|
write_log(network_time(), filter, store[id, name]);
|
|
reset(filter);
|
|
|
|
schedule filter$break_interval { Metrics::log_it(filter) };
|
|
}
|