Exploring Pivotal Cloud Foundry’s Apps Manager

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

Like what you read? Give Oded Shopen a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.