Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: add region id in resource usage record #1271

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 64 additions & 28 deletions pkg/resource_usage_agent/resource_usage_agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions proto/resource_usage_agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ message ResourceUsageRecord {
message GroupTagRecord {
bytes resource_group_tag = 1;
repeated GroupTagRecordItem items = 2;
uint64 region_id = 3;
}

message GroupTagRecordItem {
Expand Down
5 changes: 5 additions & 0 deletions scripts/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19978,6 +19978,11 @@
"name": "items",
"type": "GroupTagRecordItem",
"is_repeated": true
},
{
"id": 3,
"name": "region_id",
"type": "uint64"
}
]
},
Expand Down
Loading