What you will learn in this hands-on session:
How to use a tool AppMap to record your runtime Spring Boot flows
-- helps in understanding architecture
-- helps in understand bottlenecks
-- debugging flows
-- execution time
How to visualize the generated recorded data
How to integrate directly in your build
Key Points Discussed
----------------
= Introduction to AppMap
AppMap is introduced as a tool that records and visualizes application behavior and test cases.
Demonstrates its integration with Spring Boot applications and IDEs like IntelliJ.
= Application Demonstration
Cloning and running the Spring Pet Clinic app using Maven tests.
AppMap records test executions and generates JSON data.
Displays sequence diagrams and dependency graphs to show test case details.
= Visualizing Application Insights
Sequence Diagrams: Show endpoint invocations and response data.
Trace Views: Provide detailed timelines of method calls.
Flame Graphs: Highlight performance bottlenecks by displaying method execution times.
= Live Application Recording
Demonstrates AppMap's ability to capture runtime data of a live application.
Records user interactions like adding or finding an owner in the app and generates comprehensive logs.
= Integration Options
AppMap can be used in CI/CD pipelines or locally via CLI.
Provides options for generating visual diagrams (e.g., sequence diagrams in PlantUML format).
Benefits for Teams and Debugging
Helps new team members understand application workflows quickly.
Aids debugging by identifying slow methods and tracing flow.
00:00 - Introduction
00:18- Demo of the AppMap tool to record JUnits runtime execution
01:39 - Visualisation of generated data (Sequence diagram, Trace, Flame, etc.)
05:44 - Record API flows in up and running application
10:00 - AppMap plugin
10:42 - Usage in build/pipeline without IDE
12:10 - Visualisation as plantuml
Note: This is not a paid demonstration. I find this tool useful and meaningful myself.
AppMap: https://appmap.io
AppMap Client: https://appmap.io/docs/reference/appm...
AppMap Offline: https://appmap.io/docs/reference/appm...
AppMap Maven Plugin: https://appmap.io/docs/reference/appm...
AppMap opensource release: https://github.com/getappmap/appmap-j...
Spring Boot Pet-clinic App: https://github.com/spring-projects/sp...