Migrate to GCP integration version 1.0
Dynatrace version 1.230+
- Google Compute Engine
- Google Cloud Storage
- Google Cloud Functions
- Google Cloud Run
- Google App Engine
- Google Cloud Tasks
- Google Cloud SQL
- Google Cloud Datastore
- Google Load Balancing
- Google Cloud NAT Gateway
- Google Filestore
- Google Kubernetes Engine
- Google Pub/Sub
- Google Pub/Sub Lite
- Google Memorystore
- Google Spanner
Note that your existing metric dimension names will change when you switch to GCP integration using Dynatrace Extensions 2.0. Dimension name changes affect all configured managements zones, custom alerts, and custom dashboards in your environment. To restore proper functionality for these entities, please follow the instructions below.
dynatrace-gcp-monitor installations from earlier versions is not supported. You need to first delete your existing deployment and then install the GCP integration v.1.0. For instructions, see below.
Delete existing deployment
Find out what release version you're using.plaintext
helm ls -n dynatrace
Uninstall the release.
Be sure to replace
<release-name>with the release name from the previous output.plaintext
helm uninstall <release-name> -n dynatrace
- Uninstall the release.
wget https://raw.githubusercontent.com/dynatrace-oss/dynatrace-gcp-monitor/master/scripts/uninstall.sh -O uninstall.sh ; chmod a+x uninstall.sh ; ./uninstall.sh
- Remove the
activation-config.yamlservice configuration file.
Remove dashboards and/or alerts
You need to manually remove any dashboards or alerts created manually during the previous installation.
Install new GCP deployment
To install the new GCP deployment, see Set up the Dynatrace GCP metric and log integration (v.1.0) on a new GKE Autopilot cluster.
If you created your own dashboards, alerts, or management zones based on GCP metrics, you need to manually update the dimensions according to the list below in order to get links for entities.
|Old dimension name||New dimension name|
- To update dimensions for dashboards
- In the Dynatrace menu, go to Dashboards.
- Select the dashboard for which you want to update dimensions, and then select More (…) > Configure.
- Select Dashboard JSON.
- In the
"splitBy"section, replace the old dimensions with the new values as determined from the list of dimension changes.
- Select Save changes.
Alternatively, you can replace the dimensions by configuring each dashboard tile of a selected dashboard in Data explorer.
To update dimensions for alerts
- In the Dynatrace menu, go to Settings.
- In Anomaly detection, select Metric events.
- Select the event for which you want to update dimensions.
- In the Add dimension filter field, select the new dimension keys and enter the corresponding dimension values as determined from the list of dimension changes.
- Select Save changes.
To update dimensions for management zones