fuwencai 2 mesiacov pred
rodič
commit
3f1cce153b

+ 1 - 2
.gitignore

@@ -3,5 +3,4 @@
 *_linux
 .exe
 logs/
-/api/knowledge/logs/
-/rpc/knowledge/logs/
+*.log

+ 1 - 3
api/knowledge/internal/logic/keywordlistlogic.go

@@ -25,9 +25,7 @@ func NewKeywordListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Keywo
 }
 
 func (l *KeywordListLogic) KeywordList(req *types.CommonPhrasesQueryReq) (resp *types.CommonRes, err error) {
-	res, rErr := l.svcCtx.Knowledge.KeywordList(l.ctx, &knowledge.CommonPhraseQueryReq{
-		Query: req.Query,
-		EntId: req.EntId,
+	res, rErr := l.svcCtx.Knowledge.KeywordList(l.ctx, &knowledge.KeywordListReq{
 		AppId: req.AppId,
 	})
 	if rErr != nil {

+ 4 - 0
api/knowledge/internal/types/types.go

@@ -89,3 +89,7 @@ type CommonPhrasesQueryReq struct {
 	EntId int64  `header:"entId"` //企业id
 	AppId string `header:"appId"`
 }
+
+type KeywordListReq struct {
+	AppId string `header:"appId"`
+}

+ 6 - 2
api/knowledge/knowledge.api

@@ -78,7 +78,11 @@ type CommonPhrasesQueryReq {
 	EntId int64  `header:"entId"` //企业id
 	AppId string `header:"appId"`
 }
-
+type KeywordListReq {
+	//    Query string `json:"query"`
+	//    EntId int64  `header:"entId"` //企业id
+	AppId string `header:"appId"`
+}
 service knowledge-api {
 	@handler knowledgeAdd
 	post /knowledge/knowledgeAdd (AddKnowledgeReq) returns (CommonRes);
@@ -109,5 +113,5 @@ service knowledge-api {
 	@handler commonPhrasesQuery
 	post /knowledge/commonPhrase/commonPhrasesQuery (CommonPhrasesQueryReq) returns (CommonRes);
 	@handler keywordList
-	post /knowledge/keywordList (CommonPhrasesQueryReq) returns (CommonRes);
+	post /knowledge/keywordList (KeywordListReq) returns (CommonRes);
 }

+ 0 - 0
api/knowledge/logs/error.log → api/knowledge/logs/.gitkeep


+ 0 - 23
api/knowledge/logs/access.log

@@ -1,23 +0,0 @@
-{"@timestamp":"2022-06-24T15:13:22.630+08:00","level":"info","content":"info--日志记录"}
-{"@timestamp":"2022-06-24T15:13:22.630+08:00","level":"info","content":"error--日志记录"}
-{"@timestamp":"2022-06-24T15:29:37.892+08:00","level":"info","content":"info--日志记录"}
-{"@timestamp":"2022-06-24T15:29:37.892+08:00","level":"info","content":"error--日志记录"}
-{"@timestamp":"2022-06-24T15:30:14.257+08:00","level":"info","content":"info--日志记录"}
-{"@timestamp":"2022-06-24T15:30:14.257+08:00","level":"info","content":"error--日志记录"}
-{"@timestamp":"2022-06-24T15:32:28.194+08:00","level":"info","content":"info--日志记录"}
-{"@timestamp":"2022-06-24T15:32:28.194+08:00","level":"info","content":"error--日志记录"}
-{"@timestamp":"2022-06-24T15:35:53.399+08:00","level":"info","content":"info--日志记录"}
-{"@timestamp":"2022-06-24T15:35:53.399+08:00","level":"info","content":"error--日志记录"}
-{"@timestamp":"2022-06-24T15:36:05.566+08:00","level":"info","duration":"662.4ms","content":"[HTTP] POST - 200 - /knowledge/knowledgeAdd - 127.0.0.1:51504 - ApiPOST Runtime +https://www.apipost.cn","trace":"04e2d36a8a258320c3dd9d98ce0d103c","span":"a7a69b61a7daae49"}
-{"@timestamp":"2022-06-24T16:45:55.943+08:00","level":"info","content":"info--日志记录"}
-{"@timestamp":"2022-06-24T16:45:55.943+08:00","level":"info","content":"error--日志记录"}
-{"@timestamp":"2022-06-24T16:49:26.984+08:00","level":"info","duration":"55.8ms","content":"[HTTP] POST - 200 - /knowledge/knowledgeList - 127.0.0.1:52780 - ApiPOST Runtime +https://www.apipost.cn","trace":"6c156ce036d712edadf6aef94a6b744c","span":"abdd54cb18494d64"}
-{"@timestamp":"2022-06-24T16:58:54.224+08:00","level":"info","content":"info--日志记录"}
-{"@timestamp":"2022-06-24T16:58:54.224+08:00","level":"info","content":"error--日志记录"}
-{"@timestamp":"2022-06-24T17:04:15.514+08:00","level":"info","duration":"7.5ms","content":"[HTTP] POST - 200 - /knowledge/knowledgeList - 127.0.0.1:52987 - ApiPOST Runtime +https://www.apipost.cn","trace":"477e81ae1d3c7b609039e4c2bf6952c2","span":"46bc386505f68a9a"}
-{"@timestamp":"2022-06-24T17:07:49.256+08:00","level":"info","duration":"17.3ms","content":"[HTTP] POST - 200 - /knowledge/knowledgeInfo - 127.0.0.1:53031 - ApiPOST Runtime +https://www.apipost.cn","trace":"5064be0c5fffd7b162c633c1047cc5c8","span":"ec253a05da5fb2ad"}
-{"@timestamp":"2022-06-24T17:20:58.837+08:00","level":"info","duration":"13.8ms","content":"[HTTP] POST - 200 - /knowledge/knowledgeInfo - 127.0.0.1:53249 - ApiPOST Runtime +https://www.apipost.cn","trace":"f49d5e6dcfb026f5efb0e59880e5cbf9","span":"10b92fda6ba1ced6"}
-{"@timestamp":"2022-06-24T17:26:29.073+08:00","level":"info","content":"info--日志记录"}
-{"@timestamp":"2022-06-24T17:26:29.073+08:00","level":"info","content":"error--日志记录"}
-{"@timestamp":"2022-06-24T17:26:36.388+08:00","level":"info","duration":"170.4ms","content":"[HTTP] POST - 200 - /knowledge/knowledgeAdd - 127.0.0.1:53331 - ApiPOST Runtime +https://www.apipost.cn","trace":"5ad0199cb634b75e2140401ffb99b4cd","span":"782bacc5c8ba00f7"}
-{"@timestamp":"2022-06-24T17:27:25.445+08:00","level":"info","duration":"218.6ms","content":"[HTTP] POST - 200 - /knowledge/knowledgeAdd - 127.0.0.1:53348 - ApiPOST Runtime +https://www.apipost.cn","trace":"6782e348d48dfe68e317dcdf056b8a69","span":"7ba582fbd3d147ed"}

+ 0 - 0
api/knowledge/logs/severe.log


+ 0 - 2
api/knowledge/logs/slow.log

@@ -1,2 +0,0 @@
-{"@timestamp":"2022-06-24T15:36:05.566+08:00","level":"slow","duration":"661.3ms","content":"[RPC] ok - slowcall - discov:/127.0.0.1:2379/knowledge.rpc/template.knowledge/KnowledgeAdd - question:\"剑鱼标讯有哪些收费项目,有哪些收费项目,是怎么收费得\" tenantId:\"10000\" appId:\"10000\" person:\"wode\" - error_msg:\"插入数据成功\"","trace":"04e2d36a8a258320c3dd9d98ce0d103c","span":"f2b654bfb8efab83"}
-{"@timestamp":"2022-06-24T15:36:05.566+08:00","level":"slow","duration":"662.4ms","content":"[HTTP] POST - 200 - /knowledge/knowledgeAdd - 127.0.0.1:51504 - ApiPOST Runtime +https://www.apipost.cn - slowcall(662.4ms)","trace":"04e2d36a8a258320c3dd9d98ce0d103c","span":"a7a69b61a7daae49"}

+ 0 - 392
api/knowledge/logs/stat.log

@@ -1,392 +0,0 @@
-{"@timestamp":"2022-06-24T15:14:22.628+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.2Mi, TotalAlloc=5.0Mi, Sys=14.0Mi, NumGC=2"}
-{"@timestamp":"2022-06-24T15:14:22.643+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:15:22.616+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.2Mi, TotalAlloc=5.0Mi, Sys=14.0Mi, NumGC=2"}
-{"@timestamp":"2022-06-24T15:15:22.632+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:16:22.624+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T15:16:22.639+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:17:22.627+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T15:17:22.642+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:18:22.629+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T15:18:22.643+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:19:22.621+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T15:19:22.637+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:20:22.625+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T15:20:22.640+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:21:22.627+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T15:21:22.642+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:22:22.629+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T15:22:22.645+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:23:22.622+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T15:23:22.638+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:24:22.631+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:24:22.631+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T15:25:22.631+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:25:22.631+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T15:26:22.618+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=8"}
-{"@timestamp":"2022-06-24T15:26:22.634+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:27:22.630+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=2.1Mi, TotalAlloc=5.0Mi, Sys=14.3Mi, NumGC=8"}
-{"@timestamp":"2022-06-24T15:27:22.645+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:36:05.566+08:00","level":"stat","content":"p2c - conn: 127.0.0.1:8080, load: 25715, reqs: 1"}
-{"@timestamp":"2022-06-24T15:36:53.397+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.5Mi, TotalAlloc=6.4Mi, Sys=18.7Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T15:36:53.413+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 1, pass: 1, drop: 0"}
-{"@timestamp":"2022-06-24T15:37:05.581+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 661.0ms, med: 661.8ms, 90th: 661.8ms, 99th: 661.8ms, 99.9th: 661.8ms"}
-{"@timestamp":"2022-06-24T15:37:53.397+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.6Mi, TotalAlloc=6.5Mi, Sys=18.7Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T15:37:53.409+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:38:05.575+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:38:53.396+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.5Mi, Sys=18.7Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T15:38:53.411+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:39:05.579+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:39:53.387+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.5Mi, Sys=18.7Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T15:39:53.418+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:40:05.579+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:40:53.389+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.7Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T15:40:53.419+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:41:05.569+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:41:53.394+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.7Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T15:41:53.410+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:42:05.573+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:42:53.388+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.7Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T15:42:53.418+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:43:05.578+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:43:53.389+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.7Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T15:43:53.420+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:44:05.581+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:44:53.392+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.7Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T15:44:53.408+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:45:05.581+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:45:53.395+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.7Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T15:45:53.410+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:46:05.577+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:46:53.391+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.7Mi, NumGC=8"}
-{"@timestamp":"2022-06-24T15:46:53.406+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:47:05.567+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:47:53.389+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.7Mi, NumGC=8"}
-{"@timestamp":"2022-06-24T15:47:53.421+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:48:05.570+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:48:53.385+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=9"}
-{"@timestamp":"2022-06-24T15:48:53.417+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:49:05.570+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:49:53.387+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=9"}
-{"@timestamp":"2022-06-24T15:49:53.417+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:50:05.568+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:50:53.400+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=10"}
-{"@timestamp":"2022-06-24T15:50:53.415+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:51:05.569+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:51:53.392+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=10"}
-{"@timestamp":"2022-06-24T15:51:53.407+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:52:05.574+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:52:53.388+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=11"}
-{"@timestamp":"2022-06-24T15:52:53.419+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:53:05.573+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:53:53.395+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=11"}
-{"@timestamp":"2022-06-24T15:53:53.411+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:54:05.576+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:54:53.392+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=12"}
-{"@timestamp":"2022-06-24T15:54:53.408+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:55:05.571+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:55:53.392+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=12"}
-{"@timestamp":"2022-06-24T15:55:53.407+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:56:05.574+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:56:53.393+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=13"}
-{"@timestamp":"2022-06-24T15:56:53.408+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:57:05.581+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:57:53.388+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=13"}
-{"@timestamp":"2022-06-24T15:57:53.420+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:58:05.575+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:58:53.397+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=14"}
-{"@timestamp":"2022-06-24T15:58:53.412+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T15:59:05.578+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T15:59:53.385+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=14"}
-{"@timestamp":"2022-06-24T15:59:53.416+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:00:05.567+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:00:53.390+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=15"}
-{"@timestamp":"2022-06-24T16:00:53.405+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:01:05.578+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:01:53.398+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=15"}
-{"@timestamp":"2022-06-24T16:01:53.413+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:02:05.569+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:02:53.399+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=16"}
-{"@timestamp":"2022-06-24T16:02:53.415+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:03:05.570+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:03:53.396+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=16"}
-{"@timestamp":"2022-06-24T16:03:53.412+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:04:05.573+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:04:53.387+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=17"}
-{"@timestamp":"2022-06-24T16:04:53.417+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:05:05.577+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:05:53.397+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=17"}
-{"@timestamp":"2022-06-24T16:05:53.413+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:06:05.581+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:06:53.386+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=18"}
-{"@timestamp":"2022-06-24T16:06:53.416+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:07:05.581+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:07:53.384+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=18"}
-{"@timestamp":"2022-06-24T16:07:53.415+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:08:05.567+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:08:53.391+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=19"}
-{"@timestamp":"2022-06-24T16:08:53.407+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:09:05.577+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:09:53.387+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=19"}
-{"@timestamp":"2022-06-24T16:09:53.417+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:10:05.577+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:10:53.396+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=20"}
-{"@timestamp":"2022-06-24T16:10:53.412+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:11:05.571+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:11:53.399+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=20"}
-{"@timestamp":"2022-06-24T16:11:53.414+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:12:05.573+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:12:53.398+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=21"}
-{"@timestamp":"2022-06-24T16:12:53.413+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:13:05.570+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:13:53.386+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=21"}
-{"@timestamp":"2022-06-24T16:13:53.417+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:14:05.574+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:14:53.388+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=22"}
-{"@timestamp":"2022-06-24T16:14:53.418+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:15:05.582+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:15:53.394+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=22"}
-{"@timestamp":"2022-06-24T16:15:53.409+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:16:05.577+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:16:53.389+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=23"}
-{"@timestamp":"2022-06-24T16:16:53.420+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:17:05.580+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:17:53.398+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=23"}
-{"@timestamp":"2022-06-24T16:17:53.414+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:18:05.581+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:18:53.392+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=24"}
-{"@timestamp":"2022-06-24T16:18:53.408+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:19:05.573+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:19:53.397+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=24"}
-{"@timestamp":"2022-06-24T16:19:53.412+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:20:05.575+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:20:53.399+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=25"}
-{"@timestamp":"2022-06-24T16:20:53.414+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:21:05.568+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:21:53.395+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=25"}
-{"@timestamp":"2022-06-24T16:21:53.410+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:22:05.579+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:22:53.385+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=26"}
-{"@timestamp":"2022-06-24T16:22:53.415+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:23:05.577+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:23:53.390+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=26"}
-{"@timestamp":"2022-06-24T16:23:53.405+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:24:05.568+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:24:53.386+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=27"}
-{"@timestamp":"2022-06-24T16:24:53.418+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:25:05.581+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:25:53.386+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=27"}
-{"@timestamp":"2022-06-24T16:25:53.418+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:26:05.575+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:26:53.387+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=28"}
-{"@timestamp":"2022-06-24T16:26:53.419+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:27:05.571+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:27:53.389+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=28"}
-{"@timestamp":"2022-06-24T16:27:53.420+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:28:05.574+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:28:53.390+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.2Mi, Sys=18.7Mi, NumGC=29"}
-{"@timestamp":"2022-06-24T16:28:53.405+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:29:05.574+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:29:53.388+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.2Mi, Sys=18.7Mi, NumGC=29"}
-{"@timestamp":"2022-06-24T16:29:53.418+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:30:05.568+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:30:53.388+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.2Mi, Sys=18.7Mi, NumGC=30"}
-{"@timestamp":"2022-06-24T16:30:53.419+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:31:05.575+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:31:53.396+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.2Mi, Sys=18.7Mi, NumGC=30"}
-{"@timestamp":"2022-06-24T16:31:53.412+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:32:05.576+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:32:53.389+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.2Mi, Sys=18.7Mi, NumGC=31"}
-{"@timestamp":"2022-06-24T16:32:53.419+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:33:05.577+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:33:53.398+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.2Mi, Sys=18.7Mi, NumGC=31"}
-{"@timestamp":"2022-06-24T16:33:53.412+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:34:05.571+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:34:53.386+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.2Mi, Sys=18.7Mi, NumGC=32"}
-{"@timestamp":"2022-06-24T16:34:53.416+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:35:05.576+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:35:53.388+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.2Mi, Sys=18.7Mi, NumGC=32"}
-{"@timestamp":"2022-06-24T16:35:53.418+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:36:05.577+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:36:53.390+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.3Mi, Sys=18.7Mi, NumGC=33"}
-{"@timestamp":"2022-06-24T16:36:53.406+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:37:05.581+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:37:53.399+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.3Mi, Sys=18.7Mi, NumGC=33"}
-{"@timestamp":"2022-06-24T16:37:53.414+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:38:05.576+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:38:53.391+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.3Mi, Sys=18.7Mi, NumGC=34"}
-{"@timestamp":"2022-06-24T16:38:53.407+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:39:05.571+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:39:53.388+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.3Mi, Sys=18.7Mi, NumGC=34"}
-{"@timestamp":"2022-06-24T16:39:53.419+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:40:05.571+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:40:53.387+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.3Mi, Sys=18.7Mi, NumGC=35"}
-{"@timestamp":"2022-06-24T16:40:53.419+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:41:05.580+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:41:53.389+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.3Mi, Sys=18.7Mi, NumGC=35"}
-{"@timestamp":"2022-06-24T16:41:53.405+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:42:05.573+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:42:53.385+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.3Mi, Sys=18.7Mi, NumGC=36"}
-{"@timestamp":"2022-06-24T16:42:53.416+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:43:05.570+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:43:53.394+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.3Mi, Sys=18.7Mi, NumGC=36"}
-{"@timestamp":"2022-06-24T16:43:53.410+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:44:05.571+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:44:53.394+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.4Mi, Sys=18.7Mi, NumGC=37"}
-{"@timestamp":"2022-06-24T16:44:53.410+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:45:05.571+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:46:55.933+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=6.2Mi, Sys=18.4Mi, NumGC=2"}
-{"@timestamp":"2022-06-24T16:46:55.949+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:47:55.945+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.6Mi, TotalAlloc=6.4Mi, Sys=18.4Mi, NumGC=2"}
-{"@timestamp":"2022-06-24T16:47:55.954+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:48:55.940+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.2Mi, TotalAlloc=6.4Mi, Sys=18.4Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T16:48:55.955+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:49:26.984+08:00","level":"stat","content":"p2c - conn: 127.0.0.1:8080, load: 7423, reqs: 1"}
-{"@timestamp":"2022-06-24T16:49:55.936+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=6.5Mi, Sys=18.4Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T16:49:55.952+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 1, pass: 1, drop: 0"}
-{"@timestamp":"2022-06-24T16:50:26.989+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 55.0ms, med: 55.8ms, 90th: 55.8ms, 99th: 55.8ms, 99.9th: 55.8ms"}
-{"@timestamp":"2022-06-24T16:50:55.935+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.5Mi, Sys=18.4Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T16:50:55.951+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:51:26.998+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:51:55.937+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T16:51:55.952+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:52:26.995+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:52:55.936+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T16:52:55.951+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:53:26.995+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:53:55.936+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T16:53:55.952+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:54:26.990+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:54:55.935+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T16:54:55.950+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:55:26.992+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:55:55.945+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T16:55:55.960+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:56:26.999+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:56:55.948+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T16:56:55.948+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:57:26.997+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:57:55.940+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T16:57:55.956+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T16:58:26.992+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T16:59:54.220+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=6.3Mi, Sys=18.4Mi, NumGC=2"}
-{"@timestamp":"2022-06-24T16:59:54.235+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:00:54.218+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.6Mi, TotalAlloc=6.4Mi, Sys=18.4Mi, NumGC=2"}
-{"@timestamp":"2022-06-24T17:00:54.228+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:01:54.215+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.4Mi, Sys=18.7Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T17:01:54.230+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:02:54.212+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.4Mi, Sys=18.7Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T17:02:54.232+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:03:54.222+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.4Mi, Sys=18.7Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T17:03:54.238+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:04:15.514+08:00","level":"stat","content":"p2c - conn: 127.0.0.1:8080, load: 2644, reqs: 1"}
-{"@timestamp":"2022-06-24T17:04:54.222+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.5Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T17:04:54.237+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 1, pass: 1, drop: 0"}
-{"@timestamp":"2022-06-24T17:05:15.527+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 7.0ms, med: 7.5ms, 90th: 7.5ms, 99th: 7.5ms, 99.9th: 7.5ms"}
-{"@timestamp":"2022-06-24T17:05:54.222+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T17:05:54.237+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:06:15.523+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:06:54.223+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=6.7Mi, Sys=18.7Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T17:06:54.238+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:07:15.516+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:07:49.256+08:00","level":"stat","content":"p2c - conn: 127.0.0.1:8080, load: 4136, reqs: 1"}
-{"@timestamp":"2022-06-24T17:07:54.215+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T17:07:54.230+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 1, pass: 1, drop: 0"}
-{"@timestamp":"2022-06-24T17:08:15.519+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 17.0ms, med: 17.3ms, 90th: 17.3ms, 99th: 17.3ms, 99.9th: 17.3ms"}
-{"@timestamp":"2022-06-24T17:08:54.220+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T17:08:54.235+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:09:15.526+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:09:54.223+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=6.8Mi, Sys=18.7Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T17:09:54.239+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:10:15.524+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:10:54.221+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T17:10:54.235+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:11:15.529+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:11:54.218+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=8"}
-{"@timestamp":"2022-06-24T17:11:54.233+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:12:15.524+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:12:54.219+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=8"}
-{"@timestamp":"2022-06-24T17:12:54.235+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:13:15.518+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:13:54.213+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=9"}
-{"@timestamp":"2022-06-24T17:13:54.228+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:14:15.514+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:14:54.219+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=9"}
-{"@timestamp":"2022-06-24T17:14:54.234+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:15:15.525+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:15:54.212+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=10"}
-{"@timestamp":"2022-06-24T17:15:54.243+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:16:15.521+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:16:54.222+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=10"}
-{"@timestamp":"2022-06-24T17:16:54.238+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:17:15.515+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:17:54.218+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.9Mi, Sys=18.7Mi, NumGC=11"}
-{"@timestamp":"2022-06-24T17:17:54.233+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:18:15.518+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:18:54.221+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=11"}
-{"@timestamp":"2022-06-24T17:18:54.236+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:19:15.527+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:19:54.219+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=12"}
-{"@timestamp":"2022-06-24T17:19:54.235+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:20:15.523+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:20:54.213+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=12"}
-{"@timestamp":"2022-06-24T17:20:54.228+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:20:58.837+08:00","level":"stat","content":"p2c - conn: 127.0.0.1:8080, load: 3717, reqs: 1"}
-{"@timestamp":"2022-06-24T17:21:15.516+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 13.0ms, med: 13.8ms, 90th: 13.8ms, 99th: 13.8ms, 99.9th: 13.8ms"}
-{"@timestamp":"2022-06-24T17:21:54.216+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=7.0Mi, Sys=18.7Mi, NumGC=13"}
-{"@timestamp":"2022-06-24T17:21:54.231+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 1, pass: 1, drop: 0"}
-{"@timestamp":"2022-06-24T17:22:15.524+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:22:54.214+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=13"}
-{"@timestamp":"2022-06-24T17:22:54.230+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:23:15.519+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:23:54.217+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=14"}
-{"@timestamp":"2022-06-24T17:23:54.232+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:24:15.528+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:24:54.211+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=14"}
-{"@timestamp":"2022-06-24T17:24:54.242+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:25:15.529+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:25:54.214+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=7.1Mi, Sys=18.7Mi, NumGC=15"}
-{"@timestamp":"2022-06-24T17:25:54.230+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:26:15.519+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:26:36.387+08:00","level":"stat","content":"p2c - conn: 127.0.0.1:8080, load: 13001, reqs: 1"}
-{"@timestamp":"2022-06-24T17:27:29.074+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.4Mi, Sys=18.4Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T17:27:29.090+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 2, pass: 2, drop: 0"}
-{"@timestamp":"2022-06-24T17:27:36.393+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 193.5ms, med: 218.6ms, 90th: 218.6ms, 99th: 218.6ms, 99.9th: 218.6ms"}
-{"@timestamp":"2022-06-24T17:28:29.068+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.4Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=3"}
-{"@timestamp":"2022-06-24T17:28:29.083+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:28:36.394+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:29:29.070+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T17:29:29.086+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:29:36.401+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:30:29.066+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=4"}
-{"@timestamp":"2022-06-24T17:30:29.081+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:30:36.401+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:31:29.072+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T17:31:29.087+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:31:36.389+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:32:29.071+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=5"}
-{"@timestamp":"2022-06-24T17:32:29.086+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:32:36.397+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:33:29.063+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T17:33:29.079+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:33:36.392+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:34:29.070+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.6Mi, Sys=18.4Mi, NumGC=6"}
-{"@timestamp":"2022-06-24T17:34:29.085+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:34:36.396+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:35:29.064+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.4Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T17:35:29.080+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:35:36.388+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:36:29.072+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.4Mi, NumGC=7"}
-{"@timestamp":"2022-06-24T17:36:29.087+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:36:36.399+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:37:29.075+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.4Mi, NumGC=8"}
-{"@timestamp":"2022-06-24T17:37:29.091+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:37:36.398+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:38:29.075+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.4Mi, NumGC=8"}
-{"@timestamp":"2022-06-24T17:38:29.091+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:38:36.399+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:39:29.071+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.4Mi, NumGC=9"}
-{"@timestamp":"2022-06-24T17:39:29.086+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:39:36.396+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}
-{"@timestamp":"2022-06-24T17:40:29.063+08:00","level":"stat","content":"CPU: 0m, MEMORY: Alloc=3.3Mi, TotalAlloc=6.7Mi, Sys=18.4Mi, NumGC=9"}
-{"@timestamp":"2022-06-24T17:40:29.079+08:00","level":"stat","content":"(api) shedding_stat [1m], cpu: 0, total: 0, pass: 0, drop: 0"}
-{"@timestamp":"2022-06-24T17:40:36.399+08:00","level":"stat","content":"(knowledge-api) - qps: 0.0/s, drops: 0, avg time: 0.0ms, med: 0.0ms, 90th: 0.0ms, 99th: 0.0ms, 99.9th: 0.0ms"}

+ 1 - 1
rpc/knowledge/internal/server/knowledgeserver.go

@@ -101,7 +101,7 @@ func (s *KnowledgeServer) CommonPhraseQuery(ctx context.Context, in *knowledge.C
 }
 
 // 聊天框 关键词信息
-func (s *KnowledgeServer) KeywordList(ctx context.Context, in *knowledge.CommonPhraseQueryReq) (*knowledge.KeywordListResp, error) {
+func (s *KnowledgeServer) KeywordList(ctx context.Context, in *knowledge.KeywordListReq) (*knowledge.KeywordListResp, error) {
 	l := logic.NewKeywordListLogic(ctx, s.svcCtx)
 	return l.KeywordList(in)
 }

+ 6 - 1
rpc/knowledge/knowledge.proto

@@ -142,6 +142,11 @@ message CommonPhraseQueryReq{
   int64 entId = 2;
   string appId = 3;
 }
+message KeywordListReq{
+//  string query = 1;
+//  int64 entId = 2;
+  string appId = 3;
+}
 message CommonPhraseQueryResp{
   int64 error_code = 1; //响应代码
   string error_msg = 2; //响应消息
@@ -188,5 +193,5 @@ service knowledge {
   //客服输入文字,匹配话术
   rpc CommonPhraseQuery(CommonPhraseQueryReq) returns (CommonPhraseQueryResp);
   //聊天框 关键词信息
-  rpc KeywordList(CommonPhraseQueryReq) returns (KeywordListResp);
+  rpc KeywordList(KeywordListReq) returns (KeywordListResp);
 }

+ 2 - 2
rpc/knowledge/knowledge/knowledge.go

@@ -39,7 +39,7 @@ type (
 		// 客服输入文字,匹配话术
 		CommonPhraseQuery(ctx context.Context, in *CommonPhraseQueryReq, opts ...grpc.CallOption) (*CommonPhraseQueryResp, error)
 		// 聊天框 关键词信息
-		KeywordList(ctx context.Context, in *CommonPhraseQueryReq, opts ...grpc.CallOption) (*KeywordListResp, error)
+		KeywordList(ctx context.Context, in *KeywordListReq, opts ...grpc.CallOption) (*KeywordListResp, error)
 	}
 
 	defaultKnowledge struct {
@@ -132,7 +132,7 @@ func (m *defaultKnowledge) CommonPhraseQuery(ctx context.Context, in *CommonPhra
 }
 
 // 聊天框 关键词信息
-func (m *defaultKnowledge) KeywordList(ctx context.Context, in *CommonPhraseQueryReq, opts ...grpc.CallOption) (*KeywordListResp, error) {
+func (m *defaultKnowledge) KeywordList(ctx context.Context, in *KeywordListReq, opts ...grpc.CallOption) (*KeywordListResp, error) {
 	client := NewKnowledgeClient(m.cli.Conn())
 	return client.KeywordList(ctx, in, opts...)
 }

+ 173 - 108
rpc/knowledge/knowledge/knowledge.pb.go

@@ -1635,6 +1635,55 @@ func (x *CommonPhraseQueryReq) GetAppId() string {
 	return ""
 }
 
+type KeywordListReq struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	//  string query = 1;
+	//  int64 entId = 2;
+	AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId,omitempty"`
+}
+
+func (x *KeywordListReq) Reset() {
+	*x = KeywordListReq{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_knowledge_proto_msgTypes[25]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *KeywordListReq) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*KeywordListReq) ProtoMessage() {}
+
+func (x *KeywordListReq) ProtoReflect() protoreflect.Message {
+	mi := &file_knowledge_proto_msgTypes[25]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use KeywordListReq.ProtoReflect.Descriptor instead.
+func (*KeywordListReq) Descriptor() ([]byte, []int) {
+	return file_knowledge_proto_rawDescGZIP(), []int{25}
+}
+
+func (x *KeywordListReq) GetAppId() string {
+	if x != nil {
+		return x.AppId
+	}
+	return ""
+}
+
 type CommonPhraseQueryResp struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -1648,7 +1697,7 @@ type CommonPhraseQueryResp struct {
 func (x *CommonPhraseQueryResp) Reset() {
 	*x = CommonPhraseQueryResp{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_knowledge_proto_msgTypes[25]
+		mi := &file_knowledge_proto_msgTypes[26]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -1661,7 +1710,7 @@ func (x *CommonPhraseQueryResp) String() string {
 func (*CommonPhraseQueryResp) ProtoMessage() {}
 
 func (x *CommonPhraseQueryResp) ProtoReflect() protoreflect.Message {
-	mi := &file_knowledge_proto_msgTypes[25]
+	mi := &file_knowledge_proto_msgTypes[26]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -1674,7 +1723,7 @@ func (x *CommonPhraseQueryResp) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use CommonPhraseQueryResp.ProtoReflect.Descriptor instead.
 func (*CommonPhraseQueryResp) Descriptor() ([]byte, []int) {
-	return file_knowledge_proto_rawDescGZIP(), []int{25}
+	return file_knowledge_proto_rawDescGZIP(), []int{26}
 }
 
 func (x *CommonPhraseQueryResp) GetErrorCode() int64 {
@@ -1711,7 +1760,7 @@ type KeywordListResp struct {
 func (x *KeywordListResp) Reset() {
 	*x = KeywordListResp{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_knowledge_proto_msgTypes[26]
+		mi := &file_knowledge_proto_msgTypes[27]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -1724,7 +1773,7 @@ func (x *KeywordListResp) String() string {
 func (*KeywordListResp) ProtoMessage() {}
 
 func (x *KeywordListResp) ProtoReflect() protoreflect.Message {
-	mi := &file_knowledge_proto_msgTypes[26]
+	mi := &file_knowledge_proto_msgTypes[27]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -1737,7 +1786,7 @@ func (x *KeywordListResp) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use KeywordListResp.ProtoReflect.Descriptor instead.
 func (*KeywordListResp) Descriptor() ([]byte, []int) {
-	return file_knowledge_proto_rawDescGZIP(), []int{26}
+	return file_knowledge_proto_rawDescGZIP(), []int{27}
 }
 
 func (x *KeywordListResp) GetErrorCode() int64 {
@@ -1774,7 +1823,7 @@ type KeywordList struct {
 func (x *KeywordList) Reset() {
 	*x = KeywordList{}
 	if protoimpl.UnsafeEnabled {
-		mi := &file_knowledge_proto_msgTypes[27]
+		mi := &file_knowledge_proto_msgTypes[28]
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		ms.StoreMessageInfo(mi)
 	}
@@ -1787,7 +1836,7 @@ func (x *KeywordList) String() string {
 func (*KeywordList) ProtoMessage() {}
 
 func (x *KeywordList) ProtoReflect() protoreflect.Message {
-	mi := &file_knowledge_proto_msgTypes[27]
+	mi := &file_knowledge_proto_msgTypes[28]
 	if protoimpl.UnsafeEnabled && x != nil {
 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 		if ms.LoadMessageInfo() == nil {
@@ -1800,7 +1849,7 @@ func (x *KeywordList) ProtoReflect() protoreflect.Message {
 
 // Deprecated: Use KeywordList.ProtoReflect.Descriptor instead.
 func (*KeywordList) Descriptor() ([]byte, []int) {
-	return file_knowledge_proto_rawDescGZIP(), []int{27}
+	return file_knowledge_proto_rawDescGZIP(), []int{28}
 }
 
 func (x *KeywordList) GetName() string {
@@ -2003,94 +2052,97 @@ var file_knowledge_proto_rawDesc = []byte{
 	0x75, 0x65, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20,
 	0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
 	0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
-	0x22, 0x7a, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65,
-	0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72,
-	0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65,
-	0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f,
-	0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72,
-	0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
-	0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43,
-	0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x78, 0x0a, 0x0f,
-	0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12,
-	0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
-	0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b,
-	0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
-	0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x29, 0x0a, 0x04, 0x64,
-	0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70,
-	0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74,
-	0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4b, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72,
-	0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
-	0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
-	0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12,
-	0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x6d,
-	0x6f, 0x6c, 0x64, 0x32, 0xa3, 0x08, 0x0a, 0x09, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67,
-	0x65, 0x12, 0x3b, 0x0a, 0x0c, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x41, 0x64,
-	0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64,
-	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
-	0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e,
-	0x0a, 0x0d, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12,
-	0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52,
-	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
-	0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42,
-	0x0a, 0x0d, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74, 0x12,
-	0x1a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c,
-	0x65, 0x64, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x74, 0x65,
-	0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
-	0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x49,
-	0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b,
-	0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x16,
-	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
-	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65,
-	0x64, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x12, 0x19, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
-	0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x52, 0x65,
-	0x71, 0x1a, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64,
-	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64,
-	0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
-	0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a,
-	0x18, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
-	0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x0f, 0x52, 0x65, 0x63,
-	0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x74,
-	0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77,
-	0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
-	0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72,
-	0x52, 0x65, 0x73, 0x70, 0x12, 0x48, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68,
-	0x72, 0x61, 0x73, 0x65, 0x73, 0x41, 0x64, 0x64, 0x12, 0x1d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c,
-	0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65,
-	0x73, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
-	0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54,
-	0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49,
-	0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43,
-	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f,
-	0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43,
-	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f,
-	0x52, 0x65, 0x73, 0x70, 0x12, 0x54, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68,
-	0x72, 0x61, 0x73, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x6d, 0x70,
-	0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73,
-	0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x74, 0x65, 0x6d, 0x70,
-	0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73,
-	0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x49, 0x0a, 0x10, 0x43, 0x6f,
-	0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x12, 0x1e,
-	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x15,
-	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73,
-	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50,
-	0x68, 0x72, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23,
-	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74,
-	0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43,
-	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x43, 0x6c, 0x61, 0x73,
-	0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x54, 0x0a, 0x11, 0x43, 0x6f, 0x6d,
-	0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1e,
-	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x1f,
-	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12,
-	0x48, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e,
-	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
-	0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x19,
-	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72,
-	0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x6b,
-	0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+	0x22, 0x26, 0x0a, 0x0e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52,
+	0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
+	0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x22, 0x7a, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x6d,
+	0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73,
+	0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
+	0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65,
+	0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
+	0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x25, 0x0a,
+	0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x65,
+	0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04,
+	0x64, 0x61, 0x74, 0x61, 0x22, 0x78, 0x0a, 0x0f, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c,
+	0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72,
+	0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72,
+	0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
+	0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72,
+	0x4d, 0x73, 0x67, 0x12, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28,
+	0x0b, 0x32, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x65, 0x79,
+	0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4b,
+	0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a,
+	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
+	0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
+	0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x6c, 0x64, 0x18,
+	0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x6d, 0x6f, 0x6c, 0x64, 0x32, 0x9d, 0x08, 0x0a, 0x09,
+	0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x12, 0x3b, 0x0a, 0x0c, 0x4b, 0x6e, 0x6f,
+	0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x41, 0x64, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x6d, 0x70,
+	0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+	0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65,
+	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65,
+	0x64, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
+	0x74, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
+	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65,
+	0x64, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74, 0x12, 0x1a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
+	0x74, 0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x45, 0x64, 0x69, 0x74,
+	0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41,
+	0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x4b, 0x6e,
+	0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x74, 0x65,
+	0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65,
+	0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
+	0x65, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40,
+	0x0a, 0x0c, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x12, 0x19,
+	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65,
+	0x64, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70,
+	0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+	0x12, 0x3f, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x17,
+	0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e,
+	0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
+	0x74, 0x65, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73,
+	0x70, 0x12, 0x49, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x41, 0x6e,
+	0x73, 0x77, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e,
+	0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x1d, 0x2e,
+	0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
+	0x6e, 0x64, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x48, 0x0a, 0x10,
+	0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x41, 0x64, 0x64,
+	0x12, 0x1d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
+	0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x1a,
+	0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65,
+	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
+	0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x2e, 0x74, 0x65,
+	0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72,
+	0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x74, 0x65,
+	0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72,
+	0x61, 0x73, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x54, 0x0a, 0x11,
+	0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x4c, 0x69, 0x73,
+	0x74, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d,
+	0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+	0x71, 0x1a, 0x1f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d,
+	0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+	0x73, 0x70, 0x12, 0x49, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61,
+	0x73, 0x65, 0x73, 0x44, 0x65, 0x6c, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
+	0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x49,
+	0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
+	0x65, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a,
+	0x15, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61,
+	0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
+	0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x73, 0x43,
+	0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x24, 0x2e, 0x74, 0x65,
+	0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72,
+	0x61, 0x73, 0x65, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
+	0x70, 0x12, 0x54, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73,
+	0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
+	0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75,
+	0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
+	0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x51, 0x75,
+	0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x77, 0x6f,
+	0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
+	0x65, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
+	0x1a, 0x19, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x77,
+	0x6f, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x5a, 0x0b, 0x2e,
+	0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
+	0x6f, 0x33,
 }
 
 var (
@@ -2105,7 +2157,7 @@ func file_knowledge_proto_rawDescGZIP() []byte {
 	return file_knowledge_proto_rawDescData
 }
 
-var file_knowledge_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
+var file_knowledge_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
 var file_knowledge_proto_goTypes = []interface{}{
 	(*Question)(nil),                   // 0: template.Question
 	(*AddRequest)(nil),                 // 1: template.AddRequest
@@ -2132,9 +2184,10 @@ var file_knowledge_proto_goTypes = []interface{}{
 	(*CommonPhrasesClassListData)(nil), // 22: template.CommonPhrasesClassListData
 	(*CommonPhrasesClassListResp)(nil), // 23: template.CommonPhrasesClassListResp
 	(*CommonPhraseQueryReq)(nil),       // 24: template.CommonPhraseQueryReq
-	(*CommonPhraseQueryResp)(nil),      // 25: template.CommonPhraseQueryResp
-	(*KeywordListResp)(nil),            // 26: template.KeywordListResp
-	(*KeywordList)(nil),                // 27: template.KeywordList
+	(*KeywordListReq)(nil),             // 25: template.KeywordListReq
+	(*CommonPhraseQueryResp)(nil),      // 26: template.CommonPhraseQueryResp
+	(*KeywordListResp)(nil),            // 27: template.KeywordListResp
+	(*KeywordList)(nil),                // 28: template.KeywordList
 }
 var file_knowledge_proto_depIdxs = []int32{
 	0,  // 0: template.FindAnswerResp.data:type_name -> template.Question
@@ -2148,7 +2201,7 @@ var file_knowledge_proto_depIdxs = []int32{
 	21, // 8: template.CommonPhrasesClassListData.classList:type_name -> template.Content
 	22, // 9: template.CommonPhrasesClassListResp.Data:type_name -> template.CommonPhrasesClassListData
 	21, // 10: template.CommonPhraseQueryResp.data:type_name -> template.Content
-	27, // 11: template.KeywordListResp.data:type_name -> template.KeywordList
+	28, // 11: template.KeywordListResp.data:type_name -> template.KeywordList
 	1,  // 12: template.knowledge.KnowledgeAdd:input_type -> template.AddRequest
 	7,  // 13: template.knowledge.KnowledgeList:input_type -> template.ListRequest
 	10, // 14: template.knowledge.KnowledgeEdit:input_type -> template.KnowledgeEditReq
@@ -2162,7 +2215,7 @@ var file_knowledge_proto_depIdxs = []int32{
 	14, // 22: template.knowledge.CommonPhrasesDel:input_type -> template.CommonPhrasesInfoReq
 	20, // 23: template.knowledge.CommonPhraseClassList:input_type -> template.CommonPhrasesClassListReq
 	24, // 24: template.knowledge.CommonPhraseQuery:input_type -> template.CommonPhraseQueryReq
-	24, // 25: template.knowledge.KeywordList:input_type -> template.CommonPhraseQueryReq
+	25, // 25: template.knowledge.KeywordList:input_type -> template.KeywordListReq
 	2,  // 26: template.knowledge.KnowledgeAdd:output_type -> template.AddResponse
 	8,  // 27: template.knowledge.KnowledgeList:output_type -> template.ListResponse
 	2,  // 28: template.knowledge.KnowledgeEdit:output_type -> template.AddResponse
@@ -2175,8 +2228,8 @@ var file_knowledge_proto_depIdxs = []int32{
 	19, // 35: template.knowledge.CommonPhrasesList:output_type -> template.CommonPhrasesListResp
 	2,  // 36: template.knowledge.CommonPhrasesDel:output_type -> template.AddResponse
 	23, // 37: template.knowledge.CommonPhraseClassList:output_type -> template.CommonPhrasesClassListResp
-	25, // 38: template.knowledge.CommonPhraseQuery:output_type -> template.CommonPhraseQueryResp
-	26, // 39: template.knowledge.KeywordList:output_type -> template.KeywordListResp
+	26, // 38: template.knowledge.CommonPhraseQuery:output_type -> template.CommonPhraseQueryResp
+	27, // 39: template.knowledge.KeywordList:output_type -> template.KeywordListResp
 	26, // [26:40] is the sub-list for method output_type
 	12, // [12:26] is the sub-list for method input_type
 	12, // [12:12] is the sub-list for extension type_name
@@ -2491,7 +2544,7 @@ func file_knowledge_proto_init() {
 			}
 		}
 		file_knowledge_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*CommonPhraseQueryResp); i {
+			switch v := v.(*KeywordListReq); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -2503,7 +2556,7 @@ func file_knowledge_proto_init() {
 			}
 		}
 		file_knowledge_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
-			switch v := v.(*KeywordListResp); i {
+			switch v := v.(*CommonPhraseQueryResp); i {
 			case 0:
 				return &v.state
 			case 1:
@@ -2515,6 +2568,18 @@ func file_knowledge_proto_init() {
 			}
 		}
 		file_knowledge_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*KeywordListResp); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_knowledge_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
 			switch v := v.(*KeywordList); i {
 			case 0:
 				return &v.state
@@ -2533,7 +2598,7 @@ func file_knowledge_proto_init() {
 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 			RawDescriptor: file_knowledge_proto_rawDesc,
 			NumEnums:      0,
-			NumMessages:   28,
+			NumMessages:   29,
 			NumExtensions: 0,
 			NumServices:   1,
 		},

+ 7 - 7
rpc/knowledge/knowledge/knowledge_grpc.pb.go

@@ -18,7 +18,7 @@ import (
 // Requires gRPC-Go v1.32.0 or later.
 const _ = grpc.SupportPackageIsVersion7
 
-// knowledge is the client API for Knowledge service.
+// KnowledgeClient is the client API for Knowledge service.
 //
 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
 type KnowledgeClient interface {
@@ -49,7 +49,7 @@ type KnowledgeClient interface {
 	//客服输入文字,匹配话术
 	CommonPhraseQuery(ctx context.Context, in *CommonPhraseQueryReq, opts ...grpc.CallOption) (*CommonPhraseQueryResp, error)
 	//聊天框 关键词信息
-	KeywordList(ctx context.Context, in *CommonPhraseQueryReq, opts ...grpc.CallOption) (*KeywordListResp, error)
+	KeywordList(ctx context.Context, in *KeywordListReq, opts ...grpc.CallOption) (*KeywordListResp, error)
 }
 
 type knowledgeClient struct {
@@ -177,7 +177,7 @@ func (c *knowledgeClient) CommonPhraseQuery(ctx context.Context, in *CommonPhras
 	return out, nil
 }
 
-func (c *knowledgeClient) KeywordList(ctx context.Context, in *CommonPhraseQueryReq, opts ...grpc.CallOption) (*KeywordListResp, error) {
+func (c *knowledgeClient) KeywordList(ctx context.Context, in *KeywordListReq, opts ...grpc.CallOption) (*KeywordListResp, error) {
 	out := new(KeywordListResp)
 	err := c.cc.Invoke(ctx, "/template.knowledge/KeywordList", in, out, opts...)
 	if err != nil {
@@ -217,7 +217,7 @@ type KnowledgeServer interface {
 	//客服输入文字,匹配话术
 	CommonPhraseQuery(context.Context, *CommonPhraseQueryReq) (*CommonPhraseQueryResp, error)
 	//聊天框 关键词信息
-	KeywordList(context.Context, *CommonPhraseQueryReq) (*KeywordListResp, error)
+	KeywordList(context.Context, *KeywordListReq) (*KeywordListResp, error)
 	mustEmbedUnimplementedKnowledgeServer()
 }
 
@@ -264,7 +264,7 @@ func (UnimplementedKnowledgeServer) CommonPhraseClassList(context.Context, *Comm
 func (UnimplementedKnowledgeServer) CommonPhraseQuery(context.Context, *CommonPhraseQueryReq) (*CommonPhraseQueryResp, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method CommonPhraseQuery not implemented")
 }
-func (UnimplementedKnowledgeServer) KeywordList(context.Context, *CommonPhraseQueryReq) (*KeywordListResp, error) {
+func (UnimplementedKnowledgeServer) KeywordList(context.Context, *KeywordListReq) (*KeywordListResp, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method KeywordList not implemented")
 }
 func (UnimplementedKnowledgeServer) mustEmbedUnimplementedKnowledgeServer() {}
@@ -515,7 +515,7 @@ func _Knowledge_CommonPhraseQuery_Handler(srv interface{}, ctx context.Context,
 }
 
 func _Knowledge_KeywordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
-	in := new(CommonPhraseQueryReq)
+	in := new(KeywordListReq)
 	if err := dec(in); err != nil {
 		return nil, err
 	}
@@ -527,7 +527,7 @@ func _Knowledge_KeywordList_Handler(srv interface{}, ctx context.Context, dec fu
 		FullMethod: "/template.knowledge/KeywordList",
 	}
 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
-		return srv.(KnowledgeServer).KeywordList(ctx, req.(*CommonPhraseQueryReq))
+		return srv.(KnowledgeServer).KeywordList(ctx, req.(*KeywordListReq))
 	}
 	return interceptor(ctx, in, info, handler)
 }