Fix ordering of telemtry metrics when running under test

This commit is contained in:
Tim Wojtulewicz 2025-07-18 11:31:41 -07:00
parent 365e6cbc9e
commit cab0883254
3 changed files with 42 additions and 30 deletions

View file

@ -1,8 +1,8 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
### zeek_session_metrics |3|
Telemetry::GAUGE, zeek, zeek_active_sessions, [protocol], [tcp], 500.0
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|
Telemetry::COUNTER, btest, btest_a_test_total, [x, y], [a, b], 1.0
Telemetry::COUNTER, btest, btest_b_test_total, [x, y], [a, b], 10.0