sofastack / sofa-tracer

SOFATracer is a component for the distributed system call trace. And through a unified traceId logging the logs of various network calls in the invoking link. These logs can be used for quick discovery of faults, service governance, etc.
Apache License 2.0
1.11k stars 377 forks source link

Restore parent span for redis plugin #496

Closed glmapper closed 2 years ago

glmapper commented 2 years ago

1、Restore parent span for redis plugin 2、fix https://github.com/sofastack/sofa-tracer/pull/464 check format

codecov[bot] commented 2 years ago

Codecov Report

Merging #496 (dd2d326) into master (3c5fe54) will decrease coverage by 0.36%. The diff coverage is 3.33%.

:exclamation: Current head dd2d326 differs from pull request most recent head 965208b. Consider uploading reports for the commit 965208b to get more accurate results

@@             Coverage Diff              @@
##             master     #496      +/-   ##
============================================
- Coverage     46.80%   46.43%   -0.37%     
+ Complexity      225      223       -2     
============================================
  Files           332      332              
  Lines          9959     9983      +24     
  Branches        954      958       +4     
============================================
- Hits           4661     4636      -25     
- Misses         4812     4861      +49     
  Partials        486      486              
Impacted Files Coverage Δ
.../spring/redis/common/RedisActionWrapperHelper.java 20.18% <3.33%> (-5.70%) :arrow_down:
...s/spring/redis/reporter/RedisStatJsonReporter.java 11.76% <0.00%> (-82.36%) :arrow_down:
...s/spring/redis/encoder/RedisDigestJsonEncoder.java 20.00% <0.00%> (-80.00%) :arrow_down:
...n/java/com/alipay/common/tracer/util/CoolDown.java 85.00% <0.00%> (-15.00%) :arrow_down:
...nder/manager/AsyncCommonDigestAppenderManager.java 61.70% <0.00%> (-6.39%) :arrow_down:
...ipay/common/tracer/core/tracer/AbstractTracer.java 66.66% <0.00%> (+1.90%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.