zeek/testing/btest/Baseline/scripts.base.frameworks.telemetry.sync-collect/out
Arne Welzel 70872673a1 telemetry: Invoke Telemetry::sync() only at scrape/collection time
This stops invoking Telemetry::sync() via a scheduled event and instead
only invokes it on-demand. This makes metric collection network time
independent and lazier, too.

With Prometheus scrape requests being processed on Zeek's main thread
now, we can safely invoke the script layer Telemetry::sync() hook.

Closes #3947
2024-10-22 18:49:11 +02:00

13 lines
427 B
Text

### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
node up
sync, 1, tcp
btest_connections_total, [tcp], 1.0
sync, 2, udp
btest_connections_total, [udp], 1.0
btest_connections_total, [tcp], 1.0
sync, 3, udp
btest_connections_total, [udp], 2.0
btest_connections_total, [tcp], 1.0
sync, 4, udp
btest_connections_total, [udp], 2.0
btest_connections_total, [tcp], 1.0