diff --git a/examples/spring/README.md b/examples/spring-sleuth/README.md similarity index 92% rename from examples/spring/README.md rename to examples/spring-sleuth/README.md index a2ead167..e2532946 100644 --- a/examples/spring/README.md +++ b/examples/spring-sleuth/README.md @@ -27,7 +27,7 @@ You can run the example application via gradle. From the project root: ##### Build the executable JAR ```shell -cd examples/spring/ && gradle bootJar +cd examples/spring-sleuth/ && gradle bootJar ``` ##### Run the executable JAR @@ -35,7 +35,7 @@ cd examples/spring/ && gradle bootJar The JAR built from the previous command typically ends up in `build/libs` - ```shell -java -jar build/libs/examples-spring-0.1.0-SNAPSHOT.jar +java -jar build/libs/examples-spring-sleuth-0.1.0-SNAPSHOT.jar ``` The application is now running. To generate traces, head to `http://localhost:8080` in your browser. diff --git a/examples/spring/build.gradle b/examples/spring-sleuth/build.gradle similarity index 100% rename from examples/spring/build.gradle rename to examples/spring-sleuth/build.gradle diff --git a/examples/spring/src/main/java/com/google/cloud/opentelemetry/example/spring/GreetingClient.java b/examples/spring-sleuth/src/main/java/com/google/cloud/opentelemetry/example/spring/GreetingClient.java similarity index 100% rename from examples/spring/src/main/java/com/google/cloud/opentelemetry/example/spring/GreetingClient.java rename to examples/spring-sleuth/src/main/java/com/google/cloud/opentelemetry/example/spring/GreetingClient.java diff --git a/examples/spring/src/main/java/com/google/cloud/opentelemetry/example/spring/Main.java b/examples/spring-sleuth/src/main/java/com/google/cloud/opentelemetry/example/spring/Main.java similarity index 100% rename from examples/spring/src/main/java/com/google/cloud/opentelemetry/example/spring/Main.java rename to examples/spring-sleuth/src/main/java/com/google/cloud/opentelemetry/example/spring/Main.java diff --git a/examples/spring/src/main/resources/application.properties b/examples/spring-sleuth/src/main/resources/application.properties similarity index 100% rename from examples/spring/src/main/resources/application.properties rename to examples/spring-sleuth/src/main/resources/application.properties diff --git a/settings.gradle b/settings.gradle index 36ce4aee..e76ebaeb 100644 --- a/settings.gradle +++ b/settings.gradle @@ -37,7 +37,7 @@ include ":examples-resource" include ":detector-resources" include ":detector-resources-support" include ":e2e-test-server" -include ":examples-spring" +include ":examples-spring-sleuth" include ":propagators-gcp" include ":shared-resourcemapping" @@ -71,8 +71,8 @@ project(':examples-resource').projectDir = project(':e2e-test-server').projectDir = "$rootDir/e2e-test-server" as File -project(':examples-spring').projectDir = - "$rootDir/examples/spring" as File +project(':examples-spring-sleuth').projectDir = + "$rootDir/examples/spring-sleuth" as File project(':examples-autoinstrument').projectDir = "$rootDir/examples/autoinstrument" as File