mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Move telmetry label names out of opts records, into main metric records
This commit is contained in:
parent
b1578d4ded
commit
433c257886
10 changed files with 114 additions and 150 deletions
|
@ -16,7 +16,7 @@ event zeek_done() &priority=-100
|
|||
local ms = Telemetry::collect_metrics("zeek", "event_handler_invocations");
|
||||
for ( _, m in ms )
|
||||
{
|
||||
if ( /zeek_.*|connection_.*/ in cat(m$labels))
|
||||
print m$opts$prefix, m$opts$name, m$labels, m$value;
|
||||
if ( /zeek_.*|connection_.*/ in cat(m$label_values))
|
||||
print m$opts$prefix, m$opts$name, m$label_values, m$value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue