-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topsql: add aggregate by table or db
Signed-off-by: nolouch <nolouch@gmail.com>
- Loading branch information
Showing
18 changed files
with
518 additions
and
133 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
48 changes: 48 additions & 0 deletions
48
ui/packages/tidb-dashboard-client/src/client/api/models/topsql-summary-by-item.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Dashboard API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* The version of the OpenAPI document: 1.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
/** | ||
* | ||
* @export | ||
* @interface TopsqlSummaryByItem | ||
*/ | ||
export interface TopsqlSummaryByItem { | ||
/** | ||
* | ||
* @type {Array<number>} | ||
* @memberof TopsqlSummaryByItem | ||
*/ | ||
'cpu_time_ms'?: Array<number>; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof TopsqlSummaryByItem | ||
*/ | ||
'cpu_time_ms_sum'?: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof TopsqlSummaryByItem | ||
*/ | ||
'text'?: string; | ||
/** | ||
* | ||
* @type {Array<number>} | ||
* @memberof TopsqlSummaryByItem | ||
*/ | ||
'timestamp_sec'?: Array<number>; | ||
} | ||
|
48 changes: 48 additions & 0 deletions
48
ui/packages/tidb-dashboard-client/src/client/api/models/topsql-summary-by-table-item.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Dashboard API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* The version of the OpenAPI document: 1.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
/** | ||
* | ||
* @export | ||
* @interface TopsqlSummaryByTableItem | ||
*/ | ||
export interface TopsqlSummaryByTableItem { | ||
/** | ||
* | ||
* @type {Array<number>} | ||
* @memberof TopsqlSummaryByTableItem | ||
*/ | ||
'cpu_time_ms'?: Array<number>; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof TopsqlSummaryByTableItem | ||
*/ | ||
'cpu_time_ms_sum'?: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof TopsqlSummaryByTableItem | ||
*/ | ||
'table_name'?: string; | ||
/** | ||
* | ||
* @type {Array<number>} | ||
* @memberof TopsqlSummaryByTableItem | ||
*/ | ||
'timestamp_sec'?: Array<number>; | ||
} | ||
|
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
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
Oops, something went wrong.