NEZ-2188 feat:explore snapshot html template 开发

This commit is contained in:
zhangyu
2022-09-15 09:57:50 +08:00
parent 4e0481e30f
commit d365d3be0a

View File

@@ -1,214 +1,7 @@
<!DOCTYPE html>
<html>
<script>
window.dataJson = {
"language": "en",
"timezone": "Asia/Shanghai",
"offset": 36000,
"start": 1651805134,
"end": 1651805134,
"unit": 1,
type: 1,
"data": [{
"data": {
"result": [{
"values":[
[
1663048077,
"456"
],
[
1663048092,
"456"
],
[
1663048107,
"456"
],
[
1663048122,
"456"
],
[
1663048137,
"456"
],
[
1663048152,
"456"
],
[
1663048167,
"456"
],
[
1663048182,
"456"
],
[
1663048197,
"456"
],
[
1663048212,
"456"
],
[
1663048227,
"456"
],
[
1663048242,
"456"
],
[
1663048257,
"456"
],
[
1663048272,
"456"
],
[
1663048287,
"456"
],
[
1663048302,
"456"
],
[
1663048317,
"456"
],
[
1663048332,
"456"
],
[
1663048347,
"456"
],
[
1663048362,
"456"
],
[
1663048377,
"456"
]
],
"metric": {
"datacenter": "JBXXG"
}
}
],
"resultType": "matrix"
},
"status": "success",
"expression": "sum(up)"
}, {
"data": {
"resultType":"matrix",
"result":[
{
"metric":{
"datacenter": "JBXXG"
},
"values":[
[
1663048077,
"123"
],
[
1663048092,
"123"
],
[
1663048107,
"123"
],
[
1663048122,
"123"
],
[
1663048137,
"123"
],
[
1663048152,
"123"
],
[
1663048167,
"123"
],
[
1663048182,
"123"
],
[
1663048197,
"123"
],
[
1663048212,
"123"
],
[
1663048227,
"123"
],
[
1663048242,
"123"
],
[
1663048257,
"123"
],
[
1663048272,
"123"
],
[
1663048287,
"123"
],
[
1663048302,
"123"
],
[
1663048317,
"123"
],
[
1663048332,
"123"
],
[
1663048347,
"123"
],
[
1663048362,
"123"
],
[
1663048377,
"123"
]
]
}
]
},
"status": "success",
"expression": "top(abc)"
}
]
}
window.dataJson = {}
</script>
<head>
<meta charset="utf-8">