mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Update test baselines due to underscore changes
This commit is contained in:
parent
a0ae06b3cd
commit
d7b9924058
4 changed files with 10 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
||||||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||||
### zeek_session_metrics |2|
|
### zeek_session_metrics |2|
|
||||||
Telemetry::INT_GAUGE, zeek, active-sessions, [protocol], [tcp], 500.0
|
Telemetry::INT_GAUGE, zeek, active_sessions, [protocol], [tcp], 500.0
|
||||||
count_value, 500
|
count_value, 500
|
||||||
Telemetry::INT_COUNTER, zeek, total-sessions, [protocol], [tcp], 500.0
|
Telemetry::INT_COUNTER, zeek, total_sessions, [protocol], [tcp], 500.0
|
||||||
count_value, 500
|
count_value, 500
|
||||||
### bt* metrics |5|
|
### bt* metrics |5|
|
||||||
Telemetry::DOUBLE_COUNTER, btest, a_test, [x, y], [a, b], 1.0
|
Telemetry::DOUBLE_COUNTER, btest, a_test, [x, y], [a, b], 1.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||||
zeek, event-handler-invocations, [zeek_init], 1
|
zeek, event_handler_invocations, [zeek_init], 1
|
||||||
zeek, event-handler-invocations, [connection_state_remove], 500
|
zeek, event_handler_invocations, [connection_state_remove], 500
|
||||||
zeek, event-handler-invocations, [zeek_done], 1
|
zeek, event_handler_invocations, [zeek_done], 1
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||||
XXXXXXXXXX.XXXXXX zeek gauge zeek active-sessions - protocol tcp 1.0
|
XXXXXXXXXX.XXXXXX zeek gauge zeek active_sessions (empty) protocol tcp 1.0
|
||||||
XXXXXXXXXX.XXXXXX zeek counter zeek total-sessions - protocol tcp 1.0
|
XXXXXXXXXX.XXXXXX zeek counter zeek total_sessions - protocol tcp 1.0
|
||||||
XXXXXXXXXX.XXXXXX zeek gauge zeek active-sessions - protocol tcp 500.0
|
XXXXXXXXXX.XXXXXX zeek gauge zeek active_sessions (empty) protocol tcp 500.0
|
||||||
XXXXXXXXXX.XXXXXX zeek counter zeek total-sessions - protocol tcp 500.0
|
XXXXXXXXXX.XXXXXX zeek counter zeek total_sessions - protocol tcp 500.0
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
event zeek_done() &priority=-100
|
event zeek_done() &priority=-100
|
||||||
{
|
{
|
||||||
local ms = Telemetry::collect_metrics("zeek", "event-handler-invocations");
|
local ms = Telemetry::collect_metrics("zeek", "event_handler_invocations");
|
||||||
for ( _, m in ms )
|
for ( _, m in ms )
|
||||||
{
|
{
|
||||||
if ( /zeek_.*|connection_.*/ in cat(m$labels))
|
if ( /zeek_.*|connection_.*/ in cat(m$labels))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue