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

CPU % extra metrics #45

Merged
merged 2 commits into from
Jun 19, 2019
Merged

CPU % extra metrics #45

merged 2 commits into from
Jun 19, 2019

Conversation

abhi-sumo-zz
Copy link
Contributor

Adding container_spec_cpu_quota and container_spec_cpu_period so that we can actually calculate CPU %.

google/cadvisor#2026 (comment)

Adding container_spec_cpu_quota and container_spec_cpu_period so that we can actually calculate CPU %.

google/cadvisor#2026 (comment)
@@ -123,6 +123,9 @@ prometheus:
- action: keep
regex: kubelet;container_spec_memory_(?:|swap|reservation)_limit_bytes
sourceLabels: [job, __name__]
- action: keep
regex: kubelet;container_spec_cpu_(?:|quota|period)
sourceLabels:[job, __name__]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: space between : and [

@samjsong samjsong merged commit e24e2ad into SumoLogic:master Jun 19, 2019
psaia pushed a commit to psaia/sumologic-kubernetes-collection that referenced this pull request May 25, 2021
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.

2 participants