Skip to content

Commit

Permalink
chore: changing threshold for 5xx alerting rule (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
geekbrother authored Oct 23, 2023
1 parent c60df00 commit 9cdeb97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/monitoring/panels/lb/error_5xx.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local defaults = import '../../grafonnet-lib/defaults.libsonnet';
local panels = grafana.panels;
local targets = grafana.targets;

local threshold = 100;
local threshold = 1;

local _configuration = defaults.configuration.timeseries
.withSoftLimit(
Expand All @@ -20,7 +20,7 @@ local _configuration = defaults.configuration.timeseries
local _alert(namespace, env, notifications) = grafana.alert.new(
namespace = namespace,
name = "%(env)s - 5XX alert" % { env: grafana.utils.strings.capitalize(env) },
message = '%(env)s - Too many 5XX' % { env: grafana.utils.strings.capitalize(env) },
message = '%(env)s - Notify - 5XX alert' % { env: grafana.utils.strings.capitalize(env) },
notifications = notifications,
noDataState = 'no_data',
conditions = [
Expand Down

0 comments on commit 9cdeb97

Please sign in to comment.