Kevin Wan
7a0c04bc21
feat: unique redis addrs and trim spaces ( #3004 )
2023-03-10 16:09:07 +08:00
iyyzh
3c9fe0b381
init postgresql err ( #3003 )
2023-03-10 05:58:07 +00:00
文豆芽
f8b2dc8c9f
reids cluster bug ( #2986 )
...
Co-authored-by: shaocongcong <shao.congcong@yalla.live>
2023-03-09 21:37:34 +08:00
fabio
cb7f3e8a17
feat(redis):add LpopCount,RpopCount ( #2990 )
2023-03-09 05:45:45 +00:00
anqiansong
a2592a17e9
format code
2023-03-08 15:32:08 +00:00
anqiansong
05abf4a2ff
fix typo
2023-03-08 15:32:08 +00:00
Kevin Wan
a05fe7bf0a
chore: remove optional in redis config ( #2979 )
2023-03-07 14:58:04 +08:00
Kevin Wan
d953675085
chore: add tests ( #2960 )
2023-03-04 20:34:15 +08:00
qiying.wang
148afcf1a7
chore: remove redundant prefix of "error: " in error creation
2023-03-02 12:46:19 +00:00
Kevin Wan
a5e5f04bcf
chore: reformat code ( #2925 )
2023-02-26 09:35:59 +08:00
chenquan
3bc40d9eaf
fix: fixed the bug that old trace instances may be fetched
2023-02-22 13:01:22 +00:00
yiwu
133c40ac1c
Pgx ( #2902 )
...
* change postgres driver to pgx
* modified: go.mod
modified: go.sum
* chore: tidy go.sum
---------
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-02-22 14:11:49 +08:00
cong
64ab00e8e3
refactor: simplify sqlx fail fast ping and simplify miniredis setup in test ( #2897 )
...
* chore(redistest): simplify miniredis setup in test
* refactor(sqlx): simplify sqlx fail fast ping
* chore: close connection if not available
2023-02-19 17:18:19 +08:00
chen quan
ea7dab3d26
feat(sqlx): error log print traceId and spanId ( #2845 )
2023-02-11 16:12:14 +08:00
Kevin Wan
d7d6eccce6
chore: remove clickhouse, added to zero-contrib ( #2848 )
2023-02-11 15:28:59 +08:00
Kevin Wan
3c0dc8435e
chore: improve codecov ( #2828 )
2023-01-29 21:39:54 +08:00
MarkJoyMa
fde05ccb28
feat: add MustNewRedis ( #2824 )
...
* feat: add MustNewRedis
* feat: add MustNewRedis
* feat: add MustNewRedis
* x
* x
* fix ut
* x
* x
* x
* x
* x
2023-01-29 18:03:05 +08:00
Kevin Wan
ae87114282
chore: change interface{} to any ( #2818 )
...
* chore: change interface{} to any
* chore: update goctl version to 1.5.0
* chore: update goctl deps
2023-01-24 16:32:02 +08:00
Kevin Wan
7e0ac77139
feat: upgrade go to v1.18 ( #2817 )
...
* feat: upgrade go to v1.18
* feat: upgrade go to v1.18
2023-01-24 15:47:01 +08:00
Kevin Wan
696da4efee
chore: add more tests ( #2815 )
...
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
2023-01-24 13:43:13 +08:00
Kevin Wan
2bfecf9354
chore: remove mgo related packages ( #2799 )
2023-01-16 23:13:59 +08:00
Kevin Wan
6d129e0264
chore: add more tests ( #2797 )
...
* chore: add more tests
* chore: add more tests
* chore: add more tests
2023-01-16 22:33:39 +08:00
Kevin Wan
5f02e623f5
chore: add more tests ( #2795 )
...
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
2023-01-15 21:32:41 +08:00
Kevin Wan
963b52fb1b
chore: add more tests ( #2794 )
2023-01-15 15:28:27 +08:00
Kevin Wan
02265d0bfe
chore: add more tests ( #2792 )
...
* chore: add more tests
* chore: add more tests
* chore: add more tests
* chore: add more tests
2023-01-15 00:16:12 +08:00
Kevin Wan
b2571883ca
chore: refactor ( #2785 )
...
* chore: refactor
* chore: refactor
2023-01-13 14:04:37 +08:00
Alonexy
00ff50c2cc
add zset withsocre float ( #2689 )
...
* add zset withsocre float
* update
* add IncrbyFloat,HincrbyFloat
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-01-12 22:37:14 +08:00
Kevin Wan
367afb544c
feat: support ptr of ptr of ... in mapping ( #2779 )
...
* feat: support ptr of ptr of ... in mapping
* feat: support ptr of ptr of time.Duration in mapping
* feat: support ptr of ptr of json.Number in mapping
* chore: improve setting in mapping
* feat: support ptr of ptr encoding.TextUnmarshaler in mapping
* chore: add more tests
* fix: string ptr
* chore: update tests
2023-01-12 15:56:51 +08:00
MarkJoyMa
0defb7522f
feat: replace NewBetchInserter function name ( #2769 )
2023-01-09 09:38:57 +08:00
MarkJoyMa
a5fcf24c04
feat: add batch inserter ( #2755 )
2023-01-06 23:30:50 +08:00
MarkJoyMa
e71c505e94
feat: add mongo options ( #2753 )
...
* feat: add mongo options
* feat: add mongo options
* feat: add mongo options
* feat: add mongo options
* feat: add mongo options
* feat: add mongo options
2023-01-05 22:14:50 +08:00
#Suyghur
69d355eb4b
feat(redis): add zscan command implementation ( #2729 ) ( #2751 )
2023-01-04 13:44:17 +08:00
Archer
683d793719
RawFieldNames should ignore the field whose name is start with a dash ( #2725 )
2022-12-24 21:27:32 +08:00
王哈哈
dac3600b53
Modify comment syntax error ( #2572 )
2022-11-04 21:55:17 +08:00
Kevin Wan
9cadab2684
chore: refactor ( #2545 )
...
* chore: refactor
* chore: refactor
2022-10-22 22:52:40 +08:00
swliao425
b21162d638
fix: redis's pipeline logs are not printed completely ( #2538 )
...
* fix: redis's pipeline logs are not printed completely
* add unit test
Signed-off-by: liaoshiwei <liaoshiwei@uniontech.com>
Signed-off-by: liaoshiwei <liaoshiwei@uniontech.com>
2022-10-22 21:57:40 +08:00
foliet
f7a4e3a19e
chore: fix naming problem ( #2500 )
...
When I was looking for how to mock mongo client, I found some naming problems and wanted to fix them.
2022-10-13 22:53:27 +08:00
swliao425
a515a3c735
chore: sqlx's metric name is different from redis ( #2505 )
2022-10-13 22:52:36 +08:00
Kevin Wan
1bc138bd34
chore: refactor to reduce duplicated code ( #2477 )
2022-10-01 21:45:53 +08:00
#Suyghur
0c66e041b5
feat(redis):add timeout method to extend blpop ( #2472 )
2022-10-01 20:53:54 +08:00
Kevin Wan
1a6d7b3ef6
chore: gofumpt ( #2439 )
2022-09-22 22:40:01 +08:00
dawn_zhou
d640544a40
refactor: redis error for prometheus metric label ( #2412 )
...
Co-authored-by: dawn.zhou <dawn.zhou@yijinin.com>
2022-09-20 21:13:33 +08:00
Kevin Wan
1f6688e5c1
chore: refactor the imports ( #2406 )
2022-09-17 20:06:23 +08:00
dawn_zhou
ae7f1aabdd
feat: mysql and redis metric support ( #2355 )
...
* feat: mysql and redis metric support
* feat: mysql and redis metric support
* feat: mysql and redis metric support
Co-authored-by: dawn.zhou <dawn.zhou@yijinin.com>
2022-09-17 19:35:30 +08:00
Kevin Wan
66c2a28e66
fix #2364 ( #2377 )
2022-09-12 19:29:43 +08:00
Kevin Wan
d935c83a54
feat: support baggage propagation in httpc ( #2375 )
...
* feat: support baggage propagation in httpc
* chore: use go 1.16
* chore: use go 1.16
* chore: use go ^1.16
* chore: remove deprecated
2022-09-10 15:18:52 +08:00
maizige
cfda972d50
fix:trace graceful stop,pre loss trace ( #2358 )
2022-09-07 10:33:01 +08:00
Kevin Wan
2d60f0c65a
fix: logx disable not working in some cases ( #2306 )
...
* fix: logx disable not working in some cases
* fix: test fail
2022-08-27 19:24:31 +08:00
chen quan
0316b6e10e
feat(redis): add ZaddFloat & ZaddFloatCtx ( #2291 )
2022-08-24 21:02:16 +08:00
Kevin Wan
8ed22eafdd
fix #2240 ( #2263 )
2022-08-14 19:49:47 +08:00