-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66dc3d9
commit 4a96721
Showing
13 changed files
with
2,086 additions
and
1,500 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import {Trace} from "../Services/Bprof"; | ||
|
||
export type TableRows = (object | string[] | number[])[] | any; | ||
|
||
export interface IState { | ||
id: string; | ||
tableRows: TableRows, | ||
trace: Trace | null, | ||
totals: { | ||
ct: number; | ||
wt: number; | ||
ut: number; | ||
st: number; | ||
cpu: number; | ||
mu: number; | ||
pmu: number; | ||
samples: number; | ||
} | null, | ||
symbols: { | ||
[key: string]: { | ||
ct: number; | ||
wt: number; | ||
ut: number; | ||
st: number; | ||
cpu: number; | ||
mu: number; | ||
pmu: number; | ||
samples: number; | ||
callers: number; | ||
callerMap: { [key: string]: boolean }; | ||
excl_ct: number; | ||
excl_wt: number; | ||
} | ||
} | null, | ||
mysqlQueries: number; | ||
search: string; | ||
} |
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,20 @@ | ||
export interface StatsResponse { | ||
total: { | ||
count: number; | ||
} | ||
last_24h: { | ||
count: number; | ||
} | ||
stats: { | ||
count: number; | ||
avg: number; | ||
max: number; | ||
} | ||
stats_by_day: Array<{ | ||
day: string; | ||
total_rows: number; | ||
min_wt: number; | ||
avg_wt: number; | ||
max_wt: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import {Trace} from "../Services/Bprof"; | ||
|
||
export interface TracePaginatedResponse extends Array<Trace> { | ||
} |
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,31 @@ | ||
import {Trace} from "../Services/Bprof"; | ||
|
||
export interface TraceResponse { | ||
trace: Trace, | ||
totals: { | ||
ct: number; | ||
wt: number; | ||
ut: number; | ||
st: number; | ||
cpu: number; | ||
mu: number; | ||
pmu: number; | ||
samples: number; | ||
}, | ||
symbols: { | ||
[key: string]: { | ||
ct: number; | ||
wt: number; | ||
ut: number; | ||
st: number; | ||
cpu: number; | ||
mu: number; | ||
pmu: number; | ||
samples: number; | ||
callers: number; | ||
callerMap: { [key: string]: boolean }; | ||
excl_ct: number; | ||
excl_wt: 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
Oops, something went wrong.