-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoffline_partitions-variables.tf
55 lines (44 loc) · 1.33 KB
/
offline_partitions-variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
variable "offline_partitions_enabled" {
type = bool
default = true
}
variable "offline_partitions_warning" {
type = number
default = 0
}
variable "offline_partitions_critical" {
type = number
default = 0
}
variable "offline_partitions_evaluation_period" {
type = string
default = "last_5m"
}
variable "offline_partitions_note" {
type = string
default = ""
}
variable "offline_partitions_docs" {
type = string
default = <<EOFF
This metric reports the number of partitions without an active leader. Because all read and write operations are only performed on partition leaders, you should alert on a non-zero value for this metric to prevent service interruptions. Any partition without an active leader will be completely inaccessible, and both consumers and producers of that partition will be blocked until a leader becomes available.
https://www.datadoghq.com/blog/monitoring-kafka-performance-metrics/
EOFF
}
variable "offline_partitions_filter_override" {
type = string
default = ""
}
variable "offline_partitions_alerting_enabled" {
type = bool
default = true
}
variable "offline_partitions_require_full_window" {
type = bool
default = true
}
variable "offline_partitions_priority" {
description = "Number from 1 (high) to 5 (low)."
type = number
default = 2
}