Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added request_type to client.request. metrics

...

Metric name

Type

Labels

Description

client.connection.creations

Sum

broker_id

Total number of broker connections made.

client.connection.count

Gauge


Current number of broker connections.

client.connection.errors

Sum

reason

Total number of broker connection failures. Label ‘reason’ indicates the reason: 

disconnect - remote peer closed the connection.

auth - authentication failure.

TLS - TLS failure.

timeout - client request timeout.

close - client closed the connection.

client.request.rtt

Histogram

broker_id

request_type

Average request latency / round-trip-time to broker and back.

request_type is the protocol request type CamelCase name as specified in the Kafka protocol definition.

client.request.queue.latency

Histogram

broker_id

Average request queue latency waiting for request to be sent to broker.

client.request.queue.count

Gauge

broker_id

Number of requests in queue waiting to be sent to broker.

client.request.success

Sum

broker_id

request_type

Number of successful requests to broker, that is where a response is received without no request-level error (but there may be per-sub-resource errors, e.g., errors for certain partitions within an OffsetCommitResponse).

client.request.errors

Sum

broker_id

request_type

reason

Number of failed requests.

Label ‘reason’ indicates the reason:

timeout - client timed out the request,

disconnect - broker connection was closed before response could be received,

error - request-level protocol error.

client.io.wait.time

Histogram


Amount of time waiting for socket I/O writability (POLLOUT). A high number indicates socket send buffer congestion.

...