danielealbano / cachegrand

cachegrand - a modern data ingestion, processing and serving platform built for today's hardware
BSD 3-Clause "New" or "Revised" License
975 stars 34 forks source link

Fix prometheus module crash and improve stats #386

Closed danielealbano closed 1 year ago

danielealbano commented 1 year ago

This PR fixes a crash in the prometheus module triggered by having to send out too many stats (requiring a buffer bigger than 64kb) using transfer encoding chunked.

Also, drops the per-minute stats as these were not really useful, they can be generated by the system that ingests and processes the metrics.