Migrate to GCP integration version 1.0
Dynatrace version 1.230+
The new version of the GCP integration (v.1.0) uses Extensions 2.0 and introduces custom topology for a number of GCP services.
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.
Upgrading existing 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
Remove dashboards and/or alerts
Install new GCP deployment
Update dimensions
Delete existing deployment
-
Find out what release version you're using.
helm ls -n dynatrace
-
Uninstall the release.
Be sure to replace
<release-name>
with the release name from the previous output.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.yaml
service 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.
Update dimensions
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.
- 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
- In the Dynatrace menu, go to Settings.
- In Preferences, select Management zones.
- Select Edit for the management zone for which you want to update dimensions.
- Select Edit to edit an existing rule.
- In Conditions, edit the
DIMENSION
value according to the List of dimension changes. - Select Save changes.