#Suyghur
74cc6b55e8
fix: replace Infof() with Errorf() in DurationInterceptor ( #2495 ) ( #2497 )
2 years ago
Kevin Wan
773b59106b
chore: remove init if possible ( #2485 )
2 years ago
Kevin Wan
1f6688e5c1
chore: refactor the imports ( #2406 )
2 years ago
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>
2 years ago
Kevin Wan
da80662b0f
chore: refactor ( #2365 )
2 years ago
maizige
cfda972d50
fix:trace graceful stop,pre loss trace ( #2358 )
2 years ago
maizige
5d4ae201d0
Fix/del server interceptor duplicate copy md 20220827 ( #2309 )
...
* fix:grpc server interceptor duplicate copy MD
* modify wrong comments
2 years ago
maizige
05007c86bb
fix:duplicate copy MD ( #2304 )
2 years ago
MarkJoyMa
040c9e0954
feat: rpc add health check function configuration optional ( #2288 )
...
* feat: rpc add health check function configuration optional
* update config field name
2 years ago
benqi
5d7919a9f5
fix: remove invalid log fields in notLoggingContentMethods ( #2187 )
2 years ago
Kevin Wan
9b334b5428
chore: let logx.SetWriter can be called anytime ( #2186 )
2 years ago
benqi
edbf1a3b63
fix: fix switch doesn't work bug ( #2183 )
2 years ago
Kevin Wan
92145b56dc
chore: refactoring ( #2182 )
2 years ago
Kevin Wan
1410f7dc20
fix #2109 ( #2116 )
2 years ago
Kevin Wan
1b2b7647d6
chore: coding style ( #2012 )
2 years ago
Atlan
af6d37c33d
fix: 修复 clientinterceptors/tracinginterceptor.go 显示接受消息字节为0 ( #2003 )
2 years ago
Kevin Wan
ed1c937998
feat: convert grpc errors to http status codes ( #1997 )
...
* feat: convert grpc errors to http status codes
* chore: circuit break include unimplemented grpc error
* chore: add reference link in comments
2 years ago
Kevin Wan
321a20add6
chore: update roadmap ( #1948 )
3 years ago
kunyu
65098d4737
Delete duplicated crash recover logic. ( #1950 )
...
* Update statinterceptor.go
* Update statinterceptor_test.go
3 years ago
Kevin Wan
ca88b69d24
feat: set default connection idle time for grpc servers ( #1922 )
...
* feat: set default connection idle time for grpc servers
* feat: add grpc health check
3 years ago
Kevin Wan
e80a64fa67
feat: support WithStreamClientInterceptor for zrpc clients ( #1907 )
...
* feat: support WithStreamClientInterceptor for zrpc clients
* fix: data race
3 years ago
Kevin Wan
ec1de4f48d
test: add codecov ( #1861 )
...
* test: add codecov
* test: add codecov
3 years ago
Kevin Wan
ac321fc146
feat: add fields with logx methods, support using third party logging libs. ( #1847 )
...
* backup
* simplify
* chore: remove unused pool
* chore: fix lint errors
* chore: use strings.Builder instead of bytes.Buffer
* test: add more tests
* chore: fix reviewdog
* test: fix data race
* feat: make logger customizable
* chore: fix reviewdog
* test: fix fails
* chore: fix set writer twice
* chore: use context instead of golang.org context
* chore: specify uint32 for level types
3 years ago
Kevin Wan
ec3e02624c
feat: upgrade grpc to 1.46, and remove the deprecated grpc.WithBalancerName ( #1820 )
3 years ago
chen quan
c6ab11b14f
chore: use grpc.WithTransportCredentials and insecure.NewCredentials() instead of grpc.WithInsecure ( #1798 )
...
Signed-off-by: chenquan <chenquan.dev@gmail.com>
3 years ago
Kevin Wan
3b7ca86e4f
chore: add unit tests ( #1615 )
...
* test: add more tests
* test: add more tests
3 years ago
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
3 years ago
Kevin Wan
a7aeb8ac0e
feat: support tls for etcd client ( #1390 )
...
* feat: support tls for etcd client
* chore: fix typo
* refactor: rename TrustedCAFile to CACertFile
* docs: add comments
* fix: missing tls registration
* feat: add InsecureSkipVerify config for testing
3 years ago
BYT0723
af3fb2b04d
fix: go issue 16206 ( #1298 )
3 years ago
Kevin Wan
9d528dddd6
feat: support third party orm to interact with go-zero ( #1286 )
...
* fixes #987
* chore: fix test failure
* chore: add comments
* feat: support third party orm to interact with go-zero
* chore: refactor
3 years ago
Kevin Wan
d828c3f37e
feat: add etcd resolver scheme, fix discov minor issue ( #1281 )
3 years ago
chenquan
cf683411ee
feature(retry): Delete retry mechanism ( #1279 )
3 years ago
Kevin Wan
3c894a3fb7
feat: simplify the grpc tls authentication ( #1199 )
3 years ago
Kevin Wan
1ece3a498f
feat: use WithBlock() by default, NonBlock can be set in config or WithNonBlock() ( #1198 )
3 years ago
Kevin Wan
ba43214dae
feat: slow threshold customizable in zrpc ( #1191 )
...
* feat: slow threshold customizable in rest
* feat: slow threshold customizable in rest
* feat: slow threshold customizable in rest
* feat: slow threshold customizable in zrpc
3 years ago
Kevin Wan
8230474667
test: add more tests ( #1179 )
3 years ago
Kevin Wan
27f553bf84
docs: update roadmap ( #1178 )
3 years ago
Kevin Wan
59b9687f31
feat: support auth account for etcd ( #1174 )
3 years ago
Kevin Wan
c1a8ccda11
feat: support ssl on zrpc, simplify the config ( #1175 )
3 years ago
workman-Lu
9df6786b09
support RpcClient Vertify With Unilateralism and Mutual ( #647 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
3 years ago
Kevin Wan
eda8230521
chore: reorg imports, format code, make MaxRetires default to 0 ( #1165 )
...
* chore: reverse the order of stopping services
* chore: reverse the order of stopping services
* chore: reorg imports, format code
* chore: format code, and refactor
* feat: change MaxRetries default to 0, disable retry
3 years ago
chenquan
462ddbb145
Add grpc retry ( #1160 )
...
* Add grpc retry
* Update grpc retry
* Add tests
* Fix a bug
* Add api && some tests
* Add comment
* Add double check
* Add server retry quota
* Update optimize code
* Fix bug
* Update optimize code
* Update optimize code
* Fix bug
3 years ago
Kevin Wan
9b114e3251
test: add more tests ( #1119 )
3 years ago
Kevin Wan
4c6234f108
add more tests ( #1115 )
...
* add more tests
* fix lint errors
3 years ago
Kevin Wan
3cdfcb05f1
add more tests ( #1114 )
3 years ago
Kevin Wan
9f5bfa0088
add more tests ( #1113 )
3 years ago
Kevin Wan
2d42c8fa00
test: add more tests ( #1112 )
3 years ago
Kevin Wan
10e7922597
feat: opentelemetry integration, removed self designed tracing ( #1111 )
...
* feat: opentelemetry integration, removed self designed tracing
* feat: support zipkin on opentelemetry integration
* feat: support zipkin on opentelemetry integration, enable it in conf
* style: format code
* fix: support logx without exporter configured
* fix: check return values
* refactor: simplify code
* refactor: simplify opentelemetry integration
* ci: fix staticcheck errors
3 years ago
Kevin Wan
65905b914d
ci: add reviewdog ( #1096 )
3 years ago
Kevin Wan
8403ed16ae
ci: add Lint check on commits ( #1086 )
...
* ci: add Lint check on commits
* ci: fix Lint script error
* test: fix go vet errors
* test: fix go vet errors, remove gofumpt to check go vet
* test: fix go vet errors, try gofumpt
* test: fix go vet errors, try gofumpt, round 1
* test: fix go vet errors, try gofumpt, round 2
* ci: fix Lint errors
3 years ago