mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-15 04:09:14 +00:00
feat: supporting expressions to query metrics data (#270)
This commit is contained in:
@@ -56,6 +56,15 @@ export enum ProtocolTypes {
|
||||
ReadMetricsValues = "readMetricsValues",
|
||||
ReadMetricsValue = "readMetricsValue",
|
||||
}
|
||||
|
||||
export enum ExpressionResultType {
|
||||
UNKNOWN = "UNKNOWN",
|
||||
SINGLE_VALUE = "SINGLE_VALUE",
|
||||
TIME_SERIES_VALUES = "TIME_SERIES_VALUES",
|
||||
SORTED_LIST = "SORTED_LIST",
|
||||
RECORD_LIST = "RECORD_LIST",
|
||||
}
|
||||
|
||||
export const DefaultGraphConfig: { [key: string]: any } = {
|
||||
Bar: {
|
||||
type: "Bar",
|
||||
@@ -322,3 +331,8 @@ export const RefreshOptions = [
|
||||
{ label: "Last 8 hours", value: "8", step: "HOUR" },
|
||||
{ label: "Last 7 days", value: "7", step: "DAY" },
|
||||
];
|
||||
|
||||
export enum MetricModes {
|
||||
Expression = "Expression",
|
||||
General = "General",
|
||||
}
|
||||
|
Reference in New Issue
Block a user