fix:query_range接口start end 时间改为unit timestemp
This commit is contained in:
@@ -737,8 +737,8 @@
|
||||
let before=this.dateFormat('yyyy-mm-dd HH:MM:SS',beforeDate);
|
||||
let params={
|
||||
query:'sum(nz_alert_nums)',
|
||||
start:before,
|
||||
end:cur,
|
||||
start:this.$stringTimeParseToUnix(before),
|
||||
end:this.$stringTimeParseToUnix(cur),
|
||||
step:'15s'
|
||||
}
|
||||
this.$get('/prom/api/v1/query_range',params).then(response=>{
|
||||
|
||||
Reference in New Issue
Block a user