惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
aimingoo的专栏
aimingoo的专栏
腾讯CDC
WordPress大学
WordPress大学
Apple Machine Learning Research
Apple Machine Learning Research
F
Fortinet All Blogs
G
Google Developers Blog
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
小众软件
小众软件
Engineering at Meta
Engineering at Meta
博客园_首页
B
Blog RSS Feed
D
Docker
M
MIT News - Artificial intelligence
爱范儿
爱范儿
I
InfoQ

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Instrument Google Cloud Run applications with the new Dat...
2025-02-24 · via Datadog | The Monitor blog

Google Cloud Run is a fully managed service that allows you to deploy, manage, and scale workloads on serverless containers. Because Cloud Run abstracts away infrastructure management and runs on complex, distributed backends, it can be difficult to troubleshoot. Datadog’s integrations with Google Cloud and Google Cloud Run address that challenge by collecting and visualizing key metrics and logs. And you can gain even further visibility into Cloud Run workloads by instrumenting your application with the Datadog Agent sidecar. Typically, instrumentation requires multiple steps and code changes, which can take focus away from the critical work of core application development. The sidecar enables you to instrument your application and set up Datadog monitoring directly from the Cloud Run UI, removing the need to reduce your code directly.

When applications are instrumented, the Datadog Agent sidecar container will run alongside your Cloud Run functions as it collects critical monitoring data such as request traces, logs, and custom metrics—all viewable within Datadog Serverless Monitoring.

In this post, we’ll look at how you can easily set up the sidecar and how it provides real-time insights into the health and performance of your serverless containerized workloads.

Set up the sidecar directly in Google Cloud

As shown in the diagram below, when you’ve set up the sidecar, it will run alongside your main application container and forward custom metrics, traces, and logs to Datadog. This approach simplifies integration, reduces setup and configuration time, and avoids the risks (such as faulty configurations and code-breaking changes) that are associated with manual instrumentation.

Diagram that shows how the sidecar container forwards metrics, logs, and traces to Datadog.

To set up the sidecar from the Cloud Run UI, select a service to instrument and choose “Edit & Deploy New Revision” at the top of your service’s page, then add a container with the image URL gcr.io/datadoghq/serverless-init:latest. You can also set up and manage instrumentation by using YAML and Terraform.

Collect and visualize Cloud Run custom metrics, traces, and logs

After your application is instrumented, you can visualize your Cloud Run telemetry with the Datadog Serverless view as part of a seamless integration. This will allow you to investigate request traces, logs, and custom metrics to understand how your serverless containerized workloads are performing, troubleshoot issues, and identify bottlenecks—all within a single view. For example, if you see that a Cloud Run service is marked as having a high error rate or is experiencing cold starts, selecting that service will pivot you directly to associated traces and logs to help you uncover potential root causes.

Side panel that shows traces and logs for a service.

In addition to traces and logs, the sidecar enables you to collect and visualize custom metrics so that you can monitor KPIs specific to your business. This means that you can track the success rate of user transactions and the number of orders processed per minute in an e-commerce app and visualize them on a dashboard alongside telemetry from the rest of your stack.

Quickly instrument your Google Cloud Run services today

The new Datadog Agent sidecar makes it easier for you to get deep, actionable insights into your Cloud Run workloads. After setup, the sidecar will collect Cloud Run telemetry data and send it directly to Datadog, providing you with a seamless, centralized monitoring experience.

If you aren’t already using Datadog, sign up today for a 14-day free trial.