Skip to content

Commit

Permalink
update grafana field
Browse files Browse the repository at this point in the history
resource_gl0 --> auto_instance
resource_gl2 -> auto_service
  • Loading branch information
1473371932 authored and jianchang committed Mar 4, 2024
1 parent ace2e84 commit 45d05af
Show file tree
Hide file tree
Showing 17 changed files with 450 additions and 450 deletions.
54 changes: 27 additions & 27 deletions dashboards/DeepFlow-Templates/Application-Cloud-Host-Map.json

Large diffs are not rendered by default.

134 changes: 67 additions & 67 deletions dashboards/DeepFlow-Templates/Application-DNS-Monitoring.json

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions dashboards/DeepFlow-Templates/Application-K8s-Ingress.json

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions dashboards/DeepFlow-Templates/Application-K8s-Pod-Map.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions dashboards/DeepFlow-Templates/Application-Redis-Monitoring-K8S.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions dashboards/DeepFlow-Templates/Application-Request-Log-Cloud.json
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@
"pluginVersion": "9.2.5",
"targets": [
{
"queryText": "{\"appType\":\"trafficQuery\",\"db\":\"flow_log\",\"sources\":\"\",\"from\":\"l7_flow_log\",\"select\":[{\"type\":\"tag\",\"key\":\"start_time\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"54447727-0443-817d-ba0b-1f6f87126e7e\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"resource_gl0_0\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"6c0790e1-e1f7-0726-50fa-638a20357f45\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"resource_gl0_1\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"b5e4c33c-7627-a95f-fba0-007c9054fd7b\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"observation_point\",\"func\":\"Enum\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"6c9e71f3-f220-2fdd-e219-68ad5fa6f66a\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":false,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"l7_protocol\",\"func\":\"Enum\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"ccc64c9e-5b42-b77d-e836-8da6926e3b08\",\"subFuncs\":[],\"cache\":{\"func\":\"Enum\",\"params\":[]}},{\"type\":\"tag\",\"key\":\"l7_protocol_str\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"1ade784d-44e5-42fc-36d2-529ff7c69d21\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":false,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"request_type\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"0db10a0e-94f7-1585-0132-9a93ed9aacad\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"request_domain\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"7d4ea1ee-122d-cb46-dfae-a59c3074fa3f\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"request_resource\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"7627d817-282d-b982-b507-ac9df21d48dc\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"response_status\",\"func\":\"Enum\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"b12c4bd4-09fb-8cf0-4475-6c2d9cc37a9c\",\"subFuncs\":[],\"cache\":{\"func\":\"Enum\",\"params\":[]}},{\"type\":\"tag\",\"key\":\"response_code\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"9ca6471b-055e-9155-ca34-52b9b824649b\",\"subFuncs\":[]},{\"type\":\"metric\",\"key\":\"response_duration\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"d2389025-7e9e-5200-e45f-255117987b86\",\"subFuncs\":[]}],\"where\":[{\"type\":\"tag\",\"key\":\"request_type\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"value\":\"$request_type\",\"label\":\"$request_type\"}],\"as\":\"\",\"params\":[],\"uuid\":\"ce2f7fb2-77fd-cdb4-6597-c6bc13486c9c\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"request_resource\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"value\":\"$request_resource\",\"label\":\"$request_resource\"}],\"as\":\"\",\"params\":[],\"uuid\":\"e81dc89a-ea8e-7908-467a-d1400e84d300\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"chost\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"label\":\"$vm\",\"value\":\"vm\",\"isVariable\":true}],\"as\":\"\",\"params\":[],\"uuid\":\"7e95f22c-0f14-1713-c7ac-28161fccfe47\",\"subFuncs\":[],\"whereOnly\":true},{\"type\":\"tag\",\"key\":\"response_status\",\"func\":\"\",\"op\":\"IN\",\"val\":[{\"label\":\"$status\",\"value\":\"status\",\"isVariable\":true}],\"as\":\"\",\"params\":[],\"uuid\":\"facc1670-bc8c-24ca-0be4-c06627ec3892\",\"subFuncs\":[],\"whereOnly\":false},{\"type\":\"tag\",\"key\":\"l7_protocol\",\"func\":\"\",\"op\":\"IN\",\"val\":[{\"label\":\"$protocol\",\"value\":\"protocol\",\"isVariable\":true}],\"as\":\"\",\"params\":[],\"uuid\":\"392bf2ca-0c84-cb38-642a-c96530f58314\",\"subFuncs\":[],\"whereOnly\":false}],\"having\":[{\"type\":\"metric\",\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"fb7a5836-a9aa-8d6c-24c5-7ebc741939e0\"}],\"groupBy\":[{\"type\":\"tag\",\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"ba1f0f84-a5ce-18d7-ea9d-fdf2a2bcbc28\"}],\"orderBy\":[{\"type\":\"metric\",\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"9a18fb31-d9d6-2269-6e92-971a0970cde1\",\"sort\":\"asc\"}],\"interval\":\"\",\"limit\":\"1000\",\"offset\":\"\",\"formatAs\":\"timeSeries\",\"alias\":\"\",\"showMetrics\":0,\"tracingId\":null}",
"queryText": "{\"appType\":\"trafficQuery\",\"db\":\"flow_log\",\"sources\":\"\",\"from\":\"l7_flow_log\",\"select\":[{\"type\":\"tag\",\"key\":\"start_time\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"54447727-0443-817d-ba0b-1f6f87126e7e\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"auto_instance_0\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"6c0790e1-e1f7-0726-50fa-638a20357f45\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"auto_instance_1\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"b5e4c33c-7627-a95f-fba0-007c9054fd7b\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"observation_point\",\"func\":\"Enum\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"6c9e71f3-f220-2fdd-e219-68ad5fa6f66a\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":false,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"l7_protocol\",\"func\":\"Enum\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"ccc64c9e-5b42-b77d-e836-8da6926e3b08\",\"subFuncs\":[],\"cache\":{\"func\":\"Enum\",\"params\":[]}},{\"type\":\"tag\",\"key\":\"l7_protocol_str\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"1ade784d-44e5-42fc-36d2-529ff7c69d21\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":false,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"request_type\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"0db10a0e-94f7-1585-0132-9a93ed9aacad\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"request_domain\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"7d4ea1ee-122d-cb46-dfae-a59c3074fa3f\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"request_resource\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"7627d817-282d-b982-b507-ac9df21d48dc\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"response_status\",\"func\":\"Enum\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"b12c4bd4-09fb-8cf0-4475-6c2d9cc37a9c\",\"subFuncs\":[],\"cache\":{\"func\":\"Enum\",\"params\":[]}},{\"type\":\"tag\",\"key\":\"response_code\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"9ca6471b-055e-9155-ca34-52b9b824649b\",\"subFuncs\":[]},{\"type\":\"metric\",\"key\":\"response_duration\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"d2389025-7e9e-5200-e45f-255117987b86\",\"subFuncs\":[]}],\"where\":[{\"type\":\"tag\",\"key\":\"request_type\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"value\":\"$request_type\",\"label\":\"$request_type\"}],\"as\":\"\",\"params\":[],\"uuid\":\"ce2f7fb2-77fd-cdb4-6597-c6bc13486c9c\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"request_resource\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"value\":\"$request_resource\",\"label\":\"$request_resource\"}],\"as\":\"\",\"params\":[],\"uuid\":\"e81dc89a-ea8e-7908-467a-d1400e84d300\",\"subFuncs\":[]},{\"type\":\"tag\",\"key\":\"chost\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"label\":\"$vm\",\"value\":\"vm\",\"isVariable\":true}],\"as\":\"\",\"params\":[],\"uuid\":\"7e95f22c-0f14-1713-c7ac-28161fccfe47\",\"subFuncs\":[],\"whereOnly\":true},{\"type\":\"tag\",\"key\":\"response_status\",\"func\":\"\",\"op\":\"IN\",\"val\":[{\"label\":\"$status\",\"value\":\"status\",\"isVariable\":true}],\"as\":\"\",\"params\":[],\"uuid\":\"facc1670-bc8c-24ca-0be4-c06627ec3892\",\"subFuncs\":[],\"whereOnly\":false},{\"type\":\"tag\",\"key\":\"l7_protocol\",\"func\":\"\",\"op\":\"IN\",\"val\":[{\"label\":\"$protocol\",\"value\":\"protocol\",\"isVariable\":true}],\"as\":\"\",\"params\":[],\"uuid\":\"392bf2ca-0c84-cb38-642a-c96530f58314\",\"subFuncs\":[],\"whereOnly\":false}],\"having\":[{\"type\":\"metric\",\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"fb7a5836-a9aa-8d6c-24c5-7ebc741939e0\"}],\"groupBy\":[{\"type\":\"tag\",\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"ba1f0f84-a5ce-18d7-ea9d-fdf2a2bcbc28\"}],\"orderBy\":[{\"type\":\"metric\",\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"9a18fb31-d9d6-2269-6e92-971a0970cde1\",\"sort\":\"asc\"}],\"interval\":\"\",\"limit\":\"1000\",\"offset\":\"\",\"formatAs\":\"timeSeries\",\"alias\":\"\",\"showMetrics\":0,\"tracingId\":null}",
"refId": "A"
}
],
Expand All @@ -561,8 +561,8 @@
"id": "organize",
"options": {
"excludeByName": {
"resource_gl0_id_0": true,
"resource_gl0_id_1": true
"auto_instance_id_0": true,
"auto_instance_id_1": true
},
"indexByName": {
"Enum(l7_protocol)": 4,
Expand All @@ -573,10 +573,10 @@
"request_domain": 7,
"request_resource": 8,
"request_type": 6,
"resource_gl0_0": 1,
"resource_gl0_1": 2,
"resource_gl0_id_0": 11,
"resource_gl0_id_1": 12,
"auto_instance_0": 1,
"auto_instance_1": 2,
"auto_instance_id_0": 11,
"auto_instance_id_1": 12,
"response_code": 10,
"start_time": 0
},
Expand All @@ -589,8 +589,8 @@
"request_domain": "Request domain",
"request_resource": "Request resource",
"request_type": "Request type",
"resource_gl0_0": "Client",
"resource_gl0_1": "Server",
"auto_instance_0": "Client",
"auto_instance_1": "Server",
"response_code": "Resonse Code",
"response_status": "Response Status",
"start_time": "Start time",
Expand Down
Loading

0 comments on commit 45d05af

Please sign in to comment.