Profiling endpoint fixes (#1707)
- Added support to download all profile tests - profile.zip file was corrupted after download - Add suspension warning - Add Checkbox support - Support for running multiple profiling types at the same time - fix profiling test Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
This commit is contained in:
@@ -2984,7 +2984,7 @@ func init() {
|
||||
"/profiling/stop": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/octet-stream"
|
||||
"application/zip"
|
||||
],
|
||||
"tags": [
|
||||
"AdminAPI"
|
||||
@@ -5519,18 +5519,6 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"profilerType": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"cpu",
|
||||
"mem",
|
||||
"block",
|
||||
"mutex",
|
||||
"trace",
|
||||
"threads",
|
||||
"goroutines"
|
||||
]
|
||||
},
|
||||
"profilingStartRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -5538,7 +5526,7 @@ func init() {
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"$ref": "#/definitions/profilerType"
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -9480,7 +9468,7 @@ func init() {
|
||||
"/profiling/stop": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/octet-stream"
|
||||
"application/zip"
|
||||
],
|
||||
"tags": [
|
||||
"AdminAPI"
|
||||
@@ -12141,18 +12129,6 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"profilerType": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"cpu",
|
||||
"mem",
|
||||
"block",
|
||||
"mutex",
|
||||
"trace",
|
||||
"threads",
|
||||
"goroutines"
|
||||
]
|
||||
},
|
||||
"profilingStartRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -12160,7 +12136,7 @@ func init() {
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"$ref": "#/definitions/profilerType"
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user