Google Cloud Objectives
Google Cloud Platform offers a large variety of services that Reliably can help you understand better through ready to use objectives.
Prerequisites
- The
reliably
CLI installed and authenticated against Reliably - A Google service account or SDK access credentials, see here
Note: The environment variable GOOGLE_APPLICATION_CREDENTIALS
is explicitly required
The service account must have the following roles:
roles/browser
to list Cloud Run and Cloud Functions by thepopulate
commandroles/run.viewer
to access the Cloud Run services by thepopulate
commandroles/cloudfunctions.viewer
to access the Cloud functions by thepopulate
commandroles/monitoring.viewer
to read metrics for these services by theagent
command
Populate Reliably with Google Cloud Objectives
Creating objectives targetting your Google Cloud platform, run the following command:
$ reliably populate gcp
Objectives created by Reliably
Resource | Objective Name | Target | Period | Description |
---|---|---|---|---|
Cloudfunctions | 95% - Percentage of request executed in under 500ms | 95% | 24h | Measures the effectiveness of a Cloudfunction by calculating the number of requests executed within the default target (500ms) and window (24 hours). |
Cloudrun | 95% - Percentage of requests with latency below 300ms | 95% | 24h | Identifies the latency of a given Cloudrun resource by analysing the relative Google Cloud Metric. The Objective expects 95% of requests to be executed with latency less than 300ms. |