Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename spring example #367

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading