mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
fix(monitor): only show MEAN and SUM aggregators (#21099)
This commit is contained in:
@@ -23,9 +23,8 @@ var (
|
||||
UNIFIED_MONITOR_FIELD_OPT_TYPE = []string{"Aggregations", "Selectors"}
|
||||
UNIFIED_MONITOR_GROUPBY_OPT_TYPE = []string{"time", "tag", "fill"}
|
||||
UNIFIED_MONITOR_FIELD_OPT_VALUE = map[string][]string{
|
||||
"Aggregations": {"COUNT", "DISTINCT", "INTEGRAL",
|
||||
"MEAN", "MEDIAN", "MODE", "STDDEV", "SUM"},
|
||||
"Selectors": {"BOTTOM", "FIRST", "LAST", "MAX", "MIN", "TOP"},
|
||||
"Aggregations": {"MEAN", "SUM"}, // {"COUNT", "DISTINCT", "INTEGRAL", "MEAN", "MEDIAN", "MODE", "STDDEV", "SUM"},
|
||||
"Selectors": {"BOTTOM", "FIRST", "LAST", "MAX", "MIN", "TOP"},
|
||||
}
|
||||
UNIFIED_MONITOR_GROUPBY_OPT_VALUE = map[string][]string{
|
||||
"fill": {"linear", "none", "previous", "0"},
|
||||
|
||||
Reference in New Issue
Block a user