Commit Graph

34 Commits (6dc570bcd76f0342f256fc288ee5c379c753b339)

Author SHA1 Message Date
Kevin Wan ec1de4f48d
test: add codecov (#1861)
* test: add codecov

* test: add codecov
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
chenquan cf683411ee
feature(retry): Delete retry mechanism (#1279) 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 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 4c6234f108
add more tests (#1115)
* add more tests

* fix lint errors
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 56807aabf6
fix golint issues, update codecov settings. (#1011)
* update codecov settings

* fix golint issues
3 years ago
Kevin Wan c837dc21bb
refactoring tracing interceptors. (#1009)
* refactor tracing interceptors

* add stream tracing interceptor
3 years ago
Kevin Wan 58874779e7
move opentelemetry into trace package, and refactoring (#996)
* move opentelemetry into trace package, and refactoring

* rename rewritten package names
3 years ago
Kevin Wan 9bdadf2381
fix golint issues (#992) 3 years ago
Kevin Wan 7618139dad
refactor (#977) 3 years ago
Kevin Wan 50a6bbe6b9
format coding style (#970) 3 years ago
chenquan dfb3cb510a
Fix context error in grpc (#962)
* Fix context error in rpc

* Add a test case

* Optimize judgment conditions

* Add customized breaker errors for the client and server

* Update method signature

* Delete customized breaker errors

* Delete the wrong test case
3 years ago
zhoushuguang 280e837c9e
rest otel support (#943) 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 a21ff71373
fix #889 (#912) 3 years ago
Kevin Wan 0ee7654407
fix #792 (#873) 3 years ago
Kevin Wan 06eeef2cf3
disable prometheus if not configured (#663) 4 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
zjbztianya d88da4cc88
Replace contextx.ShrinkDeadline with context.WithTimeout (#598) 4 years ago
Kevin Wan 9e6c2ba2c0
avoid goroutine leak after timeout (#575) 4 years ago
Kevin Wan 4884a7b3c6
zrpc timeout & unit tests (#573)
* zrpc timeout & unit tests
4 years ago
Kevin Wan 51de0d0620
fix golint issues in zrpc (#531) 4 years ago
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
kevin d0b76b1d9a move redistest into redis package 4 years ago
kevin b004b070d7 refine tests 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