tkestack / tke

Native Kubernetes container management platform supporting multi-tenant and multi-cluster
Other
1.48k stars 335 forks source link

fix(monitor): fix bug in prometheusrule #2281

Closed willzgli closed 1 year ago

willzgli commented 1 year ago
  1. idelta interval(2m) is not matched with prometheus scrape_interval(default is 1m), this will make the related series have break point frequently

  2. (container_memory_usage_bytes - container_memory_cache) is not container's real memory use container_memory_working_set_bytes to replace it

What type of PR is this?

/kind bug

What this PR does / why we need it:

this pr fix bugs in prometheus record rules