This page describes how to modify your application to capture profiling data and have that data sent to your Google Cloud project.
For a detailed overview, see Profiling concepts in the Cloud Profiler documentation.
You can capture profiling data for the following runtimes: