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

推荐订阅源

IT之家
IT之家
C
CXSECURITY Database RSS Feed - CXSecurity.com
V
Visual Studio Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
小众软件
小众软件
L
LangChain Blog
Cyberwarzone
Cyberwarzone
美团技术团队
The Register - Security
The Register - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tor Project blog
V
V2EX
Security Archives - TechRepublic
Security Archives - TechRepublic
Hacker News: Ask HN
Hacker News: Ask HN
L
LINUX DO - 最新话题
Recent Announcements
Recent Announcements
H
Hackread – Cybersecurity News, Data Breaches, AI and More
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
aimingoo的专栏
aimingoo的专栏
人人都是产品经理
人人都是产品经理
F
Full Disclosure
V2EX - 技术
V2EX - 技术
The Cloudflare Blog
博客园 - 叶小钗
T
Threat Research - Cisco Blogs
阮一峰的网络日志
阮一峰的网络日志
G
GRAHAM CLULEY
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Latest news
Latest news
S
Security @ Cisco Blogs
Spread Privacy
Spread Privacy
Project Zero
Project Zero
K
Kaspersky official blog
MyScale Blog
MyScale Blog
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
博客园 - 【当耐特】
Hacker News - Newest:
Hacker News - Newest: "LLM"
大猫的无限游戏
大猫的无限游戏
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
C
Cybersecurity and Infrastructure Security Agency CISA
Webroot Blog
Webroot Blog
罗磊的独立博客
Vercel News
Vercel News
N
News and Events Feed by Topic
A
Arctic Wolf
C
CERT Recently Published Vulnerability Notes

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
Seamlessly correlate DBM and APM telemetry to understand end-to-end query performance
Jason Manson-Hing, Meaghan Vella · 2023-09-20 · via Datadog | The Monitor blog

When the services in your distributed application interact with a database, you need telemetry that gives you end-to-end visibility into query performance to troubleshoot application issues. But often there are obstacles: application developers don’t have visibility into the database or its infrastructure, and database administrators (DBAs) can’t attribute the database load to specific services.

Now you can seamlessly link telemetry data from Database Monitoring (DBM) and Application Performance Monitoring (APM) to increase visibility and streamline troubleshooting. Application developers can easily gain key insight into database performance without needing direct access to the database. And DBAs can understand how request traffic from specific services affects the database load and which services might experience latency due to database performance issues.

In this post, we’ll show you how you can use DBM and APM together to quickly troubleshoot your applications and the databases that back them. We’ll explain how to:

- See database telemetry in your traces - Correlate service performance with the health of your database infrastructure - View APM data from each database’s calling services

The Database List shows active connections by calling service and a link to query samples.
The Database List shows active connections by calling service and a link to query samples.

Gain insight into your database queries from within APM

APM’s trace view shows you the calls your application makes to all of the distributed services involved in fulfilling a request, including databases. The flame graph visualizes these calls and shows you the relative duration of each one, so you can easily identify a slow query that affects your application’s performance. The SQL Queries tab displays the text of the query, and timeseries graphs show you the database’s request, error, and duration (RED) metrics and pinpoint the time the query was executed.

Once you’ve linked DBM with APM, the trace view also shows each query’s explain plan, as illustrated below. The plan shows how the database executed the query and quantifies how efficient it was, displaying that value as the query’s Plan Cost and attributing a percentage of the cost to each step in the query execution. In this case, the database performed a sequential scan on the UserTeams table.

The SQL Queries tab in the trace view shows RED metrics and the query’s text, explain plan, cost, and execution time.
The SQL Queries tab in the trace view shows RED metrics and the query’s text, explain plan, cost, and execution time.

Typically, an application developer whould have to request this information from a DBA, who would have to log into a database node and run a query. But now that this is visible in the trace view, application developers can easily see that the query came with a high cost (12,100) and high latency (2.15 seconds). They can click the View Query in Database Monitoring link to pivot to DBM and search for related performance issues by investigating blocking queries and wait events. With a clear explanation of the error and insight into the performance of the database, developers can easily collaborate with DBAs to mitigate the issue.

Correlate service performance with downstream database infrastructure

The APM Service Page gives you a valuable starting point for troubleshooting issues in your service. A key factor in a service’s performance is its downstream database—and the infrastructure that runs that database. When you connect DBM and APM, the Databases tab—shown in the screenshot below—surfaces key insights into your database hosts, including the status of their monitors, query rate, connections, and wait events.

The Service Page’s databases tab lists four hosts running databases that the orders-app application calls.
The Service Page’s databases tab lists four hosts running databases that the orders-app application calls.

Now, application developers can see database infrastructure data without leaving the Service Page. They can quickly see when a database host has encountered an issue—for example, high load leading to resource contention and a change in the overall query performance profile seen in the wait events—that could cause their service’s performance to degrade. Instead of searching for a root cause in the application code, developers can now pass this information to DBAs who can mitigate the issue by scaling up other database hosts or adding hosts to the fleet.

View APM data to gain context around database performance

DBM shows you key information about database load, activity, and performance—including blocking queries and wait events—to help you troubleshoot issues and ensure the overall health of your database. And once you link DBM with APM, you’ll see where each query came from—the calling service that sent the request—plus that service’s request rate, error rate, and latency. This makes it easy to correlate database query metrics with service activity and helps DBAs attribute potential sources of database load so that they can understand how your database is affected by the services that call it.

In the screenshot below, the Calling Services tab shows that the users database has received traffic from two services: auth-dotnet and product-recommendation. The auth-dotnet service is expanded to show each resource that has sent queries, and a performance summary and sample of connections are available for each one. Note that the service’s /admin/create-user resource has a 100 percent error rate calling the database.

The Database List shows each service that has called the database and shows request rate, error rate, and latency.
The Database List shows each service that has called the database and shows request rate, error rate, and latency.

A DBA who’s investigating the source of the errors can click the View Related button in the top-right to see details about the incoming requests, including a sampling of queries along with a flame graph that shows how the database contributes to overall application latency.

To see data about the service’s recent deployments and dependencies—as well as performance data about the resource experiencing the errors—they can click the /admin/create-user row to pivot to APM. In the screenshot below, the Service Page shows a correlation between a rise in errors and the most recently deployed version of the service. The Span Summary section of the page shows the SQL statement that’s causing the error, giving application developers and DBAs key information they can use to troubleshoot and mitigate the issue.

The Service Page shows RED metrics for the create-user resource. It also shows recent deployment history and a span summary that includes SQL statements.
The Service Page shows RED metrics for the create-user resource. It also shows recent deployment history and a span summary that includes SQL statements.

By connecting DBM and APM, you can gain the visibility you need to correlate the performance of your services with the databases and database infrastructure they rely on. Speed up your troubleshooting and streamline collaboration by surfacing telemetry and trace data without switching contexts. See the documentation for complete information about how to link DBM with APM and how they work together with the databases, languages, and frameworks you use. And if you’re not yet using Datadog, start today with a 14-day free trial.