You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/get-started/pages/release-notes/redpanda.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This topic includes new content added in version {page-component-version}. For a
9
9
10
10
== Connected client monitoring
11
11
12
-
You can view details about Kafka client connections using the Admin API ListKafkaConnections endpoint. This allows you to view detailed information about about active client connections on a cluster, and identify and troubleshoot problematic clients. For more information, see xref:manage:monitoring.adoc#identify-high-throughput-clients[Monitor Redpanda].
12
+
You can view details about Kafka client connections using `rpk` or the Admin API ListKafkaConnections endpoint. This allows you to view detailed information about active client connections on a cluster, and identify and troubleshoot problematic clients. For more information, see xref:manage:monitoring.adoc#identify-high-throughput-clients[Monitor Redpanda].
Copy file name to clipboardExpand all lines: modules/manage/pages/cluster-maintenance/configure-client-connections.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ ifndef::env-cloud[]
15
15
====
16
16
Before you configure connection limits or reconnection settings, start by gathering detailed data about your client connections.
17
17
18
-
* Internal metrics that follow the `vectorized_kafka_rpc_.*connect.*` naming pattern provide details on Kafka client connection activity. For example, xref:reference:internal-metrics-reference.adoc#vectorized_kafka_rpc_active_connections[`vectorized_kafka_rpc_active_connections`] reports the current number of active connections.
19
-
* For Redpanda v25.3 and later, use the Admin API ListKafkaConnections endpoint to identify:
18
+
* Internal metrics that follow the `vectorized_kafka_rpc_.\*connect.*` naming pattern provide details on Kafka client connection activity. For example, xref:reference:internal-metrics-reference.adoc#vectorized_kafka_rpc_active_connections[`vectorized_kafka_rpc_active_connections`] reports the current number of active connections.
19
+
* For Redpanda v25.3 and later, use `rpk cluster connections list` or the Admin API ListKafkaConnections endpoint to identify:
You may find it helpful to check the xref:{monitor-doc}[current produce and consume throughput] of a client before you configure throughput quotas.
23
23
24
-
Use the Admin API link:/api/doc/admin/v2/operation/operation-redpanda-core-admin-v2-clusterservice-listkafkaconnections[ListKafkaConnections] endpoint to view detailed information about active Kafka client connections. For example, to view a cluster's connected clients in order of highest current produce throughput, you can use the following request:
24
+
Use the `rpk cluster connections list` command or the link:/api/doc/admin/v2/operation/operation-redpanda-core-admin-v2-clusterservice-listkafkaconnections[ListKafkaConnections] Admin API endpoint to view detailed information about active Kafka client connections.
25
25
26
+
For example, to view a cluster's connected clients in order of highest current produce throughput, run:
27
+
28
+
[tabs]
29
+
======
30
+
rpk::
31
+
+
32
+
--
33
+
[,bash]
34
+
----
35
+
rpk cluster connections list --order-by="recent_request_statistics.produce_bytes desc"
36
+
----
37
+
38
+
[,bash,role="no-copy no-wrap"]
39
+
----
40
+
UID STATE USER CLIENT-ID IP:PORT NODE SHARD OPEN-TIME IDLE PROD-TPUT/SEC FETCH-TPUT/SEC REQS/MIN
Use the ListKafkaConnections service in Admin API to identify which client connections are driving the majority of, or the change in, the produce or consume throughput for a cluster.
132
+
Use `rpk cluster connections list` or the ListKafkaConnections service in Admin API to identify which client connections are driving the majority of, or the change in, the produce or consume throughput for a cluster.
133
133
134
-
For example, to list connections with a current produce throughput greater than 1MB, use the following request:
134
+
For example, to list connections with a current produce throughput greater than 1MB, run:
135
135
136
+
[tabs]
137
+
======
138
+
rpk::
139
+
+
140
+
--
141
+
[,bash]
142
+
----
143
+
rpk cluster connections list --filter-raw="recent_request_statistics.produce_bytes > 1000000" --order-by="recent_request_statistics.produce_bytes desc"
144
+
----
145
+
146
+
[,bash,role="no-copy no-wrap"]
147
+
----
148
+
UID STATE USER CLIENT-ID IP:PORT NODE SHARD OPEN-TIME IDLE PROD-TPUT/SEC FETCH-TPUT/SEC REQS/MIN
@@ -206,6 +226,8 @@ curl -s -X POST "localhost:9644/redpanda.core.admin.v2.ClusterService/ListKafkaC
206
226
}
207
227
----
208
228
====
229
+
--
230
+
======
209
231
210
232
You can adjust the filter and sorting criteria as necessary. See the link:/api/doc/admin/v2/operation/operation-redpanda-core-admin-v2-clusterservice-listkafkaconnections[Admin API reference] for more details.
0 commit comments