mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-20 08:03:53 +08:00
fix(monitor): fix resource details can't show monitor metric
This commit is contained in:
@@ -407,9 +407,6 @@ func checkQueryGroupBy(query *monitor.AlertQuery, inputQuery *monitor.MetricInpu
|
||||
if len(query.Model.GroupBy) != 0 {
|
||||
return
|
||||
}
|
||||
if inputQuery.Unit {
|
||||
return
|
||||
}
|
||||
if query.Model.Database == monitor.METRIC_DATABASE_METER && inputQuery.Unit {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user