Commit Graph

841 Commits

Author SHA1 Message Date
Kevin Wan
914bcdcf2b
chore: add tests (#3931) 2024-02-23 23:00:35 +08:00
fffreedom
e38cb0118d
when the Unmarshaler parsing value by fillSliceFromString, if the val… (#3927)
Co-authored-by: danahan <danahan@tencent.com>
2024-02-23 14:00:58 +00:00
Kevin Wan
25a807afb2
chore: add tests (#3921) 2024-02-20 10:11:43 +08:00
Kevin Wan
6be37ad533
chore: optimize coding style and add unit tests (#3917) 2024-02-17 15:50:07 +08:00
Kevin Wan
0f1d4c6bca
optimize: improve performance on log disabled (#3916) 2024-02-17 14:55:48 +08:00
Kevin Wan
1303e0fe6f
feat: optimize circuit breaker algorithm (#3897) 2024-02-15 20:29:24 +08:00
Kevin Wan
9c17499757
optimize: shedding algorithm performance (#3908) 2024-02-15 20:22:22 +08:00
Kevin Wan
2ccef5bb4f
feat: support ScheduleImmediately in TaskRunner (#3896) 2024-02-06 06:26:22 +00:00
Kevin Wan
786a80131e
chore: fix test failure (#3883) 2024-02-01 22:41:05 +08:00
Kevin Wan
c08e741d7a
fix: cpu stat in cgroup v2 (#3857) 2024-01-17 23:35:42 +08:00
MarkJoyMa
dace520654
fix: revert sqlx metric namespace (#3847) 2024-01-14 02:38:10 +00:00
Kevin Wan
44d347d48a
fix: issue #3840 (#3846) 2024-01-14 09:37:01 +08:00
Kevin Wan
408827d876
fix: issue 3840 (#3845) 2024-01-13 23:48:50 +08:00
Kevin Wan
9e33b557b1
chore: refactor redis (#3844) 2024-01-13 23:02:19 +08:00
Kevin Wan
368caa7608
feat: upgrade go-redis to v9 (#3088)
Co-authored-by: cong <zhangcong1992@gmail.com>
2024-01-13 22:40:58 +08:00
Kevin Wan
7822a4c1cb
chore: refactor mapping errors (#3843) 2024-01-13 22:11:19 +08:00
Remember
0441f84606
fix(mapping): call fillSliceValue panic if the value is nil (#3839) 2024-01-13 13:48:43 +00:00
Kevin Wan
81d72b5010
chore: make cpu usage more smooth (#3842) 2024-01-13 19:36:25 +08:00
Kimjin-gd
6ec38ec056
fix: negative float32 overflow when unmarshalling (#3811)
Co-authored-by: kim1.jin <kim1.jin@bkyo.io>
2023-12-23 14:47:11 +00:00
Kevin Wan
27c4908342
chore: coding style (#3796) 2023-12-17 13:44:55 +08:00
李登富
48625fa381
fix endless loop caused by ErrCompacted (#3774)
Co-authored-by: lidengfu <lidengfu@excean.com>
2023-12-17 05:28:19 +00:00
Kevin Wan
83a776a190
chore: upgrade otel, removed ut temporarily because of otel API changes (#3795) 2023-12-17 12:26:48 +08:00
Qiu shao
431f9af43e
feat:add redis ExistsMany method (#3769) 2023-12-16 14:49:16 +08:00
Alex Last
919477ffe4
fix(servicegroup): use logx for shutdown message (#3719) 2023-12-16 06:25:02 +00:00
Summer-lights
400386459c
fix(redis): redis ttl -1 and -2 (#3783) 2023-12-16 05:46:53 +00:00
Kevin Wan
22c98beb24
feat: add dbtest to facility db test (#3768) 2023-12-09 22:52:06 +08:00
Kevin Wan
ede7e683fd
feat: auto stop profiling after one minute (#3742) 2023-11-24 21:27:05 +08:00
Kevin Wan
eb14d1347e
chore: refactor ring (#3739) 2023-11-23 23:57:26 +08:00
POABOB
c220b5d886
fix: prevent ring index overflow (#3738) 2023-11-23 15:44:33 +00:00
Kevin Wan
2f8cffc699
chore: update mongo driver (#3727) 2023-11-19 16:35:25 +08:00
Kevin Wan
07e3e14c0e
chore: remove go build version in fuzz test (#3678) 2023-10-28 20:53:03 +08:00
Rene Leonhardt
34c5f6616c
chore: upgrade go to 1.19 (#3677) 2023-10-28 12:12:04 +00:00
MarkJoyMa
32600f2619
fix: adjust log encode output mode (#3676) 2023-10-28 11:46:52 +00:00
Kevin Wan
a1fca3a1da
chore: upgrade go dependencies (#3657) 2023-10-28 00:19:22 +08:00
Kevin Wan
9394e59597
chore: update goctl version to 1.6.0 (#3674) 2023-10-27 21:59:35 +08:00
MarkJoyMa
c05e03bb5a
feat: add metrics (#3624) 2023-10-26 15:51:28 +00:00
Kevin Wan
199e86050e
chore: simplify prometheus check (#3672) 2023-10-26 20:32:13 +08:00
#Suyghur
1e2a12b3d6
feat(metric): added Dec() and Sub() in GaugeVec interface (#3666) 2023-10-26 20:13:42 +08:00
唐小鸭
e20ccdd011
Support for resource injection (#3383)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-10-23 13:22:16 +00:00
Kevin Wan
172ff407f3
chore: refactor mongo logs (#3660) 2023-10-23 11:03:55 +08:00
shenbaise9527
a242fec5e1
feat: support for disable mon logs like sqlx (#3606)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-10-22 15:00:02 +00:00
Kevin Wan
42e0a6f90c
chore: refactor errors to use errors.Is (#3654) 2023-10-21 00:00:57 +08:00
Kevin Wan
944e76edb9
chore: refactor errors (#3651) 2023-10-20 14:58:38 +08:00
MarkJoyMa
151768ef82
feat: optimize logx print error (#3649) 2023-10-19 13:46:52 +00:00
Surav Shrestha
50581c7f5c
docs fix typo in core/logx/readme.md (#3650) 2023-10-19 13:33:25 +00:00
kesonan
423597a01c
feat: export devserver.Config (#3638) 2023-10-17 15:38:21 +00:00
Kevin Wan
804a56bd14
fix: optimize logx for less GC objects (#3627) 2023-10-15 23:37:45 +08:00
Kevin Wan
88f60d7736
chore: refactor signal sigterm and sigint (#3632) 2023-10-15 23:24:17 +08:00
#Suyghur
95b7a3d3ce
feat: add the SIGINT signal in signals.go to subscribe the user input ctrl+c to exit the application operation (#3611) 2023-10-15 22:58:15 +08:00
Kevin Wan
d71c0da7b7
chore: refactor error comparison (#3629) 2023-10-15 13:41:06 +00:00