-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kms: add support for capturing performace profiles
This commit adds support for capturing perf. profiles at a KMS server. Now, a client can start a performace profile via: ``` client.StartProfiling(ctx, &ProfileRequest{ Host: "192.168.188.110:7373", ... }) ``` After some time, the client can either inspect that status of an ongoing profiling via: ``` client.ProfileStatus(ctx, &ProfileRequest{ Host: "192.168.188.110:7373", ... }) ``` or stop the profiling and download the results: ``` client.StopProfiling(ctx, &ProfileRequest{ Host: "192.168.188.110:7373", ... }) ``` The result of a profile is a stream of pprof files packed into a TAR archive. Signed-off-by: Andreas Auernhammer <[email protected]>
- Loading branch information
Showing
10 changed files
with
660 additions
and
241 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.