Skip to content

Demo app for beautrace-spring-servlet. Built on Kotlin/Gradle.

License

Notifications You must be signed in to change notification settings

beautrace/beautrace-spring-servlet-app

Repository files navigation

What is it?

Spring Boot app on Kotlin / Gradle 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

gradlew.bat bootRun

Linux, MacOS

Run

./gradlew bootRun

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 Kotlin/Gradle.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages