Skip to content

Commit 42346d9

Browse files
docs: JK-10491: improve appearance of supported metrics reference section (#627)
* docs: improve appearance of supported metrics reference * docs: some further updates * docs: peer review updates
1 parent 52eaa03 commit 42346d9

File tree

1 file changed

+28
-22
lines changed

1 file changed

+28
-22
lines changed

docs/kafka/metrics-monitoring-kafka/README.adoc

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -106,58 +106,64 @@ As a developer or administrator, you can view metrics in {product-long-kafka} to
106106
Cluster metrics::
107107
+
108108
--
109-
* `kafka_namespace:haproxy_server_bytes_in_total:rate5m`: Number of incoming bytes per second for the cluster in the last five minutes. This ingress metric represents all the data that producers are sending to topics in the cluster.
109+
`kafka_namespace:haproxy_server_bytes_in_total:rate5m`:: Number of incoming bytes per second for the cluster in the last five minutes. This ingress metric represents all the data that producers are sending to topics in the cluster.
110+
+
110111
The Kafka instance type determines the maximum incoming byte rate.
111112

112-
* `kafka_namespace:haproxy_server_bytes_out_total:rate5m`: Number of outgoing bytes per second for the cluster in the last five minutes. This egress metric represents all the data that consumers are receiving from topics in the cluster.
113+
`kafka_namespace:haproxy_server_bytes_out_total:rate5m`:: Number of outgoing bytes per second for the cluster in the last five minutes. This egress metric represents all the data that consumers are receiving from topics in the cluster.
114+
+
113115
The Kafka instance type determines the maximum outgoing byte rate.
114116

115-
* `kafka_namespace:kafka_server_socket_server_metrics_connection_count:sum`: Number of current client connections to the cluster. Kafka clients use persistent connections to interact with brokers in the cluster. For example, a consumer holds a connection to each broker it is receiving data from and a connection to its group coordinator.
117+
`kafka_namespace:kafka_server_socket_server_metrics_connection_count:sum`:: Number of current client connections to the cluster. Kafka clients use persistent connections to interact with brokers in the cluster. For example, a consumer holds a connection to each broker it is receiving data from and a connection to its group coordinator.
118+
+
116119
The Kafka instance type determines the maximum number of active connections.
117-
* `kafka_namespace:kafka_server_socket_server_metrics_connection_creation_rate:sum`: Number of client connection creations per second for the cluster. Kafka clients use persistent connections to interact with brokers in the cluster. A constant high number of connection creations might indicate a client issue.
120+
121+
`kafka_namespace:kafka_server_socket_server_metrics_connection_creation_rate:sum`:: Number of client connection creations per second for the cluster. Kafka clients use persistent connections to interact with brokers in the cluster. A constant high number of connection creations might indicate a client issue.
122+
+
118123
The Kafka instance type determines the maximum connection creation rate.
119124

120-
* `kafka_topic:kafka_topic_partitions:count`: Number of topics in the cluster. This does not include internal Kafka topics, such as `\__consumer_offsets` and `__transaction_state`.
125+
`kafka_topic:kafka_topic_partitions:count`:: Number of topics in the cluster. This metric does not include internal Kafka topics, such as `\__consumer_offsets` and `__transaction_state`.
121126

122-
* `kafka_topic:kafka_topic_partitions:sum`: Number of partitions across all topics in the cluster. This does not include partitions from internal Kafka topics, such as `\__consumer_offsets` and `__transaction_state`.
127+
`kafka_topic:kafka_topic_partitions:sum`:: Number of partitions across all topics in the cluster. This metric does not include partitions from internal Kafka topics, such as `\__consumer_offsets` and `__transaction_state`.
128+
+
123129
The Kafka instance type determines the maximum number of partitions.
124130
--
125131

126132
Broker metrics::
127133
+
128134
--
129-
* `kafka_broker_quota_softlimitbytes`: Maximum amount of storage, in bytes, for this broker before producers are throttled. When this limit is reached, the broker starts throttling producers to prevent them from sending additional data.
135+
`kafka_broker_quota_softlimitbytes`:: Maximum amount of storage, in bytes, for this broker before producers are throttled. When this limit is reached, the broker starts throttling producers to prevent them from sending additional data.
136+
+
130137
The Kafka instance type determines the maximum storage in the broker.
131138

132-
* `kafka_broker_quota_totalstorageusedbytes`: Amount of storage, in bytes, that is currently used by partitions in the broker. The storage usage depends on the number and retention configurations of the partitions. This metric must stay below the `kafka_broker_quota_softlimitbytes` metric setting.
139+
`kafka_broker_quota_totalstorageusedbytes`:: Amount of storage, in bytes, that is currently used by partitions in the broker. The storage usage depends on the number and retention configurations of the partitions. This metric must stay below the `kafka_broker_quota_softlimitbytes` value.
133140

134-
* `kafka_controller_kafkacontroller_global_partition_count`: Number of partitions in the cluster. Only the broker that is the current controller in the cluster reports this metric. Any other brokers report `0`. This count includes partitions from internal Kafka topics, such as `\__consumer_offsets` and `__transaction_state`. This metric is similar to the `kafka_topic:kafka_topic_partitions:sum` cluster metric.
135-
The Kafka instance type determines the maximum storage in the broker.
141+
`kafka_controller_kafkacontroller_global_partition_count`:: Number of partitions in the cluster. Only the broker that is the current controller in the cluster reports this metric. Any other brokers report a value of `0`. This count includes partitions from internal Kafka topics, such as `\__consumer_offsets` and `__transaction_state`. This metric is similar to the `kafka_topic:kafka_topic_partitions:sum` cluster metric.
136142

137-
* `kafka_controller_kafkacontroller_offline_partitions_count`: Number of partitions in the cluster that are currently offline. Offline partitions cannot be used by clients for producing or consuming data. Only the broker that is the current controller in the cluster reports this metric. Any other brokers report `0`.
143+
`kafka_controller_kafkacontroller_offline_partitions_count`:: Number of partitions in the cluster that are currently offline. Offline partitions cannot be used by clients for producing or consuming data. Only the broker that is the current controller in the cluster reports this metric. Any other brokers report `0`.
138144

139-
* `kubelet_volume_stats_available_bytes`: Amount of disk space, in bytes, that is available in the broker.
145+
`kubelet_volume_stats_available_bytes`:: Amount of disk space, in bytes, that is available in the broker.
140146

141-
* `kubelet_volume_stats_used_bytes`: Amount of disk space, in bytes, that is currently used in the broker. This metric is similar to the `kafka_broker_quota_totalstorageusedbytes` broker metric.
147+
`kubelet_volume_stats_used_bytes`:: Amount of disk space, in bytes, that is currently used in the broker. This metric is similar to the `kafka_broker_quota_totalstorageusedbytes` broker metric.
142148
--
143149

144150
Topic metrics::
145151
+
152+
--
153+
`kafka_server_brokertopicmetrics_bytes_in_total`:: Number of incoming bytes to topics in the instance.
146154

147-
* `kafka_server_brokertopicmetrics_bytes_in_total`: Number of incoming bytes to topics in the instance.
148-
149-
* `kafka_server_brokertopicmetrics_bytes_out_total`: Number of outgoing bytes from topics in the instance.
150-
151-
* `kafka_server_brokertopicmetrics_messages_in_total`: Number of messages per second received by one or more topics in the instance.
155+
`kafka_server_brokertopicmetrics_bytes_out_total`:: Number of outgoing bytes from topics in the instance.
152156

153-
* `kafka_topic:kafka_server_brokertopicmetrics_bytes_in_total:rate5m`: Number of incoming bytes to topics in the instance in the last five minutes.
157+
`kafka_server_brokertopicmetrics_messages_in_total`:: Number of messages per second received by one or more topics in the instance.
154158

155-
* `kafka_topic:kafka_server_brokertopicmetrics_bytes_out_total:rate5m`: Number of outgoing bytes from topics in the instance in the last five minutes.
159+
`kafka_topic:kafka_server_brokertopicmetrics_bytes_in_total:rate5m`:: Number of incoming bytes to topics in the instance in the last five minutes.
156160

157-
* `kafka_topic:kafka_server_brokertopicmetrics_messages_in_total:rate5m`: Number of messages per second received by one or more topics in the instance in the last five minutes.
161+
`kafka_topic:kafka_server_brokertopicmetrics_bytes_out_total:rate5m`:: Number of outgoing bytes from topics in the instance in the last five minutes.
158162

159-
* `kafka_topic:kafka_log_log_size:sum`: Log size of each topic and replica, in bytes, across all brokers in the cluster.
163+
`kafka_topic:kafka_server_brokertopicmetrics_messages_in_total:rate5m`:: Number of messages per second received by one or more topics in the instance in the last five minutes.
160164

165+
`kafka_topic:kafka_log_log_size:sum`:: Log size, in bytes, of each topic and replica across all brokers in the cluster.
166+
--
161167

162168
[id="proc-viewing-metrics_{context}"]
163169
== Viewing metrics for a Kafka instance in {product-kafka}

0 commit comments

Comments
 (0)