Configuring a GCM data source
Our last stop on our tour of cloud providers is GCP and its GCM service. We’ll go through the procedure to connect the GCM data source. The process for connecting a local data source with GCM involves only a few steps:
- Enable the relevant monitoring APIs.
- Create a service account with appropriate permissions.
- Generate a JSON Web Token (JWT).
- Load the JWT into the GCM data source configuration.
To get started, log in to your Google Cloud console and select the appropriate project. It is in this project that we’ll define our service account. This will be the only one our data source can access. You will need to create a separate data source for each GCP project you want to monitor.
Enabling a Google Cloud API
After selecting your project, use the left-hand menu to navigate to APIs & Services. Then, follow these steps:
- Select + Enable APIs and Services.
- Use the search box to locate Stackdriver...