prometheus/cmd
Bryan Boreham f4fd9b0d68 scrape: re-use memory in TargetsFromGroup
Common service discovery mechanisms such as Kubernetes can generate a
lot of target groups, so this function was allocating a lot of memory
which then immediately became garbage. Re-using the structures across
an entire Sync saves effort.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-03-07 17:21:37 +00:00
..
prometheus Support FloatHistogram in TSDB (#11522) 2022-12-28 14:25:07 +05:30
promtool scrape: re-use memory in TargetsFromGroup 2023-03-07 17:21:37 +00:00