diff --git a/dashboards/DeepFlow-Templates/Continuous-Profiling.json b/dashboards/DeepFlow-Templates/Continuous-Profiling.json index 040c23e..e99c0eb 100644 --- a/dashboards/DeepFlow-Templates/Continuous-Profiling.json +++ b/dashboards/DeepFlow-Templates/Continuous-Profiling.json @@ -98,11 +98,11 @@ }, "debug": false, "metaExtra": {}, - "queryText": "{\"appType\":\"profiling\",\"db\":\"profile\",\"sources\":\"\",\"from\":\"in_process\",\"select\":[{\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"d676049c-6ef7-0f12-8718-719463247e88\",\"type\":\"metric\"}],\"where\":[{\"type\":\"tag\",\"key\":\"app_service\",\"func\":\"\",\"op\":\"IN\",\"val\":{\"label\":\"$app_service\",\"value\":\"app_service\",\"isVariable\":true,\"variableType\":\"query\"},\"as\":\"\",\"params\":[],\"uuid\":\"00660f77-8b30-e91f-8d67-a63f76d3e682\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":false,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"profile_language_type\",\"func\":\"\",\"op\":\"IN\",\"val\":{\"label\":\"eBPF\",\"value\":\"eBPF\"},\"as\":\"\",\"params\":[],\"uuid\":\"45b9e7ab-96bf-3afc-c73e-8abf36cf94a9\"},{\"type\":\"tag\",\"key\":\"profile_event_type\",\"func\":\"\",\"op\":\"IN\",\"val\":{\"label\":\"on-cpu\",\"value\":\"on-cpu\"},\"as\":\"\",\"params\":[],\"uuid\":\"d213cef0-f6e0-66af-0d41-b71f97e17024\"},{\"type\":\"tag\",\"key\":\"pod_cluster\",\"func\":\"\",\"op\":\"IN\",\"val\":[{\"label\":\"$cluster\",\"value\":\"cluster\",\"isVariable\":true,\"variableType\":\"query\"}],\"as\":\"\",\"params\":[],\"uuid\":\"fc163229-7622-78fc-4e22-05f01c2d8aac\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":true,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"pod_ns\",\"func\":\"\",\"op\":\"IN\",\"val\":[{\"label\":\"$namespace\",\"value\":\"namespace\",\"isVariable\":true,\"variableType\":\"query\"}],\"as\":\"\",\"params\":[],\"uuid\":\"4a47b69e-d81f-c4a4-0eb1-89dfb8b99585\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":true,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"auto_service\",\"func\":\"\",\"op\":\"IN\",\"val\":[{\"label\":\"$auto_service\",\"value\":\"auto_service\",\"isVariable\":true,\"variableType\":\"query\"}],\"as\":\"\",\"params\":[],\"uuid\":\"ba7b7997-7781-f3c9-f1c8-a9367cb77036\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":true,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"auto_instance\",\"func\":\"\",\"op\":\"IN\",\"val\":[{\"label\":\"$auto_instance\",\"value\":\"auto_instance\",\"isVariable\":true,\"variableType\":\"query\"}],\"as\":\"\",\"params\":[],\"uuid\":\"d30ad1e0-d6e9-ef44-d561-cea1b2acc761\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":true,\"isIpType\":false}],\"having\":[{\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"3fb0d77f-c590-383f-9c84-f30afe7975cf\",\"type\":\"metric\"}],\"groupBy\":[{\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"f448d201-0a53-2941-950e-b318744e5e50\",\"type\":\"tag\"}],\"orderBy\":[{\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"6d0f84b1-37ae-dea5-1a47-4323294d889f\",\"type\":\"metric\",\"sort\":\"asc\"}],\"interval\":\"\",\"limit\":\"100\",\"offset\":\"\",\"formatAs\":\"\",\"alias\":\"\",\"showMetrics\":-1,\"tracingId\":null}", + "queryText": "{\"appType\":\"profiling\",\"db\":\"profile\",\"sources\":\"\",\"from\":\"in_process\",\"select\":[{\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"d676049c-6ef7-0f12-8718-719463247e88\",\"type\":\"metric\"}],\"where\":[{\"type\":\"tag\",\"key\":\"app_service\",\"func\":\"\",\"op\":\"IN\",\"val\":{\"label\":\"$app_service\",\"value\":\"app_service\",\"isVariable\":true,\"variableType\":\"query\"},\"as\":\"\",\"params\":[],\"uuid\":\"00660f77-8b30-e91f-8d67-a63f76d3e682\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":false,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"profile_language_type\",\"func\":\"\",\"op\":\"IN\",\"val\":{\"label\":\"eBPF\",\"value\":\"eBPF\"},\"as\":\"\",\"params\":[],\"uuid\":\"45b9e7ab-96bf-3afc-c73e-8abf36cf94a9\"},{\"type\":\"tag\",\"key\":\"profile_event_type\",\"func\":\"\",\"op\":\"IN\",\"val\":{\"label\":\"on-cpu\",\"value\":\"on-cpu\"},\"as\":\"\",\"params\":[],\"uuid\":\"d213cef0-f6e0-66af-0d41-b71f97e17024\"},{\"type\":\"tag\",\"key\":\"pod_cluster\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"label\":\"$cluster\",\"value\":\"cluster\",\"isVariable\":true,\"variableType\":\"query\"}],\"as\":\"\",\"params\":[],\"uuid\":\"fc163229-7622-78fc-4e22-05f01c2d8aac\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":true,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"pod_ns\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"label\":\"$namespace\",\"value\":\"namespace\",\"isVariable\":true,\"variableType\":\"query\"}],\"as\":\"\",\"params\":[],\"uuid\":\"4a47b69e-d81f-c4a4-0eb1-89dfb8b99585\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":true,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"auto_service\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"label\":\"$auto_service\",\"value\":\"auto_service\",\"isVariable\":true,\"variableType\":\"query\"}],\"as\":\"\",\"params\":[],\"uuid\":\"ba7b7997-7781-f3c9-f1c8-a9367cb77036\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":true,\"isIpType\":false},{\"type\":\"tag\",\"key\":\"auto_instance\",\"func\":\"\",\"op\":\"LIKE\",\"val\":[{\"label\":\"$auto_instance\",\"value\":\"auto_instance\",\"isVariable\":true,\"variableType\":\"query\"}],\"as\":\"\",\"params\":[],\"uuid\":\"d30ad1e0-d6e9-ef44-d561-cea1b2acc761\",\"subFuncs\":[],\"whereOnly\":false,\"isResourceType\":true,\"isIpType\":false}],\"having\":[{\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"8d57ed78-86df-4158-537c-521048733c58\",\"type\":\"metric\"}],\"groupBy\":[{\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"f448d201-0a53-2941-950e-b318744e5e50\",\"type\":\"tag\"}],\"orderBy\":[{\"key\":\"\",\"func\":\"\",\"op\":\"\",\"val\":\"\",\"as\":\"\",\"params\":[],\"uuid\":\"6d0f84b1-37ae-dea5-1a47-4323294d889f\",\"type\":\"metric\",\"sort\":\"asc\"}],\"interval\":\"\",\"limit\":\"100\",\"offset\":\"\",\"formatAs\":\"\",\"alias\":\"\",\"showMetrics\":-1,\"tracingId\":null}", "refId": "A", "returnMetrics": [], "returnTags": [], - "sql": "SELECT * FROM in_process WHERE `app_service` IN ('deepflow-server') AND `profile_language_type` IN ('eBPF') AND `profile_event_type` IN ('on-cpu') AND time>=1723113333 AND time<=1723114233 LIMIT 100" + "sql": "SELECT * FROM in_process WHERE `app_service` IN ('Total') AND `profile_language_type` IN ('eBPF') AND `profile_event_type` IN ('on-cpu') AND `auto_service` = '10.233.90.201' AND time>=1723443316 AND time<=1723444216 LIMIT 100" } ], "title": "Panel Title",