Go to
Settings > Collect and capture > Cloud and virtualization > Google Cloud to manage your connections.
To change metrics, filters, enrichment rules, or the monitored scope:
Changes to Dynatrace-side settings take effect immediately. Some changes also require updates to your Google Cloud resources—see the sections below.
To add projects, folders, or organizations to an existing connection:
roles/browser at folder level is required for folder filtering. Granting it only at project level is not sufficient.
Log forwarding requires Google Cloud infrastructure (Cloud Logging sink, Pub/Sub, Dataflow job) that is not deployed automatically when you toggle the setting.
logs_enabled = true in terraform.tfvars and re-apply—see Via Terraform.The asset inventory feed requires Google Cloud infrastructure (Cloud Asset feed, Pub/Sub topic and subscription) that must be deployed separately.
asset_feed_enabled = true in terraform.tfvars and re-apply—see Via Terraform.If your Log Ingest token has expired or been revoked:
data-acquisition:logs:ingest scope.Temporarily disable a connection to stop data collection without deleting it.
When a connection is disabled:
To resume monitoring, select Enable from the same menu.
Use
Extensions to install a newer version of the GCP monitoring extension and manage individual monitoring configurations.
Install a newer extension version
Extensions > Discover.Monitoring configurations are version-pinned—installing a newer version does not automatically migrate existing configurations. After installing, migrate the configurations in one of these ways:
Extensions, select Upgrade all configurations.If you created the connection with the Terraform bundle, don't delete it here. Run terraform destroy instead—it removes the connection, the monitoring configuration, and the Google Cloud resources that Terraform created together. See Via Terraform. Deleting a Terraform-managed connection in the Settings app leaves Terraform's state inconsistent.
For connections you created in the Settings app or with dtctl, delete the Dynatrace connection before removing Google Cloud resources. Deleting GCP resources first causes authentication failures and makes it harder to track what remains to clean up.
Deleting a connection in Dynatrace doesn't remove anything in Google Cloud. You must also delete the Google Cloud resources that were created for the connection. Deleting them is your responsibility.
When a connection is deleted:
To clean up Google Cloud resources:
terraform destroy. It removes the resources that Terraform created. Adapt the cleanup to your own changes, because Terraform doesn't know about resources you added or changed yourself, such as log sinks. See Via Terraform.