Datadog Synthetics is now available!

Google Cloud Run

Crawler Crawler

Overview

Cloud Run is a managed compute platform that enables you to run stateless containers that are invocable via HTTP requests.

Enable this integration to see all of your Cloud Run metrics, traces, and logs in Datadog.

Setup

Metric Collection

Installation

If you use the fully managed version of Cloud Run, just set up the Google Cloud Platform integration.

If you set up Cloud Run on GKE, deploy the Datadog Agent on your clusters with the Kubernetes DaemonSet setup after having enabled the Google Cloud Platform integration.

Note: When deploying the Datadog Agent DaemonSet, make sure hostNetwork: true is set within the pod specifications.

Log Collection

Google Cloud Run also exposes audit logs. You can send these logs into Datadog using Datadog’s Google Cloud Platform Logs integration, so you can monitor and analyze them alongside the logs from the rest of your Google Cloud services.

Datadog’s pre-built processing pipeline for Google Cloud Run automatically parses out important attributes from your logs, so you can search, filter, and group your logs by relevant data.

Data Collected

Metrics

gcp.run.request_count
(gauge)
The number of service requests.
shown as request
gcp.run.request_latencies.avg
(gauge)
Average distribution of service request times in milliseconds.
shown as millisecond
gcp.run.request_latencies.samplecount
(count)
Sample count of the distribution of service request times in milliseconds.
shown as millisecond
gcp.run.request_latencies.sumsqdev
(gauge)
Sum of squared deviation of the distribution of service request times in milliseconds.
shown as millisecond
gcp.run.container.memory.allocation_time
(gauge)
The total memory allocation of running container instances in Gigabytes-seconds. Measure usage only when the container image is actively processing requests.
gcp.run.container.cpu.allocation_time
(gauge)
The CPU allocated of the revision in seconds.
shown as second

Events

The Google Cloud Functions integration does not include any events.

Service Checks

The Google Cloud Functions integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.

Further Reading

Additional helpful documentation, links, and articles: