Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug about webflux broken trace #5335

Closed
wants to merge 1 commit into from

Conversation

HowlsCastle
Copy link

Please answer these questions before submitting a pull request

  • Why submit this pull request?

  • Bug fix

  • New feature provided

  • Improve performance

  • Related issues


Bug fix


New feature or improvement

  • Describe the details and related test reports.

@codecov
Copy link

codecov bot commented Aug 17, 2020

Codecov Report

Merging #5335 into master will increase coverage by 0.27%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #5335      +/-   ##
============================================
+ Coverage     53.13%   53.41%   +0.27%     
- Complexity     3204     3211       +7     
============================================
  Files           828      828              
  Lines         20830    20768      -62     
  Branches       2019     2006      -13     
============================================
+ Hits          11069    11093      +24     
+ Misses         8856     8768      -88     
- Partials        905      907       +2     
Impacted Files Coverage Δ Complexity Δ
...storage/plugin/influxdb/base/HistoryDeleteDAO.java 33.33% <0.00%> (-33.34%) 2.00% <0.00%> (-1.00%)
.../server/storage/plugin/jdbc/h2/dao/H2BatchDAO.java 64.10% <0.00%> (-5.13%) 5.00% <0.00%> (ø%)
...p/server/storage/plugin/influxdb/InfluxClient.java 57.69% <0.00%> (-3.85%) 13.00% <0.00%> (-1.00%)
...g/oap/server/telemetry/prometheus/BaseMetrics.java 86.66% <0.00%> (-3.34%) 8.00% <0.00%> (-1.00%)
...ng/oap/server/core/alarm/provider/RunningRule.java 49.73% <0.00%> (-2.12%) 10.00% <0.00%> (ø%)
...er/storage/plugin/influxdb/query/MetricsQuery.java 43.92% <0.00%> (-0.94%) 8.00% <0.00%> (-1.00%)
.../org/apache/skywalking/apm/toolkit/model/User.java
...lking/apm/agent/core/util/CustomizeExpression.java
...lking/apm/agent/core/plugin/match/PrefixMatch.java 0.00% <0.00%> (ø) 0.00% <0.00%> (?%)
...alking/apm/agent/core/context/util/PeerFormat.java 0.00% <0.00%> (ø) 0.00% <0.00%> (?%)
... and 8 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 ed71efd...52b408a. Read the comment docs.

@@ -79,6 +78,7 @@ public Object afterMethod(EnhancedInstance objInst, Method method, Object[] allA
return ((Mono) ret).doFinally(s -> {
AbstractSpan span = (AbstractSpan) exchange.getAttributes().get("SKYWALING_SPAN");
if (span != null) {
ContextManager.stopSpan(span);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I double this is a fix. This should be a part of another thread.

@wu-sheng wu-sheng requested a review from ascrutae August 17, 2020 10:54
@wu-sheng
Copy link
Member

@ascrutae I will wait for your confirmation.

@wu-sheng wu-sheng added the TBD To be decided later, need more discussion or input. label Aug 17, 2020
@ascrutae
Copy link
Member

@wu-sheng The #5184 and #4957 is not caused by webflux plugin, it cause by that the spring plugin doesn't active.

@wu-sheng
Copy link
Member

@ascrutae I close this for now. Wait for your fix.

@wu-sheng wu-sheng closed this Aug 18, 2020
@wu-sheng wu-sheng added this to the 8.2.0 milestone Aug 18, 2020
@wu-sheng wu-sheng added wontfix This will not be worked on invalid The description doesn't fit the case. and removed TBD To be decided later, need more discussion or input. labels Aug 18, 2020
@ascrutae
Copy link
Member

ascrutae commented Aug 18, 2020 via email

@thanq
Copy link
Contributor

thanq commented Aug 27, 2020

Is this webflux use @requestbody with problem solved? i have same question, Can you give me some ideas?

@flyxl
Copy link

flyxl commented Oct 24, 2020

@wu-sheng @ascrutae any update?

@aheling11
Copy link

any update? I had the same problem... @wu-sheng @ascrutae

@apache apache locked as off-topic and limited conversation to collaborators Nov 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid The description doesn't fit the case. wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants