Commit Graph

28 Commits (a7363f0c21c10081eae8f40eef7bf1be8c799575)

Author SHA1 Message Date
Kevin Wan c2ff00883a
chore: update restful/grpc servers shutdown stages (#3662) 1 year ago
Kevin Wan 98c9b5928a
refactor: simplify zrpc stat config (#3107) 2 years ago
cong 49135fe25e
refactor(zrpc): prefer static config for zrpc server statinterceptor (#3105) 2 years ago
MarkJoyMa dd117ce9cf
feat: converge grpc interceptor processing (#2830)
* feat: converge grpc interceptor processing

* x

* x
2 years ago
Kevin Wan 0c786ca849
chore: remove simple methods, inlined (#2768) 2 years ago
Kevin Wan 26c541b9cb
feat: add middlewares config for zrpc (#2766)
* feat: add middlewares config for zrpc

* chore: add tests

* chore: improve codecov

* chore: improve codecov
2 years ago
Kevin Wan fdc57d07d7
fix: #2672 (#2681)
* fix: #2672

* chore: fix more cases

* chore: update deps

* chore: update deps

* chore: refactor

* chore: refactor

* chore: refactor
2 years ago
re-dylan ef22042f4d
feat: add dev server and health (#2665)
* feat: add dev server and health

* fix: fix ci

* fix: fix comment.

* feat: add enabled

* remove no need test

* feat: mv devServer to internal

* feat: default enable pprof

Co-authored-by: dylan.wang <dylan.wang@yijinin.com>
2 years ago
Kevin Wan 773b59106b
chore: remove init if possible (#2485) 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
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
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 a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
chenquan cf683411ee
feature(retry): Delete retry mechanism (#1279) 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 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 c837dc21bb
refactoring tracing interceptors. (#1009)
* refactor tracing interceptors

* add stream tracing interceptor
3 years ago
Kevin Wan bdec5f2349
use sdktrace instead of trace for opentelemetry to avoid conflicts (#1005)
* use sdktrace instead of trace for opentelemetry to avoid conflicts

* disable opentelemetry for right now
3 years ago
neosu 5b35fa17de
add the opentelemetry tracing (#908)
* add the opentelemetry tracing

* fix the error sampler config

* 添加stream的链路跟踪

* fix the error field name
3 years ago
Kevin Wan 0ee7654407
fix #792 (#873) 3 years ago
Kevin Wan 51de0d0620
fix golint issues in zrpc (#531) 4 years ago
kevin bd430baf52 graceful shutdown refined 4 years ago
kevin 9277ad77f7 fix typo of prometheus 4 years ago
kevin a958400595 rename prommetric to prometheous, add unit tests 4 years ago
kevin be9c48da7f add tracing logs in server side and client side 4 years ago
kevin 0b1ee79d3a rename rpcx to zrpc 4 years ago