From 34a6e9ac869574c8a3906346521c9c00e98250bc Mon Sep 17 00:00:00 2001 From: shavidissa Date: Wed, 31 Jan 2024 12:40:38 -0800 Subject: [PATCH] add info on customers using micrometer-wavefront-tracing --- pages/doc/wavefront_spring_boot3.md | 89 ++++++++++++++++++++++++++++- 1 file changed, 86 insertions(+), 3 deletions(-) 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
  • - Initialize an Existing Project + Initialize an Existing Project (Freemium) +
  • +
  • + Initialize an Existing Project (Customer)
  • @@ -132,8 +135,8 @@ Initialize a new project using the Spring Initializer or add the required depend
    -
    -

    Follow these steps:

    +
    +

    Follow these steps if you don't have an Operations for Applications account and need to use the freemium account.

    1. Add the Wavefront dependency.
    +
    +

    Follow these steps if you already have an Operations for Applications account.

    +
      +
    1. + Import the Wavefront for Spring Boot Bill of Materials (BOM) to your project. + {{site.data.alerts.tip}} +

      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.

      + {{site.data.alerts.end}} + +
      +
      +
      +
      +<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"
      +  }
      +}
      +            
      +
      +
      +
    2. +
    3. + If you want to send trace data to our service using Micrometer Tracing, add the following dependencies. + +
      +
      +
      +<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'
      +}
      +              
      +
      +
      +
    4. +
    5. + You need to Specify the Operations for Applications instance, as explained in Step 2 below. Otherwise, you run into errors because the freemium account settings do not support the configurations in this section. +
    6. +
    +
    ### Step 2 (Optional): Specify Your Operations for Applications Instance