NEZ-935 fix:monitor endpoint 页面 删除 qiery,bottom boxQuery 改为 metrics ,以及 查询参数的问题
This commit is contained in:
@@ -102,7 +102,7 @@ export default {
|
||||
this.expressions.forEach((item, index) => {
|
||||
if (item != '') {
|
||||
let expr = item
|
||||
this.matchContent && (expr = `${item} ${this.matchSymbol} ${this.matchContent}`)
|
||||
this.matchContent && (expr = `${item} ${this.matchSymbol} "${this.matchContent}"`)
|
||||
requestArr.push(this.$get('/logs/loki/api/v1/query_range?format=1&query=' + expr + '&start=' + this.$stringTimeParseToUnix(this.filterTime[0]) + '&end=' + this.$stringTimeParseToUnix(this.filterTime[1]) + '&limit=' + limit))
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user