forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.yaml
90 lines (88 loc) · 2.36 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
name: kafkametricsreceiver
attributes:
topic:
description: The ID (integer) of a topic
partition:
description: The number (integer) of the partition
group:
description: The ID (string) of a consumer group
metrics:
# brokers scraper
kafka.brokers:
enabled: true
description: Number of brokers in the cluster.
unit: "{brokers}"
gauge:
value_type: int
# topics scraper
kafka.topic.partitions:
enabled: true
description: Number of partitions in topic.
unit: "{partitions}"
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}"
gauge:
value_type: int
attributes: [topic, partition]
kafka.partition.replicas_in_sync:
enabled: true
description: Number of synchronized replicas of partition
unit: "{replicas}"
gauge:
value_type: int
attributes: [topic, partition]
# consumers scraper
kafka.consumer_group.members:
enabled: true
description: Count of members in the consumer group
unit: "{members}"
gauge:
value_type: int
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]