Add extra metrics to session_mgr

- Sessions killed by activity
- Current number of sessions across all types
This commit is contained in:
Tim Wojtulewicz 2024-05-29 17:28:11 -07:00
parent d1f7999f61
commit a81f6ab9a6
6 changed files with 29 additions and 7 deletions

View file

@ -1,5 +1,6 @@
### 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 |3|
Telemetry::COUNTER, zeek, zeek_ended_sessions_total, [reason], [inactivity], 0.0
Telemetry::COUNTER, zeek, zeek_total_sessions_total, [protocol], [tcp], 500.0
Telemetry::GAUGE, zeek, zeek_active_sessions, [protocol], [tcp], 500.0
### bt* metrics |5|