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

Issue #3455: ability to customize micrometer observation #3456

Merged
merged 5 commits into from
Jul 5, 2023

Conversation

nvervelle
Copy link
Contributor

PR to show possible implementation for #3455

@nvervelle nvervelle requested a review from a team as a code owner May 9, 2023 19:21
@pivotal-cla
Copy link

@nvervelle Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

1 similar comment
@pivotal-cla
Copy link

@nvervelle Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@nvervelle Thank you for signing the Contributor License Agreement!

@chemicL
Copy link
Member

chemicL commented Jun 20, 2023

@nvervelle can you please add some tests depicting the intended usage and enrich the documentation around https://projectreactor.io/docs/core/release/reference/#_observation and https://projectreactor.io/docs/core/release/reference/#micrometer-details-observation to reflect the possibilities this creates? Thanks!

@nvervelle nvervelle force-pushed the issue-3455-customize-observation branch from b843946 to 51886f8 Compare June 26, 2023 10:52
@nvervelle
Copy link
Contributor Author

Hi @chemicL , I've added documentation and test about this feature. I hope it's ok

Copy link
Member

@chemicL chemicL 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 adding the test and documenting the feature. Some minor comments and good from my side :)

@OlegDokuka OlegDokuka added the type/enhancement A general enhancement label Jun 30, 2023
@OlegDokuka OlegDokuka added this to the 3.5.8 milestone Jun 30, 2023
@nvervelle
Copy link
Contributor Author

nvervelle commented Jul 3, 2023

@OlegDokuka and @chemicL : I tried reproducing locally the problems in the checks, and I didn't succeed to properly run them.

I'm using a JDK 17, so I had to disable a few tasks like blockHoundTest because each test is failing with a java.lang.NoClassDefFoundError: Could not initialize class reactor.core.scheduler.ReactorBlockHoundIntegrationTest or other error message.

And when I switched back to a JDK 8, ./gradlew :reactor-core:blockHoundTest gives no error.

Any advice on how to proceed ?

@chemicL
Copy link
Member

chemicL commented Jul 4, 2023

@OlegDokuka and @chemicL : I tried reproducing locally the problems in the checks, and I didn't succeed to properly run them.

I'm not sure what exact problems there were, but it's fair to say we still have a few flaky tests. Last week @OlegDokuka reported them as issues, some are being fixed in other PRs. Don't worry about them, the last re-run passed fine and the functionality you introduced is well-behaved :)

@chemicL
Copy link
Member

chemicL commented Jul 5, 2023

@nvervelle thanks for all the work you put into this so far! I was about to merge it, but I have one last request for you. This week we created 3.5.x branch, which was the previous main. Current main became the 3.6.0 Milestone branch. Please sync your fork with upstream and rebase this branch onto 3.5.x:

git rebase --onto 3.5.x main issue-3455-customize-observation

@nvervelle nvervelle force-pushed the issue-3455-customize-observation branch from ab81da6 to 08e593d Compare July 5, 2023 09:18
@nvervelle nvervelle changed the base branch from main to 3.5.x July 5, 2023 09:19
@nvervelle
Copy link
Contributor Author

Please sync your fork with upstream and rebase this branch onto 3.5.x:

Hi @chemicL , this should be done, this PR is now targeting branch 3.5.x

@chemicL chemicL merged commit 7d27788 into reactor:3.5.x Jul 5, 2023
5 checks passed
@reactorbot
Copy link

@chemicL this PR seems to have been merged on a maintenance branch, please ensure the change is merge-forwarded to intermediate maintenance branches and up to main 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants