Cloud Run is a managed compute platform that enables you to run stateless containers that are invocable using web requests or Pub/Sub events. Cloud Run is serverless.
To set up the Google integration to discover and collect metrics against the Google service.
Setup
To set up the Google integration and discover the Google service, go to Google Integration Discovery Profile and select Cloud Run Services.
Supported metrics
| New OpsRamp Metric | Google Metric | Metric Display Name | Unit | Description |
|---|---|---|---|---|
| google_run_container_completed_probe_attempt_count | run.googleapis.com/container/completed_probe_attempt_count | Completed Health Check Probe Attempt Count | count | Number of completed health check probe attempts and their results. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_container_completed_probe_count | run.googleapis.com/container/completed_probe_count | Completed Health Check Probe Count | count | Number of completed health check probes and their results. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_container_instance_count | run.googleapis.com/container/instance_count | Instance Count | count | Number of container instances that exist, broken down by state. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_container_instance_count_with_readiness | run.googleapis.com/container/instance_count_with_readiness | Instance Count with Readiness | count | The number of instances broken down by readiness probe status. The readiness status can be one of "UNKNOWN", "HEALTHY" and "UNHEALTHY". Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_container_max_request_concurrencies | run.googleapis.com/container/max_request_concurrencies | Max Concurrent Requests | count | Distribution of the maximum number of concurrent requests being served by each container instance over a minute. Filter by 'state' = 'active' only get the concurrency of active container instances. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_container_probe_attempt_latencies | run.googleapis.com/container/probe_attempt_latencies | Health Check Probe Attempt Latency | ms | Distribution of time spent running a single probe attempt before success or failure in milliseconds. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_container_probe_latencies | run.googleapis.com/container/probe_latencies | Health Check Probe Latency | ms | Distribution of time spent running a probe before success or failure in milliseconds. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_infrastructure_cloudsql_connection_latencies | run.googleapis.com/infrastructure/cloudsql/connection_latencies | CloudSQL connection latency | unit | Distribution of latency in microseconds for connections originating from Cloud Run to CloudSQL. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_infrastructure_cloudsql_connection_refused_count | run.googleapis.com/infrastructure/cloudsql/connection_refused_count | CloudSQL connection refused count | count | Total number of connections refused originating from Cloud Run to CloudSQL. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_infrastructure_cloudsql_connection_request_count | run.googleapis.com/infrastructure/cloudsql/connection_request_count | CloudSQL connection request count | count | Total number of connection requests originating from Cloud Run to CloudSQL. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_infrastructure_cloudsql_received_bytes_count | run.googleapis.com/infrastructure/cloudsql/received_bytes_count | CloudSQL bytes received | bytes | Number of bytes received by Cloud Run from CloudSQL over the network. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_infrastructure_cloudsql_sent_bytes_count | run.googleapis.com/infrastructure/cloudsql/sent_bytes_count | CloudSQL bytes sent | bytes | Number of bytes sent by Cloud Run to CloudSQL over the network. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_request_count | run.googleapis.com/request_count | Request Count | count | Number of requests reaching the revision. Excludes requests that are not reaching your container instances (for example, unauthorized requests or when maximum number of instances is reached). Captured at the end of the request lifecycle. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_request_latencies | run.googleapis.com/request_latencies | Request Latency | ms | Distribution of request latency in milliseconds reaching the revision. Latency is measured from when the request reaches the running container to when it exits. Notably, it does not include container startup latency. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_request_latency_e2e_latencies | run.googleapis.com/request_latency/e2e_latencies | End to End Request Latency | ms | Distribution of request latencies in milliseconds measured from when the request enters Google Cloud's network to when Cloud Run sends the response. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_request_latency_ingress_to_region | run.googleapis.com/request_latency/ingress_to_region | Ingress to Region Request Latency | ms | Distribution of request latencies in milliseconds measured from when the request enters Google Cloud's network to when the request reaches the cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_request_latency_pending | run.googleapis.com/request_latency/pending | Pending Request Latency | ms | Distribution of request latencies in milliseconds measured from when the request reaches Cloud Run to when the request is sent to an instance. Includes time spent waiting for a slot on an existing instance, or for a new instance to start (startup latency). Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_request_latency_response_egress | run.googleapis.com/request_latency/response_egress | Response Egress Request Latency | ms | Distribution of response latencies in milliseconds measured from when the container finished processing the request to when Cloud Run sends the response. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_request_latency_routing | run.googleapis.com/request_latency/routing | Routing Request Latency | ms | Distribution of request latencies in milliseconds measured from when the request reaches the cloud region to when the request reaches Cloud Run. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_request_latency_user_execution | run.googleapis.com/request_latency/user_execution | User Execution Request Latency | ms | Distribution of request latencies in milliseconds measured from when the request reaches a running instance to when it exits. Only includes time spent in user container. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_scaling_recommended_instances | run.googleapis.com/scaling/recommended_instances | Recommended Instances | count | Recommended number of instances per scaling driver. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
| google_run_service_health_count | run.googleapis.com/service_health_count | Service Health Count | count | The number of services in each Service Health status, based on their readiness probe results. The service health status can be one of "UNKNOWN", "HEALTHY" and "UNHEALTHY". Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds. |
Event support
- Supported
- Configurable in OpsRamp Google Integration Discovery Profile.