Skip to content

beautrace/beautrace-spring-servlet-app-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

Spring Boot app on Java / Maven to showcase Beautrace library. It traces execution of methods per each Spring Servlet's HTTP request.

Check the library docs here: https://github.com/beautrace/beautrace-spring-servlet

Quickstart

Windows

Run

mvnw.cmd spring-boot:run

Linux, MacOS

Run

./mvnw spring-boot:run

Make the app handle some HTTP requests:

Take a look at method traces

The output file is stored in your home directory.

On Linux, MacOS the path to file is ~/beautrace.json.

File contents look like the following:

...
{"request":"GET /api/exception?argOne=1234&argTwo=wow%20string","methodCalls":[...]}
{"request":"GET /api/exception?argOne=1234&argTwo=wow%20string","methodCalls":[...]}
...

Each line represents tracing for a different request. Each line is a json object. You can now pick your favorite json parser and explore tracing for a request of your interest.

Explore library docs for more

Here: https://github.com/beautrace/beautrace-spring-servlet

About

Demo app for beautrace-spring-servlet. Built on Java/Maven.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages