-
Notifications
You must be signed in to change notification settings - Fork 1
/
bytesin-high-variables.tf
52 lines (41 loc) · 1.48 KB
/
bytesin-high-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
variable "bytesin_high_enabled" {
type = bool
default = true
}
variable "bytesin_high_warning" {
type = number
default = 2500000
}
variable "bytesin_high_critical" {
type = number
default = 5000000
}
variable "bytesin_high_evaluation_period" {
type = string
default = "last_30m"
}
variable "bytesin_high_note" {
type = string
default = ""
}
variable "bytesin_high_docs" {
type = string
default = <<EOFF
NOTE: This is based on a baseline and might need adjusting further down the road.
Generally, disk throughput tends to be the main bottleneck in Kafka performance. However, that’s not to say that the network is never a bottleneck. Network throughput can affect Kafka’s performance if you are sending messages across data centers, if your topics have a large number of consumers, or if your replicas are catching up to their leaders. Tracking network throughput on your brokers gives you more information as to where potential bottlenecks may lie, and can inform decisions like whether or not you should enable end-to-end compression of your messages.
https://www.datadoghq.com/blog/monitoring-kafka-performance-metrics/
EOFF
}
variable "bytesin_high_filter_override" {
type = string
default = ""
}
variable "bytesin_high_alerting_enabled" {
type = bool
default = true
}
variable "bytesin_high_priority" {
description = "Number from 1 (high) to 5 (low)."
type = number
default = 3
}