Deploy the Dynatrace GCP metric integration using a Google Cloud Function (legacy)
This page describes how to install Google Cloud Function version 0.1, which is scheduled for deprecation.
- If you are making a fresh installation, you should deploy Google Cloud Function version 1.0.
- If you already have version 0.1 of the Google Cloud Function installed, you should migrate to Google Cloud Function version 1.0.
Install
To set up the Dynatrace integration as a Google Cloud Function, follow the instructions below.
After deploying the integration, you can see metrics from monitored services. If you want to add services to monitoring, see Expand monitoring below.
Verify installation
To check whether installation was successful
- In your Google Cloud console, go to Cloud Functions and make sure that
dynatrace-gcp-monitor
is there. - Select the newly deployed function and go to Logs to make sure there are no error messages.
Expand monitoring
There are two ways to add services to Dynatrace monitoring when using a Google Cloud Function: via the service configuration file or using the GCP console. See below for instructions.