Skip to content

DOC-226: Document per-entity client quota metrics (26.2)#1779

Open
Feediver1 wants to merge 2 commits into
betafrom
DOC-226-per-entity-quota-metrics
Open

DOC-226: Document per-entity client quota metrics (26.2)#1779
Feediver1 wants to merge 2 commits into
betafrom
DOC-226-per-entity-quota-metrics

Conversation

@Feediver1

@Feediver1 Feediver1 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Description

Documents the new per-entity client quota metrics shipping in v26.2 (ENG-37 "Metrics: Throughput Quota Utilization", implemented in redpanda#30832, merged to dev 2026-06-24). This answers the customer ask behind the epic: track how much of an enforced quota each client is actually using.

Resolves https://redpandadata.atlassian.net/browse/DOC-226
Review deadline:

What's new

One subsection, Track quota use per entity, added to the existing "Monitor client throughput" section of manage-throughput.adoc:

  • Intro contextualizing the change: aggregate metrics show that throttling happens per rule; per-entity metrics show who is being throttled and how close each client is to its limit (identify noisy clients by name, alert before quota saturation)
  • kafka_per_entity_quota_metrics cluster property (opt-in, default false, no restart)
  • The two new counters on /public_metrics and /metrics
  • Label scheme (redpanda_quota_type + user/client-id/group labels) and the cardinality-bounding behavior (series exist only while an entity is throttled; cleaned up after idle)
  • Utilization guidance: PromQL rate query + compare against rpk cluster quotas describe

Deliberately NOT in this PR (anti-duplication)

The v24.2 client quota changes from the eng context doc (KIP-546/rpk cluster quotas, prefix quotas, per-broker semantics, deprecated cluster configs, the two aggregate histograms, and the kafka_quotas logger) are already documented — verified on beta in manage-throughput.adoc, about-throughput-quotas.adoc, both metrics references, and upgrade/deprecated. This PR only adds the 26.2 delta.

Generated-content notes

  • Metrics references: the new metrics will appear in public/internal metrics reference via /gen-metrics at 26.2 release — plain code spans used for now, with a DRAFT-VERIFY to convert to xrefs after regeneration (anchors don't exist yet)
  • Property reference: kafka_per_entity_quota_metrics arrives via /gen-props at release — not hand-added
  • API doc updates: none needed (feature is metrics-only; no admin API or rpk changes per source)

⚠️ Verify before merge (DRAFT-VERIFY comments in source)

  • Internal (/metrics) exposed names for the two counters against a 26.2 build
  • redpanda_quota_group_name = client-ID-prefix quotas (agent-inferred; confirm with @mnajda-redpanda)
  • Whether Redpanda Cloud exposes kafka_per_entity_quota_metrics — subsection is ifndef::env-cloud gated until confirmed
  • Combined-quota label behavior (multiple labels on one series)

Page previews

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

🤖 Generated with Claude Code

Adds a "Track quota use per entity" subsection to the Monitor client
throughput section, documenting ENG-37 (redpanda PR #30832):

- kafka_per_entity_quota_metrics cluster property (opt-in, no restart)
- The two new per-entity counters on /public_metrics and /metrics
- Entity/quota-type label scheme and cardinality bounding behavior
- Utilization calculation guidance with a PromQL example

Builds on the existing aggregate-metrics content rather than
duplicating it. Gated to Self-Managed pending confirmation of Cloud
support for the new cluster property. DRAFT-VERIFY comments mark items
to confirm against a 26.2 build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Feediver1 Feediver1 requested a review from a team as a code owner July 8, 2026 20:52
@netlify

netlify Bot commented Jul 8, 2026

Copy link
Copy Markdown

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 2d65e6b
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/6a4ec554c8c3040008060deb
😎 Deploy Preview https://deploy-preview-1779--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 77009e81-e3f8-4f43-9097-21e9f95daeaa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DOC-226-per-entity-quota-metrics

Comment @coderabbitai help to get the list of available commands.

@Feediver1 Feediver1 requested a review from pgellert July 8, 2026 20:56
Intro now follows the situation / what-it-does / benefit / when-to-use
formula instead of leading with the metrics mechanics.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pgellert pgellert requested a review from mnajda-redpanda July 9, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant