-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
Copy pathmetadata.yaml
158 lines (153 loc) · 3.98 KB
/
metadata.yaml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
type: kafkametrics
status:
class: receiver
stability:
beta: [metrics]
distributions: [contrib]
codeowners:
active: [dmitryax]
resource_attributes:
kafka.cluster.alias:
description: The alias name (string) of the cluster
enabled: false
type: string
attributes:
broker:
description: The ID of the kafka broker
type: string
topic:
description: The ID (integer) of a topic
type: string
partition:
description: The number (integer) of the partition
type: int
group:
description: The ID (string) of a consumer group
type: string
metrics:
# brokers scraper
kafka.brokers:
enabled: true
description: Number of brokers in the cluster.
unit: "{brokers}"
sum:
monotonic: false
value_type: int
aggregation_temporality: cumulative
kafka.broker.log_retention_period:
enabled: false
description: log retention time (s) of a broker.
unit: "s"
gauge:
value_type: int
attributes: [broker]
# topics scraper
kafka.topic.partitions:
enabled: true
description: Number of partitions in topic.
unit: "{partitions}"
sum:
monotonic: false
value_type: int
aggregation_temporality: cumulative
attributes: [topic]
kafka.topic.replication_factor:
enabled: false
description: replication factor of a topic.
unit: "1"
gauge:
value_type: int
attributes: [topic]
kafka.topic.log_retention_period:
enabled: false
description: log retention period of a topic (s).
unit: s
gauge:
value_type: int
attributes: [topic]
kafka.topic.log_retention_size:
enabled: false
description: log retention size of a topic in Bytes, The value (-1) indicates infinite size.
unit: By
gauge:
value_type: int
attributes: [topic]
kafka.topic.min_insync_replicas:
enabled: false
description: minimum insync replicas of a topic.
unit: "{replicas}"
gauge:
value_type: int
attributes: [topic]
kafka.partition.current_offset:
enabled: true
description: Current offset of partition of topic.
unit: "1"
gauge:
value_type: int
attributes: [topic, partition]
kafka.partition.oldest_offset:
enabled: true
description: Oldest offset of partition of topic
unit: "1"
gauge:
value_type: int
attributes: [topic, partition]
kafka.partition.replicas:
enabled: true
description: Number of replicas for partition of topic
unit: "{replicas}"
sum:
monotonic: false
value_type: int
aggregation_temporality: cumulative
attributes: [topic, partition]
kafka.partition.replicas_in_sync:
enabled: true
description: Number of synchronized replicas of partition
unit: "{replicas}"
sum:
monotonic: false
value_type: int
aggregation_temporality: cumulative
attributes: [topic, partition]
# consumers scraper
kafka.consumer_group.members:
enabled: true
description: Count of members in the consumer group
unit: "{members}"
sum:
monotonic: false
value_type: int
aggregation_temporality: cumulative
attributes: [group]
kafka.consumer_group.offset:
enabled: true
description: Current offset of the consumer group at partition of topic
unit: "1"
gauge:
value_type: int
attributes: [group, topic, partition]
kafka.consumer_group.offset_sum:
enabled: true
description: Sum of consumer group offset across partitions of topic
unit: "1"
gauge:
value_type: int
attributes: [group, topic]
kafka.consumer_group.lag:
enabled: true
description: Current approximate lag of consumer group at partition of topic
unit: "1"
gauge:
value_type: int
attributes: [group, topic, partition]
kafka.consumer_group.lag_sum:
enabled: true
description: Current approximate sum of consumer group lag across all partitions of topic
unit: "1"
gauge:
value_type: int
attributes: [group, topic]
tests:
config: