-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vtadmin] grpc healthserver + channelz (#10038)
* Add `--rbac` to example vtadmin-up This was introduced and made a required flag (with mutually-exclusive `--no-rbac`) in #9972. Signed-off-by: Andrew Mason <andrew@planetscale.com> * Cleanup `Options.Services`, and inspect the ServiceInfo() directly Instead of requiring users to know in advance (and put into their startup scripts), which services will run, we can (correctly) inspect the service names that have been registered on the underlying grpc.Server and mark them as SERVING in the health service. _Alsooooo_, this was never bound to a flag, so users couldn't use it anyway! Whoops. Signed-off-by: Andrew Mason <andrew@planetscale.com> * Provide option to enable channelz service Signed-off-by: Andrew Mason <andrew@planetscale.com> * Add flag to enable channelz Signed-off-by: Andrew Mason <andrew@planetscale.com> * Tidy up flags; label all sections Signed-off-by: Andrew Mason <andrew@planetscale.com> * Add missing flag for AllowTracing Signed-off-by: Andrew Mason <andrew@planetscale.com>
- Loading branch information
Andrew Mason
committed
Apr 5, 2022
1 parent
d7cd8cc
commit 2d1681a
Showing
4 changed files
with
21 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters