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

Refactored servlet instrumentation and dependents #75

Merged
merged 22 commits into from
Jan 22, 2020

Conversation

prydin
Copy link
Contributor

@prydin prydin commented Jan 21, 2020

Closes #70 (servlet instrumentation needs refactoring)

Closes #68 (spring-* needs refactoring)

Added some log.debug statements to ListWriter to allow viewing of spans created and closed.

@trask
Copy link
Member

trask commented Jan 21, 2020

Thx! Can you check out the muzzle build error?

It looks like it's in reactor-core-3.1.

You can run the failed muzzle locally for this one module with:

./gradlew :java-agent:instrumentation:reactor-core-3.1:muzzle

@prydin
Copy link
Contributor Author

prydin commented Jan 21, 2020

Oh... The muzzle tests aren't part of the regular test/check battery of tests? Have we documented somewhere what the test sequence should be before you issue a PR?

@trask
Copy link
Member

trask commented Jan 21, 2020

I think muzzle is not part of regular build b/c it takes a long time to run. I don't think it's documented anywhere. Would be great to add a section about muzzle to CONTRIBUTING.md.

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

Thanks for this! Comments below

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

Just a few more comments

prydin and others added 4 commits January 22, 2020 14:51
…opentelemetry/auto/instrumentation/springwebflux/client/TracingClientResponseMono.java

Co-Authored-By: Trask Stalnaker <trask.stalnaker@gmail.com>
…opentelemetry/auto/instrumentation/reactor/core/FluxAndMonoSubscribeAdvice.java

Co-Authored-By: Trask Stalnaker <trask.stalnaker@gmail.com>
…opentelemetry/auto/instrumentation/springweb/DispatcherServletInstrumentation.java

Co-Authored-By: Trask Stalnaker <trask.stalnaker@gmail.com>
…opentelemetry/auto/instrumentation/springwebflux/client/TracingClientResponseSubscriber.java

Co-Authored-By: Trask Stalnaker <trask.stalnaker@gmail.com>
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

I think last 2

prydin and others added 2 commits January 22, 2020 15:53
…opentelemetry/auto/instrumentation/servlet2/Servlet2Advice.java

Co-Authored-By: Trask Stalnaker <trask.stalnaker@gmail.com>
…opentelemetry/auto/instrumentation/springwebflux/client/TracingClientResponseSubscriber.java

Co-Authored-By: Trask Stalnaker <trask.stalnaker@gmail.com>
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

Thanks for tackling this!

@trask trask merged commit b6b425c into open-telemetry:master Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The servlet instrumentation package needs refactoring spring-* instrumentation packages need refactoring
2 participants