Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(monitor): fix bug in prometheusrule #2283

Conversation

willzgli
Copy link
Collaborator

@willzgli willzgli commented May 9, 2023

  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:
fix bug in prometheus rule

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
@huxiaoliang huxiaoliang merged commit e4b9e6a into tkestack:industry-cloud-1.9 May 10, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants