Skip to content

Example REST web service implemented using Spring Boot 3 and which has Micrometer tracing.

License

Notifications You must be signed in to change notification settings

krizsan/springboot3-rest-example-micrometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST-Example - Spring Boot 3 version

Example RESTful web service implemented with Spring Boot 3 and regular (as opposed to reactive) REST controllers.

Start the application

In a development environment, the application can be started by launching the RestExampleApplication class.
Alternatively, the application can be started using Gradle:

gradle bootRun

Tracing

Micrometer with Zipkin exporter are used for tracing. When running the application in a development environment, a Zipkin server will be started in a Docker container - see the file compose.yml in the project root.
The following command will open the default browser and view the Zipkin web UI:

python3 -m webbrowser  http://localhost:9411

If Python or the webbrowser module is not available on your computer, copy-paste the URL into a web browser.

Test-requests

The file "Test Requests.http" in the project root contain a number of requests that can be used with the IntelliJ IDEA HTTP client to send requests to the application.

Articles

TBD

About

Example REST web service implemented using Spring Boot 3 and which has Micrometer tracing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages