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

Dice app for java #2625

Merged
merged 18 commits into from
Apr 26, 2023
Merged

Dice app for java #2625

merged 18 commits into from
Apr 26, 2023

Conversation

svrnm
Copy link
Member

@svrnm svrnm commented Apr 24, 2023

Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: svrnm <neumanns@cisco.com>
@svrnm svrnm requested a review from a team as a code owner April 24, 2023 15:08
@svrnm svrnm requested a review from a team April 24, 2023 15:08
@svrnm svrnm requested a review from a team as a code owner April 24, 2023 15:08
Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: svrnm <neumanns@cisco.com>
Copy link
Member

@mateuszrzeszutek mateuszrzeszutek left a comment

Choose a reason for hiding this comment

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

I ran your example, and decided to fix a couple of things:

  • Used Kotlin instead of Groovy for Gradle scripts (Groovy is not exactly a great tool, especially for gradle scripts, and I feel bad about promoting it in our docs)
  • Removed log4j dependency, spring-starter-web already contains slf4j & logback
  • Simplified the dice calculation
  • Reformatted everything
  • Fixed the ourput jar path (gradle places built artifacts in build/libs/)

Overall, I think it's a great idea to have a self-contained example in our docs 👍

content/en/docs/instrumentation/java/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/java/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/java/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/java/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/java/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/java/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/java/getting-started.md Outdated Show resolved Hide resolved
content/en/docs/instrumentation/java/getting-started.md Outdated Show resolved Hide resolved
@svrnm
Copy link
Member Author

svrnm commented Apr 25, 2023

I ran your example, and decided to fix a couple of things:

  • Used Kotlin instead of Groovy for Gradle scripts (Groovy is not exactly a great tool, especially for gradle scripts, and I feel bad about promoting it in our docs)
  • Removed log4j dependency, spring-starter-web already contains slf4j & logback
  • Simplified the dice calculation
  • Reformatted everything
  • Fixed the ourput jar path (gradle places built artifacts in build/libs/)

Overall, I think it's a great idea to have a self-contained example in our docs 👍

wow, thank you!

svrnm and others added 8 commits April 25, 2023 09:05
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Copy link
Member

@mateuszrzeszutek mateuszrzeszutek left a comment

Choose a reason for hiding this comment

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

Thanks!

@cartermp cartermp merged commit d373aa8 into open-telemetry:main Apr 26, 2023
6 checks passed
@svrnm svrnm deleted the dice-app-for-java branch May 11, 2023 08:02
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.

None yet

3 participants