diff --git a/pages/doc/wavefront_spring_boot3.md b/pages/doc/wavefront_spring_boot3.md index 1032c7d3e..3a5639a95 100644 --- a/pages/doc/wavefront_spring_boot3.md +++ b/pages/doc/wavefront_spring_boot3.md @@ -93,7 +93,10 @@ Initialize a new project using the Spring Initializer or add the required depend Initialize a New Project
Follow these steps:
+Follow these steps if you don't have an Operations for Applications account and need to use the freemium account.
Follow these steps if you already have an Operations for Applications account.
+The Wavefront for Spring Boot dependency needs to be compatible with the Spring Boot release version. Therefore, replace $releaseVersion
with the correct dependency version. See System Requirements to get the correct dependency version.
+ +<dependencyManagement> + <dependencies> + ..... + <dependency> + <groupId>com.wavefront</groupId> + <artifactId>wavefront-spring-boot-bom</artifactId> + <version>$releaseVersion</version> + <type>pom</type> + <scope>import</scope> + </dependency> + ..... + </dependencies> +</dependencyManagement> ++
+dependencyManagement { + imports { + mavenBom "com.wavefront:wavefront-spring-boot-bom:$releaseVersion" + } +} ++
+<dependency> + <groupId>io.micrometer</groupId> + <artifactId>micrometer-tracing-bridge-brave</artifactId> +</dependency> +<dependency> + <groupId>io.micrometer</groupId> + <artifactId>micrometer-tracing-reporter-wavefront</artifactId> + <scope>runtime</scope> +</dependency> ++
+dependencies { + ... + implementation 'io.micrometer:micrometer-tracing-bridge-brave' + runtimeOnly 'io.micrometer:micrometer-tracing-reporter-wavefront' +} ++