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

feature. implementation calculating resources for namespace #475

Merged
merged 1 commit into from
May 7, 2024

Conversation

ktkfree
Copy link
Contributor

@ktkfree ktkfree commented May 7, 2024

namespace 의 자원 사용량을 위한 API 를 구현합니다.
. cpu : sum(rate(container_cpu_usage_seconds_total{image!="", namespace="%s"}[10m]) ) by (taco_cluster, namespace)
. sum(container_memory_working_set_bytes{image!="", namespace="%s"}) by (taco_cluster, namespace)

테스트를 위해 선 merge 하며, 쿼리문에 대한 리뷰는 따로 컨펌받습니다.

@ktkfree ktkfree requested a review from intelliguy May 7, 2024 01:47
@ktkfree ktkfree merged commit 8c5ac83 into develop May 7, 2024
6 checks 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.

1 participant