me-cs
0217044900
update:Use the Milliseconds method of duration to get the number of milliseconds ( #3285 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-05-26 14:32:46 +00:00
cong
22fad4bb9c
feat(trace): add trace test helpers ( #3108 )
2023-04-08 14:52:25 +00:00
Kevin Wan
f77e2c9cfa
chore: add more tests ( #3014 )
2023-03-11 14:57:56 +08:00
Shyunn
544aa7c432
Added zrpc server custom serverID for custom registration Key when the service is registered on ETCD. ( #3008 )
2023-03-11 14:34:28 +08:00
Kevin Wan
fbf129d535
chore: add more tests ( #3010 )
2023-03-10 21:56:19 +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
benqi
3604659027
fix: fix client side in zeromicro#2109 (zeromicro#2116) ( #2659 )
...
* fix: fix client side in zeromicro#2109 (zeromicro#2116)
* fix: fix client side in zeromicro#2109 (zeromicro#2116)
* fix: fix client side in zeromicro#2109 (zeromicro#2116)
2022-12-04 00:25:52 +08:00
#Suyghur
74cc6b55e8
fix: replace Infof() with Errorf() in DurationInterceptor ( #2495 ) ( #2497 )
2022-10-11 21:45:31 +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
maizige
cfda972d50
fix:trace graceful stop,pre loss trace ( #2358 )
2022-09-07 10:33:01 +08:00
maizige
05007c86bb
fix:duplicate copy MD ( #2304 )
2022-08-27 12:18:23 +08:00
Kevin Wan
1b2b7647d6
chore: coding style ( #2012 )
2022-06-14 07:25:54 +08:00
Atlan
af6d37c33d
fix: 修复 clientinterceptors/tracinginterceptor.go 显示接受消息字节为0 ( #2003 )
2022-06-14 00:11:10 +08:00
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
2022-01-04 15:51:32 +08:00
chenquan
cf683411ee
feature(retry): Delete retry mechanism ( #1279 )
2021-11-27 11:32:33 +08:00
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
2021-11-01 15:04:38 +08:00
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
2021-10-27 20:57:18 +08:00
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
2021-10-27 19:46:07 +08:00
Kevin Wan
3cdfcb05f1
add more tests ( #1114 )
2021-10-04 20:02:25 +08:00
Kevin Wan
9f5bfa0088
add more tests ( #1113 )
2021-10-04 14:14:25 +08:00
Kevin Wan
2d42c8fa00
test: add more tests ( #1112 )
2021-10-03 21:30:48 +08:00
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
2021-10-03 20:53:50 +08:00
Kevin Wan
c837dc21bb
refactoring tracing interceptors. ( #1009 )
...
* refactor tracing interceptors
* add stream tracing interceptor
2021-09-07 17:58:22 +08:00
Kevin Wan
58874779e7
move opentelemetry into trace package, and refactoring ( #996 )
...
* move opentelemetry into trace package, and refactoring
* rename rewritten package names
2021-09-05 22:18:35 +08:00
Kevin Wan
9bdadf2381
fix golint issues ( #992 )
2021-09-04 12:16:30 +08:00
Kevin Wan
7618139dad
refactor ( #977 )
2021-08-31 12:04:09 +08:00
SunJun
aa68210cde
修复stream拦截器tracer名问题 ( #944 )
2021-08-24 15:17:53 +08:00
zhoushuguang
280e837c9e
rest otel support ( #943 )
2021-08-24 10:04:12 +08:00
neosu
5b35fa17de
add the opentelemetry tracing ( #908 )
...
* add the opentelemetry tracing
* fix the error sampler config
* 添加stream的链路跟踪
* fix the error field name
2021-08-22 10:03:56 +08:00
Kevin Wan
603c93aa4a
upgrade grpc package ( #845 )
2021-07-24 22:29:02 +08:00
masonchen2014
cb8d9d413a
simplify timeoutinterceptor ( #840 )
...
Co-authored-by: chenmusheng <chenmusheng@laoyuegou.com>
2021-07-24 21:51:46 +08:00
Kevin Wan
06eeef2cf3
disable prometheus if not configured ( #663 )
2021-04-30 15:09:49 +08:00
zjbztianya
d88da4cc88
Replace contextx.ShrinkDeadline with context.WithTimeout ( #598 )
2021-04-05 21:20:35 +08:00
Kevin Wan
9e6c2ba2c0
avoid goroutine leak after timeout ( #575 )
2021-03-21 16:54:34 +08:00
Kevin Wan
4884a7b3c6
zrpc timeout & unit tests ( #573 )
...
* zrpc timeout & unit tests
2021-03-19 18:41:26 +08:00
Kevin Wan
51de0d0620
fix golint issues in zrpc ( #531 )
2021-03-01 23:52:44 +08:00
Kevin Wan
086113c843
prevent negative timeout settings ( #482 )
...
* prevent negative timeout settings
* fix misleading comment
2021-02-19 10:44:39 +08:00
HarryWang29
d239952d2d
zrpc client support block ( #412 )
2021-02-19 10:24:03 +08:00
kevin
9277ad77f7
fix typo of prometheus
2020-09-27 17:15:15 +08:00
kevin
a958400595
rename prommetric to prometheous, add unit tests
2020-09-27 16:14:16 +08:00
kevin
be9c48da7f
add tracing logs in server side and client side
2020-09-22 17:34:39 +08:00
kevin
0b1ee79d3a
rename rpcx to zrpc
2020-09-18 11:41:52 +08:00