Skip to content

Commit

Permalink
*: add region id in resource usage record
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <[email protected]>
  • Loading branch information
nolouch committed Sep 19, 2024
1 parent 199f352 commit 90198d1
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 28 deletions.
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

0 comments on commit 90198d1

Please sign in to comment.