Open
Description
What needs to be changed? Describe the update that is required.
When trying to quickly walk through the Java manual instrumentation doc here, I found a series of issues even I haven't completely walked it through yet:
- Since it's with Spring Boot 3.x, we should explicitly mention that JDK v17 is the minimum version required. I'd highly suggest to have a dedicated "prerequisites" section so that the reader knows what must be ready before walking through the tutorial.
- The example dice app uses
mavenCentral()
, and definesio.opentelemetry:opentelemetry-semconv:1.34.1-alpha
as one of the dependencies, but actually the latest version in Maven Central of that lib is1.30.1-alpha
. Luckily, if we follow carefully we'd realize that it's just some typo thingy as the later section will use the right libs. - Quite some small code errors like the ";" is missing.
- The later part of the tutorial is talking something completely different without properly using the example dice app -- if the example app is not good, build another one so the tutorial sticks to it throughout the process.
In short, if it's a reference doc, focus on the capabilities / features and how to use them; if it's a tutorial with a given example, the example must be suitable to demonstrate most, if not all capabilities / features, and then make it a complete workable project.