Skip to content

Commit

Permalink
Rename spring example
Browse files Browse the repository at this point in the history
  • Loading branch information
psx95 committed Sep 11, 2024
1 parent 72be92b commit fce03dc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ 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

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.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.opentelemetry.example.spring;
package com.google.cloud.opentelemetry.example.springsleuth;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.opentelemetry.example.spring;
package com.google.cloud.opentelemetry.example.springsleuth;

import com.google.cloud.opentelemetry.trace.TraceExporter;
import io.opentelemetry.sdk.trace.export.SpanExporter;
Expand Down
6 changes: 3 additions & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fce03dc

Please sign in to comment.