Merge branch 'master' into alerting_optmize

This commit is contained in:
liugq 2023-08-22 16:33:14 +08:00
commit ebfca4b468
1 changed files with 7 additions and 0 deletions

View File

@ -125,6 +125,13 @@ func (handler APIHandler) getLatestClusterMonitorData(clusterIDs []interface{})
"query": {
"bool": {
"must": [
{
"range": {
"timestamp": {
"gte": "now-1d"
}
}
},
{
"terms": {
"metadata.labels.cluster_id": %s