-
Notifications
You must be signed in to change notification settings - Fork 1
/
produce_purgatory_size-variables.tf
58 lines (46 loc) · 1.47 KB
/
produce_purgatory_size-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
56
57
58
variable "produce_purgatory_size_enabled" {
type = bool
default = true
}
variable "produce_purgatory_size_warning" {
type = number
default = 100
}
variable "produce_purgatory_size_critical" {
type = number
default = 200
}
variable "produce_purgatory_size_evaluation_period" {
type = string
default = "last_15m"
}
variable "produce_purgatory_size_note" {
type = string
default = ""
}
variable "produce_purgatory_size_docs" {
type = string
default = <<EOFF
The request purgatory serves as a temporary holding pen for produce and fetch requests waiting to be satisfied.
If request.required.acks=-1, all produce requests will end up in purgatory until the partition leader receives an acknowledgment from all followers.
Keeping an eye on the size of purgatory is useful to determine the underlying causes of latency. Increases in consumer fetch times, for example, can be easily explained if there is a corresponding increase in the number of fetch requests in purgatory.
https://www.datadoghq.com/blog/monitoring-kafka-performance-metrics/
EOFF
}
variable "produce_purgatory_size_filter_override" {
type = string
default = ""
}
variable "produce_purgatory_size_alerting_enabled" {
type = bool
default = true
}
variable "produce_purgatory_size_require_full_window" {
type = bool
default = true
}
variable "produce_purgatory_size_priority" {
description = "Number from 1 (high) to 5 (low)."
type = number
default = 3
}