Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
remove _name from recording rules (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegoodier authored Apr 28, 2023
1 parent dad1c0f commit c52fa8e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README-grafana-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,15 +379,15 @@ namespace: "kubecost"
groups:
- name: CPU
rules:
- expr: sum(rate(container_cpu_usage_seconds_total{container_name!=""}[5m]))
- expr: sum(rate(container_cpu_usage_seconds_total{container!=""}[5m]))
record: cluster:cpu_usage:rate5m
- expr: rate(container_cpu_usage_seconds_total{container_name!=""}[5m])
- expr: rate(container_cpu_usage_seconds_total{container!=""}[5m])
record: cluster:cpu_usage_nosum:rate5m
- expr: avg(irate(container_cpu_usage_seconds_total{container_name!="POD", container_name!=""}[5m])) by (container_name,pod_name,namespace)
- expr: avg(irate(container_cpu_usage_seconds_total{container!="POD", container!=""}[5m])) by (container,pod,namespace)
record: kubecost_container_cpu_usage_irate
- expr: sum(container_memory_working_set_bytes{container_name!="POD",container_name!=""}) by (container_name,pod_name,namespace)
- expr: sum(container_memory_working_set_bytes{container!="POD",container!=""}) by (container,pod,namespace)
record: kubecost_container_memory_working_set_bytes
- expr: sum(container_memory_working_set_bytes{container_name!="POD",container_name!=""})
- expr: sum(container_memory_working_set_bytes{container!="POD",container!=""})
record: kubecost_cluster_memory_working_set_bytes
- name: Savings
rules:
Expand Down Expand Up @@ -451,4 +451,4 @@ Optionally, you can also add our [Kubecost Dashboard for Grafana Cloud](https://

For advanced setup or if you have any questions, you can contact us on [Slack](https://join.slack.com/t/kubecost/shared_invite/enQtNTA2MjQ1NDUyODE5LWFjYzIzNWE4MDkzMmUyZGU4NjkwMzMyMjIyM2E0NGNmYjExZjBiNjk1YzY5ZDI0ZTNhZDg4NjlkMGRkYzFlZTU) or email at [email protected]

To participate in our free Enterprise onboarding program, contact us at [email protected] to schedule these sessions!
To participate in our free Enterprise onboarding program, contact us at [email protected] to schedule these sessions!

0 comments on commit c52fa8e

Please sign in to comment.