Skip to content

Commit

Permalink
update cpu utilization thresholds and rule value to trigger alert (#1338
Browse files Browse the repository at this point in the history
)
  • Loading branch information
yduartep authored Sep 27, 2024
1 parent 16489a0 commit 134467f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion csp-mixin/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[
{
alert: 'AzureVMHighCpuUtilization',
expr: 'avg by (%s) (%s) > 80' %
expr: 'avg by (%s) (%s) > 85' %
[
std.join(',', this.config.groupLabels + this.config.instanceLabels),
this.signals.azurevm.cpuUtilization.asRuleExpression(),
Expand Down
16 changes: 8 additions & 8 deletions csp-mixin/panels/azurevm.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,16 @@ local commonlib = import 'common-lib/common/main.libsonnet';
mode: 'absolute',
steps: [
{
color: 'green',
color: 'yellow',
value: null,
},
{
color: 'orange',
value: 70,
color: 'green',
value: 30,
},
{
color: 'red',
value: 90,
value: 85,
},
],
},
Expand Down Expand Up @@ -410,16 +410,16 @@ local commonlib = import 'common-lib/common/main.libsonnet';
mode: 'absolute',
steps: [
{
color: 'green',
color: 'yellow',
value: null,
},
{
color: 'orange',
value: 70,
color: 'green',
value: 30,
},
{
color: 'red',
value: 90,
value: 85,
},
],
},
Expand Down

0 comments on commit 134467f

Please sign in to comment.