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
This commit is contained in:
parent
5705749060
commit
7879033e7d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user