fix:修改 告警类型为日志的查看不了的问题
This commit is contained in:
@@ -633,7 +633,7 @@ export default {
|
||||
color: '#d64f40'
|
||||
}]
|
||||
}
|
||||
chartInfo.elements[0].expression = encodeURIComponent(this.currentMsg.alertRule.expr.replace(/\"/g, '\'').replace(/\r|\n+/g, ''))
|
||||
chartInfo.elements[0].expression = this.currentMsg.alertRule.expr.replace(/\r|\n+/g, '')
|
||||
chartInfo.elements[0].filter = encodeURIComponent(decodeURIComponent(this.promQueryParamLabels(this.currentMsg.labels)))
|
||||
chartInfo.unit = this.currentMsg.alertRule.unit
|
||||
this.showFullscreen(true, chartInfo)
|
||||
|
||||
Reference in New Issue
Block a user