Exploring Pivotal Cloud Foundry’s Apps Manager

Hi there! I’m Oded.
I work for VMware Tanzu as a Senior Lead Solutions Engineer, spreading the message of cloud native development, cloud native platforms on Kubernetes and app transformation.
I helped design large-scale, cloud-native solutions using the microservices architecture running on Pivotal Cloud Foundry and Kubernetes, using Spring Boot and Spring Cloud.
I’m highly skilled in Kubernetes, Java, Spring Boot, Spring Cloud, Apache Kafka, Event Sourcing and DevOps practices.
I enjoy photography, video editing, and the music of the King of Pop.
This is a quick followup on “Deploying Spring Boot App to Pivotal Cloud Foundry”, that is meant to briefly show the available insights you can get from your app inside apps manager.
Apps manager, among other things, lets you obtain deep information about your running application, such its health, the events that occured, metrics etc.
The main page shows you the last events that occurred in the system and the currently running instances. You can also enable autoscaling at the push of a toggle.
Autoscaling can be configured based on various attributes, from CPU utilization to network latency.

The Trace tab shows you the recent REST API calls made to your application:

The Threads tab provides visibility into all threads currently running in your JVM. You can also download a heap dump for offline investigation:

The Logs tab provides an aggregated view of all logs from all instances. You can also change the logging level per class/package at runtime without having to restart:

Clicking on PCF Metrics takes you to a full-blown monitoring dashboard where you can correlate system events along with the logs that happened at that time. Excellent for troubleshooting.

Good luck, and happy coding!
Oded Shopen





