Skip to content

Commit

Permalink
fix reverted thresholds values for api gateway (#396)
Browse files Browse the repository at this point in the history
* fix reverted thresholds values for api gateway

* auto update
  • Loading branch information
xp-1000 authored Feb 28, 2022
1 parent 621fb2d commit 7bbb185
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/integration_aws-apigateway/conf/01-latency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ signals:
rollup: average
rules:
critical:
threshold: 1000
threshold: 3000
comparator: ">"
lasting_duration: 10m
lasting_at_least: 0.9
major:
threshold: 3000
threshold: 1000
comparator: ">"
dependency: critical
lasting_duration: 10m
Expand Down
4 changes: 2 additions & 2 deletions modules/integration_aws-apigateway/variables-gen.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ variable "latency_disabled_major" {
variable "latency_threshold_critical" {
description = "Critical threshold for latency detector in Millisecond"
type = number
default = 1000
default = 3000
}

variable "latency_lasting_duration_critical" {
Expand All @@ -74,7 +74,7 @@ variable "latency_at_least_percentage_critical" {
variable "latency_threshold_major" {
description = "Major threshold for latency detector in Millisecond"
type = number
default = 3000
default = 1000
}

variable "latency_lasting_duration_major" {
Expand Down

0 comments on commit 7bbb185

Please sign in to comment.