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:
Tim Wojtulewicz 2024-08-02 15:49:40 -07:00
parent 056bbe04ea
commit dd4597865a
10 changed files with 130 additions and 11 deletions

View file

@ -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;