Skip to content

Commit

Permalink
Merge pull request #62 from dasmeta/DMVP-add-limits
Browse files Browse the repository at this point in the history
fix(DMVP-add-limits): Add limit metrics
  • Loading branch information
aghamyan44 authored Jun 7, 2023
2 parents c162976 + 8d85bb4 commit fe51f05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/adot/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ locals {
"service_number_of_running_pods",
"pod_cpu_reserved_capacity",
"pod_memory_reserved_capacity",
"pod_cpu_limit",
"pod_memory_limit"
]

merged_metrics = concat(local.default_metrics, lookup(var.adot_config, "additional_metrics", []))
Expand Down
2 changes: 2 additions & 0 deletions modules/adot/templates/adot-values.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ adotCollector:
- container_memory_request
- container_memory_utilization
- container_memory_working_set
- pod_cpu_limit
- pod_memory_limit

# cluster metrics
- dimensions: [[ClusterName]]
Expand Down

0 comments on commit fe51f05

Please sign in to comment.