Skip to content

Commit 6accf3e

Browse files
committed
disabled latency and error alerts because we prefer SLOs for that
1 parent 029ec52 commit 6accf3e

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ avg(last_10m):100 * (sum:trace.${var.trace_span_name}.errors{tag:xxx}.as_rate()
8888

8989
| variable | default | required | description |
9090
|------------------------------------|----------|----------|----------------------------------|
91-
| error_percentage_enabled | True | No | |
91+
| error_percentage_enabled | False | No | We prefer to alert on SLO's |
9292
| error_percentage_warning | 0.01 | No | |
9393
| error_percentage_critical | 0.05 | No | |
9494
| error_percentage_evaluation_period | last_10m | No | |
@@ -133,7 +133,7 @@ percentile(last_15m):p95:trace.${var.trace_span_name}{${local.latency_filter}} >
133133

134134
| variable | default | required | description |
135135
|-------------------------------------------|----------|----------|----------------------------------|
136-
| latency_p95_enabled | True | No | |
136+
| latency_p95_enabled | False | No | We prefer to alert on SLO's |
137137
| latency_p95_warning | 0.9 | No | P95 Latency in seconds. |
138138
| latency_p95_critical | 1.3 | No | P95 Latency warning in seconds. |
139139
| latency_p95_evaluation_period | last_15m | No | |
@@ -155,7 +155,7 @@ burn_rate(\"${local.latency_slo_id}\").over(\"${var.latency_slo_burn_rate_evalua
155155

156156
| variable | default | required | description |
157157
|-----------------------------------------------------|------------------------------------------|----------|------------------------------------------------------------------------------------------------------|
158-
| latency_slo_enabled | False | No | Note that this monitor requires custom metrics to be present. Those can unfortunately not be created with Terraform yet |
158+
| latency_slo_enabled | True | No | Note that this monitor requires custom metrics to be present. Those can unfortunately not be created with Terraform yet |
159159
| latency_slo_note | "" | No | |
160160
| latency_slo_docs | "" | No | |
161161
| latency_slo_filter_override | "" | No | |

error-percentage-variables.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
variable "error_percentage_enabled" {
2-
type = bool
3-
default = true
2+
description = "We prefer to alert on SLO's"
3+
type = bool
4+
default = false
45
}
56

67
variable "error_percentage_warning" {

latency-p95-variables.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
variable "latency_p95_enabled" {
2-
type = bool
3-
default = true
2+
description = "We prefer to alert on SLO's"
3+
type = bool
4+
default = false
45
}
56

67
variable "latency_p95_warning" {

latency-slo-variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
variable "latency_slo_enabled" {
22
type = bool
3-
default = false
3+
default = true
44
description = "Note that this monitor requires custom metrics to be present. Those can unfortunately not be created with Terraform yet"
55
}
66

0 commit comments

Comments
 (0)