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

推荐订阅源

Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
H
Help Net Security
Last Week in AI
Last Week in AI
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
IT之家
IT之家
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
Jina AI
Jina AI
Google DeepMind News
Google DeepMind News
B
Blog
C
Check Point Blog
T
Tailwind CSS Blog
云风的 BLOG
云风的 BLOG
D
Docker
Recent Announcements
Recent Announcements
Vercel News
Vercel News
博客园 - 聂微东
阮一峰的网络日志
阮一峰的网络日志
MyScale Blog
MyScale Blog
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
雷峰网
雷峰网
人人都是产品经理
人人都是产品经理
月光博客
月光博客
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
B
Blog RSS Feed
The Register - Security
The Register - Security
V
Visual Studio Blog
F
Full Disclosure
Hugging Face - Blog
Hugging Face - Blog
T
Threat Research - Cisco Blogs
Latest news
Latest news
PCI Perspectives
PCI Perspectives
Cisco Talos Blog
Cisco Talos Blog
博客园 - Franky
D
DataBreaches.Net
A
Arctic Wolf
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
P
Palo Alto Networks Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
T
Tenable Blog
L
LINUX DO - 热门话题
Spread Privacy
Spread Privacy

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 Monitor Aruba Central in Datadog How we centralize and remediate risks with Datadog Case Management Accelerate incident response with Datadog and ServiceNow Monitor your application and network load balancer logs Understanding Karpenter architecture for Kubernetes autoscaling Tools for collecting metrics and logs from Karpenter Monitor Karpenter with Datadog What your product data is actually saying Key metrics for monitoring Karpenter Securing Datadog’s platform in the AI age: The role of observability data Four ways engineering teams use the Datadog MCP Server to power AI agents Approaching your observability migration with the right mindset Meet the new Bits AI SRE: Deeper reasoning, twice as fast Key learnings from the 2026 State of DevSecOps study Use plain English to query your multi-cloud infrastructure in Resource Catalog Simplifying troubleshooting across the user journey with Datadog Synthetic Monitoring Protect your OCI resources with Datadog Cloud Security This Month in Datadog - February 2026 Amazon EC2 security: How misconfigured and public AMIs expand your cloud attack surface Enable end-to-end visibility into your Java apps with a single command Measure and improve mobile app startup performance with Datadog RUM Evaluating our AI Guard application to improve quality and control cost Identify untested code across every level of your codebase Make use of guardrail metrics and stop babysitting your releases Monitor Versa Networks SD-WAN performance in Datadog Improve performance and reliability with APM Recommendations Remediate transitive vulnerabilities faster with Datadog Software Composition Analysis Generate audit-ready vulnerability and compliance reports with Datadog Sheets Monitor Fortinet FortiManager performance in Datadog Improve test coverage across codebases with Datadog Code Coverage Move fast, don’t break things: Consistent testing standards at scale Enrich logs with ServiceNow CMDB context before routing to any SIEM or logging tool Monitor Lustre with Datadog Make faster, better product decisions with Datadog Product Analytics Surface and remediate runtime posture issues with Workload Protection Findings Protect agentic AI applications with Datadog AI Guard How to optimize JavaScript code with CSS Trace Google Pub/Sub workloads in Cloud Run with Datadog Detect human names in logs with ML in Sensitive Data Scanner How we cut our NLQ agent debugging time from hours to minutes with LLM Observability Debug PostgreSQL query latency faster with EXPLAIN ANALYZE in Datadog Database Monitoring Datadog acquires Propolis Unify and correlate frontend and backend data with retention filters Scale compliance across global frameworks with Datadog Cloud Security Monitor Arista VeloCloud SD-WAN performance with Datadog Building reliable dashboard agents with Datadog LLM Observability Simplify log collection and aggregation for MSSPs with Datadog Observability Pipelines Mitigation for Node.js denial-of-service vulnerability affecting Datadog APM Automate flaky test fixes with the Bits AI Dev Agent and Test Optimization How we built an AI SRE agent that investigates like a team of engineers Datadog integrations 2025 recap: Observability for AI, security, and hybrid cloud Design effective executive dashboards with Datadog Implement dbt data quality checks with dbt-expectations Bring faster visibility into AWS Lambda functions with remote instrumentation Troubleshoot faster with the GitLab Source Code integration in Datadog How Cambia Health Solutions saved $30,000 monthly with Cloud Cost Management and the Datadog Resource Catalog Normalize any logs for Cloud SIEM with Datadog's OCSF processor Optimizing Datadog at scale: Cost-efficient observability at Zendesk Detect, diagnose, and resolve network issues easily with CNM Network Health Connect engineering errors to user impact in early-stage products Cilium configuration for Kubernetes operations at scale Designing feedback loops for progressive delivery Ship features faster and safer with Datadog Feature Flags Choosing the right OpenTelemetry Collector distribution Route your monitor alerts with Datadog monitor notification rules Automate Cloud SIEM investigations with Bits AI Security Analyst Cloud threat detection: How to identify risky activity across control and data planes Collecting Kafka performance metrics Monitoring Kafka with Datadog Monitoring Kafka performance metrics
How to collect Google Cloud Run metrics
2025-01-13 · via Datadog | The Monitor blog

In Part 1 of this series, we looked at key Cloud Run metrics you can monitor to ensure the reliability and performance of your serverless containerized workloads. We’ll now explore how you can access those metrics within Cloud Run and Google’s dedicated observability tool, Cloud Monitoring. We’ll also look at several ways you can view and explore logs and traces in the Cloud Run UI and Google Cloud CLI.

Monitored resources, labels, and metric types

Cloud Monitoring automatically collects metrics from different components of Google Cloud-hosted applications and services and separates them into monitored resource types. For example, Cloud SQL emits metrics to Cloud Monitoring from the SQL Database and SQL Database Instance monitored resource types.

Each resource type has a set of dimensions called labels that contextualize incoming metrics to help identify the services or jobs that need your attention. In Cloud Run, the two monitored resource types are Cloud Run Revision and Cloud Run Job. The Cloud Run Revision monitored resource includes the labels:

  • project_id
  • service_name
  • revision_name
  • location
  • configuration_name

And the Cloud Run Job monitored resource includes:

  • project_id
  • job_name
  • location

Labels facilitate troubleshooting by enabling you to see precisely where an issue is occurring to help identify root causes. With revision labels, for example, you can pinpoint exactly which revision and project is associated with an issue so that you can address and resolve problems, optimize performance, and, when needed, roll back to a revision that is running smoothly.

The next layer of monitoring telemetry Cloud Monitoring collects are metric types, which are data collected from monitored resources. Like monitored resources, some metric types include labels to help further classify and contextualize incoming telemetry. For example, the Cloud Run instance_count metric type includes a state label that can have a value of either active or idle. By using the state label, you can easily see a breakdown of container instances by state for a quick overview. See the documentation for a full list of Cloud Run metric types and their associated labels.

In the next section, we’ll look at how you can collect and visualize metric types for Cloud Run monitored resources.

Collect and visualize Cloud Run metric types

You can view Cloud Run metrics through the Cloud Run UI or within Google’s Cloud Monitoring service. Because Cloud Run is automatically integrated with Cloud Monitoring, no further setup or configuration is required to view metrics in Cloud Run. This means that viewing metrics via the Cloud Run UI is sufficient if you want to quickly see how your revisions and jobs are performing. For more in-depth, advanced filtering options such as custom metric analysis and historical data comparisons, Cloud Monitoring is a better fit.

To view metrics directly within the Cloud Run UI, simply navigate to Cloud Run, select a service in the service list, and click the Metrics tab.

Google Cloud Run UI

By default, the Cloud Run UI will show you metrics from that service that were received within the last 24 hours. You can view different time frames by clicking on any of the options (one hour, six hours, one day, seven days, or 30 days) available on the top left of the Cloud Run metrics dashboard.

The Cloud Run UI also enables you to view a detailed list of a service’s revisions so that you can track its history and get specific information such as resource limits and current allocation. It also allows you to manage how request traffic is routed across revisions and, if necessary, how to roll back to a previous revision. For instance, if a newly deployed revision experiences performance degradation, bugs, or other issues, you can use the revision list to roll back to a revision with better performance.

While this UI is ideal for quick adjustments and specifically monitoring Cloud Run, Google’s Cloud Monitoring tool provides more advanced options and enables you to view metrics from across several different Google tools.

For example, let’s say you manage a Cloud Run service that processes user-generated content and stores it in a Cloud SQL database. Users report delays during content submission, but the Cloud Run UI doesn’t reveal the issue. A custom dashboard in Cloud Monitoring can help uncover potential root causes by correlating metrics from both Cloud Run and Cloud SQL. For instance, it may show that while Cloud Run’s CPU and memory utilization are normal, request latency spikes align with surges in database query execution times and the number of active connections reaching their limit, revealing a database bottleneck causing delays and occasional request failures in Cloud Run. With this information, you optimize slow queries, increase database connection limits, and add caching to reduce database load. The custom dashboard not only helped resolve the issue but also became a proactive tool for monitoring both services to ensure seamless performance during peak traffic.

View logs

Cloud Run services and jobs emit logs containing details about request and responses, container startups and shutdowns, security alerts, and other important information you need to analyze and maintain the health and performance of your serverless applications.

In Cloud Run, there are two types of logs:

  • Request logs, which record information about requests being sent to your Cloud Run services
  • Container logs, which contain information about the status of the container instances that comprise your serverless application as it’s running

You can view logs within the Cloud Run UI by clicking on the specific service or job you are interested in, then clicking on the Logs tab.

Google Cloud Run logs

You can also view service logs via the Google Cloud CLI in the form of “tailing logs”, which present you with a near real-time feed of the most recent logs or “existing logs,” which provide you with a view of historical logs that have already been generated.

You can view trailing logs with the Google Cloud CLI using the following command:

gcloud beta run services logs tail SERVICE --project PROJECT-ID

And to view existing logs, you can use:

gcloud beta run services logs read SERVICE --limit=10 --project PROJECT-ID

View service request traces

You can get an even deeper look at your Cloud Run-hosted applications’ performance and identify bottlenecks by viewing traces of incoming service requests. Traces are visualized as spans that represent the time it takes for requests to complete different segments of their execution cycle, such as database queries and API calls.

To view a service’s traces within the Google Cloud console, copy the URL of the service (e.g., https://self-monitoring-instrumented-nodejs-1234567-ue.a.run.app). Then navigate to the Trace Overview page, click on the “Trace explorer,” and use the copied URL as your search parameter.

Google Cloud Run trace search

Traces will then appear as shown in the screenshot below.

collect-cloud-run-4

Monitor serverless containerized workloads with Datadog

In this post, we looked at how you can use Google Cloud’s native monitoring tools to collect metrics, traces, and logs to monitor the health and performance of your Cloud Run-hosted workloads. In Part 3 of this series, we’ll show how you can use Datadog’s Cloud Run integration to get full visibility into your serverless containerized workloads, so you can monitor the key metrics covered in Part 1 of this series in addition to traces and logs for added context when troubleshooting. We’ll also look at how Datadog enables you to collect and visualize Cloud Run monitoring data alongside telemetry from any other Google Cloud service you’re using with a single, unified platform.