This PR adds new metrics based on sparrow telemetry events. The changes include:
Adding histogram, sum and counter metric for HTTP requests
Count of worker pools
Count of workers per worker pool
Total count of workers in all worker pools
Last three metrics are gathered using :wpool.stats to get the information from worker pool.
Telemetry poller is added to the project to collect periodic metrics. Counters of pools and workers are collected as events generated during telemetry poller events. The period for gathering metrics is 5 seconds which is the default value for telemetry poller.
This PR adds new metrics based on sparrow telemetry events. The changes include:
Last three metrics are gathered using
:wpool.stats
to get the information from worker pool.Telemetry poller
is added to the project to collect periodic metrics. Counters of pools and workers are collected as events generated during telemetry poller events. The period for gathering metrics is 5 seconds which is the default value for telemetry poller.