This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • KIP-410: Add metric for request handler thread pool utilization by request type
Skip to end of metadata
Go to start of metadata

Status

Current state[Under Discussion"]

Discussion thread: here [Change the link from the KIP proposal email archive to your own email thread]

JIRA: KAFKA-7681

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

Motivation

When the request thread pool is saturated, it's often useful to know which type request is using the thread pool the most. It would be useful to add a metric per request type that gives us of fraction of the thread pool time (local time) used by that request.

Public Interfaces

MBean :

kafka.network:type=RequestMetrics,name=RequestHandlerPoolUsagePercent,request=api_key_name

type: meter
value: Fraction of the time a particular request type spent on the request handler pool.

Proposed Changes

We will add the relevant metrics as specified in the Public Interfaces section.

Compatibility, Deprecation, and Migration Plan

We are introducing new metrics so there is no compatibility impact.

Rejected Alternatives

  • No labels