Skip to content

Add support for Spring Scheduling#1192

Merged
heathkd merged 6 commits into
masterfrom
heather.dsouza/scheduling_annotation
Feb 18, 2020
Merged

Add support for Spring Scheduling#1192
heathkd merged 6 commits into
masterfrom
heather.dsouza/scheduling_annotation

Conversation

@heathkd
Copy link
Copy Markdown
Contributor

@heathkd heathkd commented Jan 27, 2020

These additions provide instrumentation for the Spring scheduling annotation. These changes will generate a trace for the annotated method.

@heathkd heathkd requested review from dougqh and tylerbenson January 27, 2020 22:07
@heathkd heathkd requested a review from a team as a code owner January 27, 2020 22:07
@tylerbenson tylerbenson changed the title Heather.dsouza/scheduling annotation Add support for Spring Scheduling Jan 27, 2020
Comment thread dd-java-agent/instrumentation/spring-scheduling/spring-scheduling.gradle Outdated
Comment thread dd-java-agent/instrumentation/spring-scheduling/spring-scheduling.gradle Outdated
Comment thread dd-java-agent/instrumentation/spring-scheduling/src/test/java/IntervalTask.java Outdated
Comment thread settings.gradle Outdated
@heathkd heathkd force-pushed the heather.dsouza/scheduling_annotation branch 3 times, most recently from 931ac63 to ffc57fb Compare February 3, 2020 21:46
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do you know why 3.2.4 is the earliest release this works with?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Right so after investigating a bit further I found out the following:

  • 3.1.0: works according to muzzle, but the Runnable is not wrapped and consequently the instrumentation is not applied
  • 3.1.1 - 3.2.3: did not work
  • 3.2.3: unit tests run, but some CI tests failed (from what I remember)

I retested 3.2.3 just now and it actually seems to be working, so I might try playing around with the version numbers again to confirm that 3.2.4 is the earliest working release.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Remove this.

@heathkd heathkd force-pushed the heather.dsouza/scheduling_annotation branch 3 times, most recently from fa38890 to ee31d33 Compare February 7, 2020 16:00
Copy link
Copy Markdown
Contributor

@tylerbenson tylerbenson left a comment

Choose a reason for hiding this comment

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

A few small changes then I think we're good. Consider squashing your commits before merging.

@heathkd heathkd requested a review from a team as a code owner February 14, 2020 18:46
@heathkd heathkd force-pushed the heather.dsouza/scheduling_annotation branch 2 times, most recently from 39dbee7 to 3de452b Compare February 15, 2020 00:53
@heathkd heathkd force-pushed the heather.dsouza/scheduling_annotation branch from 3de452b to 917deb1 Compare February 15, 2020 01:49
Copy link
Copy Markdown
Contributor

@tylerbenson tylerbenson left a comment

Choose a reason for hiding this comment

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

Nice job!

@heathkd heathkd merged commit a81f4dc into master Feb 18, 2020
@heathkd heathkd deleted the heather.dsouza/scheduling_annotation branch February 18, 2020 19:07
@randomanderson randomanderson added this to the 0.44.0 milestone Feb 26, 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.

3 participants