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 #2281

Merged
merged 1 commit into from
May 10, 2023

Conversation

willzgli
Copy link
Collaborator

@willzgli willzgli commented May 8, 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:

this pr fix bugs in prometheus record rules

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
@willzgli willzgli self-assigned this May 9, 2023
@willzgli willzgli requested review from DanielXLee and leoryu May 9, 2023 10:27
@willzgli willzgli merged commit c2ec3b8 into tkestack:master May 10, 2023
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