bigsheeper
f0c616050a
Reduce and improve quota center log ( #20058 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-10-25 19:39:30 +08:00
smellthemoon
581e1d8c35
Fill MsgBase ALL ( #19912 )
...
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2022-10-21 15:57:28 +08:00
SimFG
a55f739608
Separate public proto files ( #19782 )
...
Signed-off-by: SimFG <bang.fu@zilliz.com>
Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-10-16 20:49:27 +08:00
xige-16
a1db9038fb
Move disk index params to config file ( #19714 )
...
Signed-off-by: xige-16 <xi.ge@zilliz.com>
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-10-14 17:51:24 +08:00
Enwei Jiao
82dd1bba1c
Refactor healthz API ( #19747 )
...
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2022-10-14 14:19:24 +08:00
bigsheeper
f1e330a997
Add read result rate protection ( #19728 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-10-13 14:57:24 +08:00
bigsheeper
e6c76aba0e
Force deny writing if disk quota exceeded ( #19680 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-10-12 10:03:22 +08:00
Eng Zer Jun
438790744d
test: use T.Setenv
to set env vars in tests ( #19649 )
...
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-11 18:43:23 +08:00
zhenshan.cao
0ac4bc32a5
Add logic of autoindex ( #19570 )
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-10-08 15:38:58 +08:00
SimFG
d7f38a803d
Separate some proto files ( #19218 )
...
Signed-off-by: SimFG <bang.fu@zilliz.com>
Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-09-16 16:56:49 +08:00
bigsheeper
5cdd6ca251
Add quotaCenter, rateLimiter and rateCollector ( #18636 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-09-16 09:56:47 +08:00
SimFG
ff0200210a
Support Role-Based Access Control ( #18425 )
...
Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-08-04 11:04:34 +08:00
congqixia
c88514bc49
Remove not used QueryChannel in Proxy and Query Cluster ( #16856 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-05-30 19:50:04 +08:00
bigsheeper
2fcf7b9760
Fix GetMemoryCount, get min as total memory ( #15931 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-03-24 20:41:25 +08:00
edward.zeng
d4ad785b76
Bump go version in documentation ( #15979 )
...
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2022-03-16 18:51:21 +08:00
jaime
307a8ce535
Support compile and run on Mac ( #15491 )
...
Co-authored-by: jaime <yun.zhang@zilliz.com>
Co-authored-by: Cai Yudong <yudong.cai@zilliz.com>
Co-authored-by: Jenny Li <jing.li@zilliz.com>
Co-authored-by: Nemo <yuchen.gao@zilliz.com>
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
Co-authored-by: Cai Yudong <yudong.cai@zilliz.com>
Co-authored-by: Jenny Li <jing.li@zilliz.com>
Co-authored-by: Nemo <yuchen.gao@zilliz.com>
2022-02-09 14:27:46 +08:00
zhenshan.cao
2962ceeb65
[skip e2e]Update license ( #15126 )
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-01-10 23:57:40 +08:00
Xieql
f2c01e81c3
[skip e2e] Improve annotation ( #15069 )
...
Signed-off-by: Xieql <qianglong.xie@zilliz.com>
2022-01-10 13:22:32 +08:00
Xiangyu Wang
b8e0e5827a
[skip e2e]Improve import statement ( #14687 )
...
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-12-31 15:43:18 +08:00
Jiquan Long
8c5260c938
[skip e2e] Fix comment for SystemTopologyNode ( #14099 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-25 14:46:21 +08:00
shaoyue
3347dae370
[skip e2e] Add comment for ConnectionEdge ( #13900 )
...
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-21 21:08:21 +08:00
xiangzhouguo
547c2e7c9f
Modify some code comments according to naming conventions ( #13511 )
...
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
Co-authored-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-16 20:57:14 +08:00
xiangzhouguo
4e6923ccde
Corrent some spelling error ( #13510 )
...
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
Co-authored-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-16 20:53:13 +08:00
bigsheeper
5e5787ddd2
Update memory util in metricinfo ( #13320 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-16 17:25:13 +08:00
shaoyue
7b38d4522f
[skip ci]Add comment for ConnTopology ( #13485 )
...
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-16 09:35:13 +08:00
shaoyue
2f94f3820f
[skip ci] Add comment for ConnectionInfo ( #13201 )
...
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-10 21:57:37 +08:00
shaoyue
29c68eb901
[skip ci] Add comment for metricsinfo/topology.go ( #12868 )
...
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-07 14:49:30 +08:00
shaoyue
9e70cb6ac4
[skip ci] Fix golint for metricinfo/cache.go ( #12620 )
...
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-02 18:05:34 +08:00
dragondriver
6c4c0ef6b5
Add more deploy metrics ( #12248 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-24 15:43:15 +08:00
shaoyue
cec1b0cb77
[skip ci] Add comments for exported items ( #12127 )
...
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-11-19 18:07:18 +08:00
xige-16
b567a8e5b5
Add SystemInfo msgType for getMetricRequest ( #11151 )
...
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-04 10:58:11 +08:00
Ji Bin
c63b804606
Windows dummy metrics for container. ( #10625 )
...
In windows we do not have cgroups.
This changes for return a dummy metrics under windows.
Signed-off-by: Ji Bin <matrixji@live.com>
2021-11-02 16:36:31 +08:00
dragondriver
614e95fbf8
[skip ci] Fix golint warning of metrics ( #10911 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-29 17:47:39 +08:00
dragondriver
0334a1c3e8
[skip ci] Fix golint warning of container.go ( #10819 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-28 20:21:09 +08:00
bigsheeper
d264e150cf
Use TotalInactiveFile in GetContainerMemUsed ( #10800 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-28 16:40:25 +08:00
bigsheeper
9a0d1d1e74
Fix get container mem usage ( #10796 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-28 14:22:23 +08:00
bigsheeper
5c58924420
Add cgroups to get container memory and check index memory in segment loader ( #10363 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-22 20:49:10 +08:00
dragondriver
72d3d470ba
Use the server id as identifier in system topology graph ( #9825 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-14 11:12:38 +08:00
dragondriver
395a122678
[skip ci] Fix golint warning of metric_type.go ( #9829 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-13 20:14:33 +08:00
dragondriver
6eb2fe6993
[skip ci] Fix go lint warning of hardware_info.go ( #9589 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-09 19:35:02 +08:00
dragondriver
434c587c4e
[skip ci] Add desc comments for GetDiskCount ( #9340 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-06 19:32:16 +08:00
dragondriver
5f309f64ee
[skip ci] Add desc comments for GetSystemInfoMetrics ( #9339 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-06 19:30:37 +08:00
dragondriver
1502239dae
[skip ci] Add desc comments for SystemTopologyNode ( #9276 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-05 20:44:42 +08:00
dragondriver
1758227cfc
[skip ci] Add desc comments for InvalidateSystemInfoMetrics ( #9275 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-05 20:43:01 +08:00
dragondriver
4bac5b1f4d
[skip ci] Add desc comments for GetMemoryCount ( #9274 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-05 20:41:05 +08:00
dragondriver
e70722968c
[skip ci] Add desc comments for GetCPUCoreCount ( #9219 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-04 19:30:02 +08:00
zhenshan.cao
906a9bd37c
[skip ci] fix golint error in metrics_info.go ( #9127 )
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-03 19:49:55 +08:00
dragondriver
9b095843e4
[skip ci] Add desc comments for GetUsedMemoryCount ( #9129 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-03 10:36:08 +08:00
dragondriver
d13ae5f336
[skip ci] Add desc comments for NewMetricsCacheManager ( #9128 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-03 10:34:18 +08:00
dragondriver
1d5062b63a
[skip ci] Add desc comments for GetCPUUsage ( #9066 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-02 12:07:56 +08:00