forked from flashcat/categraf
688 lines
24 KiB
JSON
688 lines
24 KiB
JSON
{
|
|
"name": "Redis",
|
|
"tags": "Redis Aliyun",
|
|
"ident": "",
|
|
"configs": {
|
|
"var": [
|
|
{
|
|
"name": "instance_id",
|
|
"type": "textbox",
|
|
"datasource": {
|
|
"cate": "prometheus"
|
|
},
|
|
"defaultValue": ""
|
|
}
|
|
],
|
|
"panels": [
|
|
{
|
|
"type": "timeseries",
|
|
"id": "272c4b1f-93d0-4710-9186-f29f8201d1f5",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 0,
|
|
"i": "272c4b1f-93d0-4710-9186-f29f8201d1f5",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_cpu_usage_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}}"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "CPU 使用率 (%)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {
|
|
"util": "percent"
|
|
},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "off",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "34c9b834-5899-4f54-8191-47bb6cd7566d",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 0,
|
|
"i": "ce4daf31-96bf-4213-9086-5b2a90d4f135",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_memory_usage_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}}"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "内存使用率 (%)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {
|
|
"util": "percent"
|
|
},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "off",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "14f95a61-2483-4dc3-8176-76e2aeb0a858",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 12,
|
|
"y": 0,
|
|
"i": "14f95a61-2483-4dc3-8176-76e2aeb0a858",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_used_memory_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}}"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "已使用内存总量 (Bytes)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {
|
|
"util": "bytesIEC"
|
|
},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "off",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "b1715832-02de-4a76-905a-c18db3f0afde",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 18,
|
|
"y": 0,
|
|
"i": "8f5c6c51-e210-49d4-a35a-6d8b22903d87",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_used_qps_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}}"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "请求数 (Count/s)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {
|
|
"util": "none"
|
|
},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "off",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "28f49ef7-ca30-490d-8e29-bbde5ce1a511",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 7,
|
|
"i": "28f49ef7-ca30-490d-8e29-bbde5ce1a511",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_connection_usage_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}}"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "连接数使用率 (%)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "off",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "591da49c-c21c-4a5d-9c3b-0f8b2bf4f4a6",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 7,
|
|
"i": "cb353e27-f249-4c50-bef2-2439da474049",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_used_connection_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}}"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "已使用连接数 (Counts)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "off",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "9eca1098-bce9-44d0-b135-bbb4e90b8e4d",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 12,
|
|
"y": 7,
|
|
"i": "b339c9d3-f8ae-4c7a-bff2-f8146aa71a8c",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_intranet_in_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}} 入流量速率"
|
|
},
|
|
{
|
|
"expr": "aliyun_acs_kvstore_standard_intranet_out_average{instance_id=\"$instance_id\"}",
|
|
"refId": "B",
|
|
"legend": "{{instance_id}} 出流量速率"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "出/入口流量速率 (KBps)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "noraml",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "ac4f8297-10fb-40ba-ab73-4d4542bcb34d",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 18,
|
|
"y": 7,
|
|
"i": "192ac55c-bbc3-407b-90f3-fd6419e03a32",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_intranet_in_ratio_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}} 入流量速率"
|
|
},
|
|
{
|
|
"expr": "aliyun_acs_kvstore_standard_intranet_out_ratio_average{instance_id=\"$instance_id\"}",
|
|
"refId": "B",
|
|
"legend": "{{instance_id}} 出流量速率"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "出/入口流量使用率 (%)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "noraml",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "b3e83caa-49da-4dbd-a497-f4b65b000306",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 14,
|
|
"i": "fc98dacd-e99c-4058-9666-c080d8cd3ee2",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_avg_rt_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}}"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "平均响应时间 (us)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "off",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "c09eb4d4-26df-4a4c-9c66-a444b72d8a78",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 14,
|
|
"i": "760b6fcb-7b9f-4a79-b42a-41480414037f",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_keys_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}}"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "实例 Key 统计 (Counts)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "off",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "timeseries",
|
|
"id": "6abce1b2-0b50-490b-9d71-ce5e02b6d7ce",
|
|
"layout": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 12,
|
|
"y": 14,
|
|
"i": "291a52bd-e4f4-4697-ba39-7051f9a20ebf",
|
|
"isResizable": true
|
|
},
|
|
"version": "2.0.0",
|
|
"datasourceCate": "prometheus",
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"expr": "aliyun_acs_kvstore_standard_hit_rate_average{instance_id=\"$instance_id\"}",
|
|
"legend": "{{instance_id}}"
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {}
|
|
}
|
|
],
|
|
"name": "命中率 (%)",
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "all",
|
|
"sort": "none"
|
|
},
|
|
"legend": {
|
|
"displayMode": "hidden"
|
|
},
|
|
"standardOptions": {},
|
|
"thresholds": {
|
|
"steps": [
|
|
{
|
|
"color": "#634CD9",
|
|
"value": null,
|
|
"type": "base"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"custom": {
|
|
"drawStyle": "lines",
|
|
"lineInterpolation": "smooth",
|
|
"spanNulls": true,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 0.5,
|
|
"gradientMode": "none",
|
|
"stack": "off",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"version": "2.0.0",
|
|
"datasourceValue": ""
|
|
}
|
|
} |