mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Merge remote-tracking branch 'origin/topic/timw/telemetry-threading'
* origin/topic/timw/telemetry-threading:
Process metric callbacks from the main-loop thread
(cherry picked from commit 3c3853dc7d
)
This commit is contained in:
parent
056bbe04ea
commit
dd4597865a
10 changed files with 130 additions and 11 deletions
|
@ -5883,6 +5883,13 @@ export {
|
|||
|
||||
type MetricVector : vector of Metric;
|
||||
type HistogramMetricVector : vector of HistogramMetric;
|
||||
|
||||
## Maximum amount of time for CivetWeb HTTP threads to
|
||||
## wait for metric callbacks to complete on the IO loop.
|
||||
const callback_timeout: interval = 5sec &redef;
|
||||
|
||||
## Number of CivetWeb threads to use.
|
||||
const civetweb_threads: count = 2 &redef;
|
||||
}
|
||||
|
||||
module GLOBAL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue