First, set up the Google Cloud Integration to collect metrics and logs from Google Cloud services. Remember to add the cloud asset viewer role to your service account and enable the Cloud Asset Inventory API in Google Cloud.

Then, instrument your application using one of the following guides:

Python
Node.js
go
Java
.NET
Ruby
PHP