未验证 提交 d39d4cb9 编写于 作者: Y Yening Qin 提交者: GitHub

change builtin board (#1481)

上级 e415538f
{
"name": "http detect",
"tags": "",
"ident": "",
"configs": {
"version": "2.0.0",
"panels": [
{
"id": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a",
"type": "row",
"name": "Default chart group",
"layout": {
"h": 1,
"w": 24,
"x": 0,
"y": 0,
"i": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a"
},
"collapsed": true
},
{
"targets": [
{
"refId": "A",
"expr": "max(http_response_result_code) by (target)",
"legend": "UP?"
},
{
"expr": "max(http_response_response_code) by (target)",
"refId": "B",
"legend": "status code"
},
{
"expr": "max(http_response_response_time) by (target)",
"refId": "C",
"legend": "latency(s)"
},
{
"expr": "max(http_response_cert_expire_timestamp) by (target) - time()",
"refId": "D",
"legend": "cert expire"
}
],
"name": "URL Details",
"custom": {
"showHeader": true,
"calc": "lastNotNull",
"displayMode": "labelValuesToRows",
"aggrDimension": "target"
},
"options": {
"valueMappings": [],
"standardOptions": {}
},
"overrides": [
{
"properties": {
"valueMappings": [
{
"type": "special",
"match": {
"special": 0
},
"result": {
"text": "UP",
"color": "#417505"
}
},
{
"type": "range",
"match": {
"special": 1,
"from": 1
},
"result": {
"text": "DOWN",
"color": "#e90f0f"
}
}
],
"standardOptions": {}
},
"matcher": {
"value": "A"
}
},
{
"type": "special",
"matcher": {
"value": "D"
},
"properties": {
"standardOptions": {
"util": "humantimeSeconds"
}
}
}
],
"version": "2.0.0",
"type": "table",
"layout": {
"h": 15,
"w": 24,
"x": 0,
"y": 1,
"i": "3674dbfa-243a-49f6-baa5-b7f887c1afb0"
},
"id": "3674dbfa-243a-49f6-baa5-b7f887c1afb0"
}
]
}
"name": "http detect",
"tags": "",
"ident": "",
"configs": {
"panels": [
{
"collapsed": true,
"id": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a",
"layout": {
"h": 1,
"i": "0cd7c8aa-456c-4522-97ef-0b1710e7af8a",
"w": 24,
"x": 0,
"y": 0
},
"name": "Default chart group",
"type": "row"
},
{
"custom": {
"aggrDimension": "target",
"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
},
"name": "URL Details",
"options": {
"standardOptions": {},
"valueMappings": []
},
"overrides": [
{
"matcher": {
"value": "A"
},
"properties": {
"standardOptions": {},
"valueMappings": [
{
"match": {
"special": 0
},
"result": {
"color": "#417505",
"text": "UP"
},
"type": "special"
},
{
"match": {
"from": 1,
"special": 1
},
"result": {
"color": "#e90f0f",
"text": "DOWN"
},
"type": "range"
}
]
}
},
{
"matcher": {
"value": "D"
},
"properties": {
"standardOptions": {
"util": "humantimeSeconds"
}
},
"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"
},
{
"expr": "max(http_response_cert_expire_timestamp) by (target) - time()",
"legend": "cert expire",
"refId": "D"
}
],
"type": "table",
"version": "2.0.0",
"datasourceCate": "prometheus",
"datasourceValue": "${prom}"
}
],
"version": "3.0.0",
"var": [
{
"name": "prom",
"type": "datasource",
"definition": "prometheus"
}
]
}
}
\ No newline at end of file
{
"name": "nightingale",
"tags": "",
"ident": "",
"configs": {
"var": [],
"panels": [
{
"targets": [
{
"refId": "A",
"expr": "rate(n9e_server_samples_received_total[1m])"
}
],
"name": "number of data points received per second",
"options": {
"tooltip": {
"mode": "all",
"sort": "none"
},
"legend": {
"displayMode": "hidden"
},
"standardOptions": {},
"thresholds": {}
},
"custom": {
"drawStyle": "lines",
"lineInterpolation": "smooth",
"fillOpacity": 0.5,
"lineInterpolation": "smooth",
"stack": "off"
},
"version": "2.0.0",
"type": "timeseries",
"id": "53fcb9dc-23f9-41e0-bc5e-121eed14c3a4",
"layout": {
"h": 4,
"i": "53fcb9dc-23f9-41e0-bc5e-121eed14c3a4",
"isResizable": true,
"w": 12,
"x": 0,
"y": 0,
"i": "53fcb9dc-23f9-41e0-bc5e-121eed14c3a4",
"isResizable": true
"y": 0
},
"id": "53fcb9dc-23f9-41e0-bc5e-121eed14c3a4"
},
{
"targets": [
{
"refId": "A",
"expr": "rate(n9e_server_alerts_total[10m])"
}
],
"name": "number of alarm events generated per second",
"name": "number of data points received per second",
"options": {
"tooltip": {
"mode": "all",
"sort": "none"
},
"legend": {
"displayMode": "hidden"
},
"standardOptions": {},
"thresholds": {}
"thresholds": {},
"tooltip": {
"mode": "all",
"sort": "none"
}
},
"targets": [
{
"expr": "rate(n9e_server_samples_received_total[1m])",
"refId": "A"
}
],
"type": "timeseries",
"version": "2.0.0",
"datasourceCate": "prometheus",
"datasourceValue": "${prom}"
},
{
"custom": {
"drawStyle": "lines",
"lineInterpolation": "smooth",
"fillOpacity": 0.5,
"lineInterpolation": "smooth",
"stack": "off"
},
"version": "2.0.0",
"type": "timeseries",
"id": "f70dcb8b-b58b-4ef9-9e48-f230d9e17140",
"layout": {
"h": 4,
"i": "47fc6252-9cc8-4b53-8e27-0c5c59a47269",
"isResizable": true,
"w": 12,
"x": 12,
"y": 0,
"i": "47fc6252-9cc8-4b53-8e27-0c5c59a47269",
"isResizable": true
"y": 0
},
"id": "f70dcb8b-b58b-4ef9-9e48-f230d9e17140"
},
{
"targets": [
{
"refId": "A",
"expr": "n9e_server_alert_queue_size"
}
],
"name": "queue length of alarm events",
"name": "number of alarm events generated per second",
"options": {
"tooltip": {
"mode": "all",
"sort": "none"
},
"legend": {
"displayMode": "hidden"
},
"standardOptions": {},
"thresholds": {}
"thresholds": {},
"tooltip": {
"mode": "all",
"sort": "none"
}
},
"targets": [
{
"expr": "rate(n9e_server_alerts_total[10m])",
"refId": "A"
}
],
"type": "timeseries",
"version": "2.0.0",
"datasourceCate": "prometheus",
"datasourceValue": "${prom}"
},
{
"custom": {
"drawStyle": "lines",
"lineInterpolation": "smooth",
"fillOpacity": 0.5,
"lineInterpolation": "smooth",
"stack": "off"
},
"version": "2.0.0",
"type": "timeseries",
"id": "caf23e58-d907-42b0-9ed6-722c8c6f3c5f",
"layout": {
"h": 4,
"i": "ad1af16c-de0c-45f4-8875-cea4e85d51d0",
"isResizable": true,
"w": 12,
"x": 0,
"y": 4,
"i": "ad1af16c-de0c-45f4-8875-cea4e85d51d0",
"isResizable": true
"y": 4
},
"id": "caf23e58-d907-42b0-9ed6-722c8c6f3c5f"
},
{
"targets": [
{
"refId": "A",
"expr": "n9e_server_http_request_duration_seconds_sum/n9e_server_http_request_duration_seconds_count"
}
],
"name": "The average response time of the data receiving interface (unit: seconds).",
"name": "queue length of alarm events",
"options": {
"tooltip": {
"mode": "all",
"sort": "desc"
},
"legend": {
"displayMode": "hidden"
},
"standardOptions": {},
"thresholds": {}
"thresholds": {},
"tooltip": {
"mode": "all",
"sort": "none"
}
},
"targets": [
{
"expr": "n9e_server_alert_queue_size",
"refId": "A"
}
],
"type": "timeseries",
"version": "2.0.0",
"datasourceCate": "prometheus",
"datasourceValue": "${prom}"
},
{
"custom": {
"drawStyle": "lines",
"lineInterpolation": "smooth",
"fillOpacity": 0.5,
"lineInterpolation": "smooth",
"stack": "noraml"
},
"version": "2.0.0",
"type": "timeseries",
"id": "6b8d2db1-efca-4b9e-b429-57a9d2272bc5",
"layout": {
"h": 4,
"i": "64c3abc2-404c-4462-a82f-c109a21dac91",
"isResizable": true,
"w": 12,
"x": 12,
"y": 4,
"i": "64c3abc2-404c-4462-a82f-c109a21dac91",
"isResizable": true
"y": 4
},
"id": "6b8d2db1-efca-4b9e-b429-57a9d2272bc5"
},
{
"targets": [
{
"refId": "A",
"expr": "n9e_server_sample_queue_size"
}
],
"name": "length of the in-memory data queue",
"name": "The average response time of the data receiving interface (unit: seconds).",
"options": {
"tooltip": {
"mode": "all",
"sort": "desc"
},
"legend": {
"displayMode": "hidden"
},
"standardOptions": {},
"thresholds": {}
"thresholds": {},
"tooltip": {
"mode": "all",
"sort": "desc"
}
},
"targets": [
{
"expr": "n9e_server_http_request_duration_seconds_sum/n9e_server_http_request_duration_seconds_count",
"refId": "A"
}
],
"type": "timeseries",
"version": "2.0.0",
"datasourceCate": "prometheus",
"datasourceValue": "${prom}"
},
{
"custom": {
"drawStyle": "lines",
"lineInterpolation": "smooth",
"fillOpacity": 0.5,
"lineInterpolation": "smooth",
"stack": "off"
},
"version": "2.0.0",
"type": "timeseries",
"id": "bd41677d-40d3-482e-bb6e-fbd25df46d87",
"layout": {
"h": 4,
"i": "1c7da942-58c2-40dc-b42f-983e4a35b89b",
"isResizable": true,
"w": 12,
"x": 0,
"y": 8,
"i": "1c7da942-58c2-40dc-b42f-983e4a35b89b",
"isResizable": true
"y": 8
},
"id": "bd41677d-40d3-482e-bb6e-fbd25df46d87"
},
{
"targets": [
{
"refId": "A",
"expr": "avg(n9e_server_forward_duration_seconds_sum/n9e_server_forward_duration_seconds_count)"
}
],
"name": "average time it takes to send data to TSDB (unit: seconds)",
"name": "length of the in-memory data queue",
"options": {
"tooltip": {
"mode": "all",
"sort": "desc"
},
"legend": {
"displayMode": "hidden"
},
"standardOptions": {},
"thresholds": {}
"thresholds": {},
"tooltip": {
"mode": "all",
"sort": "desc"
}
},
"targets": [
{
"expr": "n9e_server_sample_queue_size",
"refId": "A"
}
],
"type": "timeseries",
"version": "2.0.0",
"datasourceCate": "prometheus",
"datasourceValue": "${prom}"
},
{
"custom": {
"drawStyle": "lines",
"lineInterpolation": "smooth",
"fillOpacity": 0.5,
"lineInterpolation": "smooth",
"stack": "noraml"
},
"version": "2.0.0",
"type": "timeseries",
"id": "c8642e72-f384-46a5-8410-1e6be2953c3c",
"layout": {
"h": 4,
"i": "eed94a0b-954f-48ac-82e5-a2eada1c8a3d",
"isResizable": true,
"w": 12,
"x": 12,
"y": 8,
"i": "eed94a0b-954f-48ac-82e5-a2eada1c8a3d",
"isResizable": true
"y": 8
},
"id": "c8642e72-f384-46a5-8410-1e6be2953c3c"
"name": "average time it takes to send data to TSDB (unit: seconds)",
"options": {
"legend": {
"displayMode": "hidden"
},
"standardOptions": {},
"thresholds": {},
"tooltip": {
"mode": "all",
"sort": "desc"
}
},
"targets": [
{
"expr": "avg(n9e_server_forward_duration_seconds_sum/n9e_server_forward_duration_seconds_count)",
"refId": "A"
}
],
"type": "timeseries",
"version": "2.0.0",
"datasourceCate": "prometheus",
"datasourceValue": "${prom}"
}
],
"var": [
{
"name": "prom",
"type": "datasource",
"definition": "prometheus"
}
],
"version": "2.0.0"
"version": "3.0.0"
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册