caseskda.blogg.se

Prometheus cpu usage
Prometheus cpu usage






prometheus cpu usage

Scraping will slow down and could exceed scrape_duration. Reduce the number of workers to reduce both memory consumption and CPU usage. (The default value is 1s, and the interval cannot be smaller than 200ms.) Since metrics are sent more often, memory consumption is reduced.Ĭollect metrics less frequently by increasing scrape_duration to reduce both memory consumption and CPU usage. Reduce harvest time by lowering emitter_harvest_period. Update the integration to the latest available image.

prometheus cpu usage

Each one has a latency of 150ms with a scrape_duration of 30 seconds.It scrapes 800 targets, exposing 1000 timeseries each.When running the integration in a huge cluster scraping hundreds of targets, CPU and memory consumption will increase, and the number of workers could affect scrape_duration.įor example, a Prometheus OpenMetrics integration consumes 2.5 CPU and 700Mb of RAM because: You have installed the Prometheus OpenMetrics integration for Docker or Kubernetes, and it consumes too much memory or CPU.








Prometheus cpu usage