mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
Add Profiler Admin API (#6463)
Two handlers are added to admin API to enable profiling and disable
profiling of a server in a standalone mode, or all nodes in the
distributed mode.
/minio/admin/profiling/start/{cpu,block,mem}:
- Start profiling and return starting JSON results, e.g. one
node is offline.
/minio/admin/profiling/download:
- Stop the on-going profiling task
- Stream a zip file which contains all profiling files that can
be later inspected by go tool pprof
This commit is contained in:
Vendored
+3
-2
@@ -765,9 +765,10 @@
|
||||
"revisionTime": "2017-12-16T07:03:16Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "C3yiSMdTQxSY3xqKJzMV9T+KnIc=",
|
||||
"path": "github.com/pkg/profile",
|
||||
"revision": "c78aac22bd43883fd2817833b982153dcac17b3b",
|
||||
"revisionTime": "2016-05-18T16:56:57+10:00"
|
||||
"revision": "057bc52a47ec3c79498dda63f4a6f8298725e976",
|
||||
"revisionTime": "2018-08-09T11:22:05Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "3NL4uu8RZhI2d+/SEmVOHPT390c=",
|
||||
|
||||
Reference in New Issue
Block a user