Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 413 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 413 Bytes

trace-id-example

This is an example Spring Boot app using kotlin, configured with Spring Cloud Sleuth to annotate logs with trace IDs.

It exposes a GET /?name= endpoint producing logs and output with trace IDs set.

  • running the app locally: ./gradlew bootRun
  • pushing the app to cloud foundry: ./gradlew build && cf push trace-id-example-1 -p ./build/libs/trace-id-example-0.0.1-SNAPSHOT.jar -m 512M