Get desktop application:
View/edit binary Protocol Buffers messages
There're two cases for this field: - If the keyspace is not set, it means this may be a message from an older version. To maintain compatibility, we will treat it as a null keyspace ID, which is uint32.Max. - If the keyspace is set, it will try to delete the resource group within the given keyspace.
There're two cases for this field: - If the keyspace is not set, it means this may be a message from an older version. To maintain compatibility, we will treat it as a null keyspace ID, which is uint32.Max. - If the keyspace is set, it will try to get the resource group within the given keyspace.
There're two cases for this field: - If the keyspace is not set, it means this may be a message from an older version. To maintain compatibility, we will treat it as a null keyspace ID, which is uint32.Max. - If the keyspace is set, the listed resource groups will be filtered by the given keyspace.
Used in:
background task types.
the percentage limit of total resource(cpu/io) that background tasks can use.
Used in: , ,
RUv2 is an experimental v2 RU calculation. For now it only records the consumption without actual token deduction.
tiflash_r_u_v2 equals tiflash RRU + tiflash WRU.
Optional per-second RU for observation; never used for token allocation or billing. Nil means the request carries no timeline, not zero: the client does not support it or left it out to fit the RPC size limit. Its interval differs from the scalar deltas.
Used in: , , , ,
Used in:
Used in:
Used in:
Used in:
Used in:
KeyspaceIDValue carries the versioned identity of a keyspace. The message name is retained for compatibility with existing ResourceManager APIs.
Used in: , , , , ,
V1/V2 compatibility keyspace ID. The wrapper distinguishes a valid zero value from an unset keyspace, which represents the null keyspace ID.
V3 keyspace identity.
name is the unique name of the resource manager participant.
id is the unique id of the resource manager participant.
listen_urls is the serivce endpoint list in the url format. listen_urls[0] is primary service endpoint.
Used as request type in: ResourceManager.AddResourceGroup, ResourceManager.ModifyResourceGroup
Used as response type in: ResourceManager.AddResourceGroup, ResourceManager.ModifyResourceGroup
Used in:
Signed settlement values; refunds must not be clamped to zero.
Second offset from start_unix_sec; 0-based. Offsets are strictly increasing and less than end_unix_sec - start_unix_sec; otherwise the receiver drops the whole report. Only non-zero seconds are listed, and an empty bucket list is valid.
Used in:
UTC Unix second of the first second covered by this report. Bucket offsets are relative to it; the first bucket is not necessarily at start. A client never changes a second it has reported, so a retry may replay it; the outer client_unique_id identifies the client. Buckets are sparse: a second not listed is zero, and the sparse encoding keeps idle groups from inflating every request.
The first second after the seconds this report covers. Seconds in [start_unix_sec, end_unix_sec) that are not listed are reported as zero. A successful response acknowledges the whole report up to its watermark, including seconds the receiver ignores because they fall outside the window it can still summarize. A retry may replay earlier seconds, and the receiver deduplicates them per client, keyspace, resource group and second. Only foreground consumption carries this field; requests flagged background or TiFlash do not. A report whose interval is empty or reversed, including one without a watermark (zero), reports nothing.
Used in:
Used in: ,
Used in:
Used in: ,
ResourceGroup the settings definitions.
Used in: , ,
Used in RU mode, group settings with WRU/RRU etc resource abstract unit.
Used in Raw mode, group settings with CPU/IO etc resource unit.
The task scheduling priority
Runaway queries settings
Background task control settings.
RU consumption statistics.
The keyspace that the resource group belongs to. There're two cases for this field: - If the keyspace is not set, it means this may be a message from an older version. To maintain compatibility, we will treat it as a null keyspace ID, which is uint32.Max. - If the keyspace is set, it will directly be used.
Used in:
do nothing
deprioritize the task
kill the task
switch the task to another group
Used in:
Used in:
When the runaway action is `SwitchGroup`, this field will be used to indicate which group to switch.
Used in:
how long would the watch last
Used in:
Used in: , , ,
Once used to reconfigure, the tokens is delta tokens.
Used in:
RU mode, group settings with WRU/RRU etc resource abstract unit.
Raw mode, group settings with CPU/IO etc resource unit.
Aggregate statistics in group level.
label background request.
There're two cases for this field: - If the keyspace is not set, it means this may be a message from an older version. To maintain compatibility, we will treat it as a null keyspace ID, which is uint32.Max. - If the keyspace is set, it will try to request the token bucket from the resource group within the given keyspace.
Used in:
Used in:
Used in:
RU mode
Raw mode
There're two cases for this field: - If the keyspace is not set, it means this may be a message from an older version, which can be safely ignored to keep compatibility. - If the keyspace is set, it means this response is from the resource group within this keyspace.
Used in: