apache / rocketmq-client-cpp

Apache RocketMQ cpp client
https://rocketmq.apache.org/
Apache License 2.0
366 stars 158 forks source link

[ISSUE #275] Add trace message for pub and sub. #276

Closed ShannonDing closed 4 years ago

ShannonDing commented 4 years ago

What is the purpose of the change

275

feat(trace): add trace message for pub and sub.

Brief changelog

support trace send message sync support trace consumes messages support trace consumes orderly messages.

codecov-io commented 4 years ago

Codecov Report

Merging #276 into master will increase coverage by 1.8%. The diff coverage is 84.21%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #276     +/-   ##
=========================================
+ Coverage   58.28%   60.08%   +1.8%     
=========================================
  Files         182      200     +18     
  Lines       11805    12560    +755     
=========================================
+ Hits         6880     7547    +667     
- Misses       4925     5013     +88
Impacted Files Coverage Δ
src/common/NameSpaceUtil.h 100% <ø> (ø) :arrow_up:
src/trace/SendMessageHook.h 50% <ø> (ø)
src/consumer/DefaultMQPushConsumerImpl.h 0% <ø> (ø) :arrow_up:
src/producer/DefaultMQProducer.cpp 37.61% <0%> (-1.44%) :arrow_down:
src/consumer/ConsumeMessageOrderlyService.cpp 0% <0%> (ø) :arrow_up:
src/consumer/DefaultMQPushConsumer.cpp 50.51% <0%> (-2.18%) :arrow_down:
src/consumer/ConsumeMessageConcurrentlyService.cpp 0% <0%> (ø) :arrow_up:
src/MQClientFactory.cpp 20.72% <0%> (-0.07%) :arrow_down:
src/trace/TraceTransferBean.h 100% <100%> (ø)
src/common/DefaultMQClient.cpp 75% <100%> (+1.27%) :arrow_up:
... and 43 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 753ec41...07926a1. Read the comment docs.