diff options
author | Anant Patil <anant.patil@hp.com> | 2016-09-19 16:29:12 +0530 |
---|---|---|
committer | Anant Patil <anant.techie@gmail.com> | 2017-03-27 06:37:49 +0000 |
commit | 7879033e7dc8a43c79c17a8ab863ee4f1d26bbbc (patch) | |
tree | e9bbfb19fa5234058f2e57ef8802335377a510df | |
parent | 570574906087be436d86efc5af25e61b41189a89 (diff) | |
download | heat-templates-7879033e7dc8a43c79c17a8ab863ee4f1d26bbbc.tar.gz |
Use non-admin visible metrics
As per monasca documentation, the metrics starting with "vm." are only
visible to admin tenants. Since many users use this template are
non-admin tenants, this is being reflected to use non-admin visible
metrics.
Change-Id: I74201d8517dd5ab482a9f34e3a8aa725c50c8152
-rw-r--r-- | hot/monasca/autoscaling.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hot/monasca/autoscaling.yaml b/hot/monasca/autoscaling.yaml index 26cb222..51b86e7 100644 --- a/hot/monasca/autoscaling.yaml +++ b/hot/monasca/autoscaling.yaml @@ -64,7 +64,7 @@ resources: description: CPU utilization reached beyond 50 percent expression: str_replace: - template: avg(vm.cpu.utilization_perc{scale_group=scale_group_id}) > 50 times 3 + template: avg(cpu.utilization_perc{scale_group=scale_group_id}) > 50 times 3 params: scale_group_id: {get_param: "OS::stack_id"} severity: high @@ -78,7 +78,7 @@ resources: description: CPU utilization less than 15 percent expression: str_replace: - template: avg(vm.cpu.utilization_perc{scale_group=scale_group_id}) < 15 times 3 + template: avg(cpu.utilization_perc{scale_group=scale_group_id}) < 15 times 3 params: scale_group_id: {get_param: "OS::stack_id"} severity: low |