Skip to content

resource-manager: add billing RU metric by keyspace RU version #10481

@disksing

Description

@disksing

Enhancement Task

Add a Prometheus-only billing RU metric in resource manager.

The metric should:

  • expose billing RU totals without sending them to metering
  • switch the billing formula dynamically by each keyspace's ru_version
  • use RRU + WRU + SQL RU for v1 keyspaces
  • use TiKV RU v2 + TiDB RU v2 + TiFlash RU v2 for v2 keyspaces
  • follow the existing RU v1/v2 metric naming and collection flow

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/developmentThe issue belongs to a development tasks

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions