提交 a6bb03c8 编写于 作者: U Ulric Qin

update http dash

上级 e9150b2a
{
"name": "http detect",
"name": "HTTP detect by UlricQin",
"tags": "",
"ident": "",
"configs": {
"panels": [
{
"collapsed": true,
"id": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a",
"type": "table",
"id": "3674dbfa-243a-49f6-baa5-b7f887c1afb0",
"layout": {
"h": 1,
"i": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a",
"h": 15,
"w": 24,
"x": 0,
"y": 0
"y": 0,
"i": "3674dbfa-243a-49f6-baa5-b7f887c1afb0",
"isResizable": true
},
"name": "Default chart group",
"type": "row"
},
{
"version": "3.0.0",
"datasourceCate": "prometheus",
"datasourceValue": "${Datasource}",
"targets": [
{
"expr": "max(http_response_result_code) by (target)",
"legend": "UP?",
"refId": "A",
"instant": true
},
{
"expr": "max(http_response_response_code) by (target)",
"legend": "status code",
"refId": "B",
"instant": true
},
{
"expr": "max(http_response_response_time) by (target) *1000",
"legend": "latency",
"refId": "C",
"instant": true
},
{
"expr": "max(http_response_cert_expire_timestamp) by (target) - time()",
"legend": "cert expire",
"refId": "D",
"instant": true
}
],
"transformations": [
{
"id": "organize",
"options": {}
}
],
"name": "URL Details",
"custom": {
"aggrDimension": "target",
"showHeader": true,
"colorMode": "background",
"calc": "lastNotNull",
"displayMode": "labelValuesToRows",
"showHeader": true
},
"id": "3674dbfa-243a-49f6-baa5-b7f887c1afb0",
"layout": {
"h": 15,
"i": "3674dbfa-243a-49f6-baa5-b7f887c1afb0",
"w": 24,
"x": 0,
"y": 1
"aggrDimension": "target"
},
"name": "URL Details",
"options": {
"standardOptions": {},
"valueMappings": []
"valueMappings": [],
"standardOptions": {}
},
"overrides": [
{
......@@ -76,43 +101,96 @@
"properties": {
"standardOptions": {
"util": "humantimeSeconds"
}
},
"valueMappings": []
},
"type": "special"
}
],
"targets": [
{
"expr": "max(http_response_result_code) by (target)",
"legend": "UP?",
"refId": "A"
},
{
"expr": "max(http_response_response_code) by (target)",
"legend": "status code",
"refId": "B"
},
{
"expr": "max(http_response_response_time) by (target)",
"legend": "latency(s)",
"refId": "C"
"type": "special",
"matcher": {
"value": "B"
},
"properties": {
"valueMappings": [
{
"type": "range",
"result": {
"color": "#2c9d3d"
},
"match": {
"to": 399
}
},
{
"type": "range",
"result": {
"color": "#ff656b"
},
"match": {
"to": 499
}
},
{
"type": "range",
"result": {
"color": "#f10808"
},
"match": {
"from": 500
}
}
],
"standardOptions": {}
}
},
{
"expr": "max(http_response_cert_expire_timestamp) by (target) - time()",
"legend": "cert expire",
"refId": "D"
"type": "special",
"matcher": {
"value": "C"
},
"properties": {
"valueMappings": [
{
"type": "range",
"result": {
"color": "#2c9d3d"
},
"match": {
"to": 400
}
},
{
"type": "range",
"result": {
"color": "#ff656b"
},
"match": {
"from": 400
}
},
{
"type": "range",
"result": {
"color": "#f11313"
},
"match": {
"from": 2000
}
}
],
"standardOptions": {
"util": "milliseconds"
}
}
}
],
"type": "table",
"version": "2.0.0",
"datasourceCate": "prometheus",
"datasourceValue": "${prom}"
]
}
],
"version": "3.0.0",
"var": [
{
"name": "prom",
"name": "Datasource",
"type": "datasource",
"definition": "prometheus"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册