Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to profile a Java application running in Cloud Run with JVisualVM and see thread state?

We are running a Spring application in Cloud Run and want to profile it and see thread usage like the figure below (from https://filia-aleks.medium.com/r2dbc-vs-jdbc-19ac3c99fafa😞

1_glGXvLfpwI16pIFkYe8yqA.png

How can this be done? Thanks!

0 2 477
2 REPLIES 2

Are you trying to obtain the connections rejected by the firewall? With the pictures, it's very difficult to determine what information is being displayed.  Could you elaborate on what you are trying to do?

Hi Andre,

Are you trying to obtain the connections rejected by the firewall?

No.

This is what I am trying to do with an application running on cloud run.