Skip to content

resource_manager: add RUv2 field to Consumption#1429

Open
disksing wants to merge 1 commit intomasterfrom
disksing/ruv2-consumption
Open

resource_manager: add RUv2 field to Consumption#1429
disksing wants to merge 1 commit intomasterfrom
disksing/ruv2-consumption

Conversation

@disksing
Copy link
Contributor

Summary

Add an experimental r_u_v2 field (field number 11) to the Consumption message in resource_manager.proto.

RUv2 is an experimental v2 RU (Request Unit) calculation method currently under development. This field allows clients to report RUv2 consumption to the server for observation and metrics recording, without affecting the existing token bucket deduction logic.

Changes

  • proto/resource_manager.proto: Add double r_u_v2 = 11 to Consumption message
  • pkg/resource_manager/resource_manager.pb.go: Regenerated Go code
  • scripts/proto.lock: Updated proto lock file

@ti-chi-bot
Copy link

ti-chi-bot bot commented Mar 10, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign rleungx for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@disksing disksing force-pushed the disksing/ruv2-consumption branch from 6515069 to 61d9bde Compare March 10, 2026 02:42
@ti-chi-bot ti-chi-bot bot added size/L and removed size/XXL labels Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant