Add active session count to the worker (#2145)

This commit is contained in:
Todd authored and GitHub committed 2022-06-07 11:21:39 -07:00
1 parent fdf43fc4fe
commit 1e3c941be1
9 files changed
+167 -79

No files matched your search

@@ -96,6 +96,9 @@ message Worker {
// https://github.com/hashicorp/nodeenrollment
google.protobuf.StringValue worker_auth_token = 150 [json_name = "worker_auth_token"]; // @gotags: `class:"public"`
// Output only. The number of connections that this worker is currently handling.
uint32 active_connection_count = 160 [json_name = "active_connection_count"]; // @gotags: `class:"public"`
// Output only. The available actions on this resource for the requester.
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`
}