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

推荐订阅源

B
Blog RSS Feed
K
Kaspersky official blog
Forbes - Security
Forbes - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Proofpoint News Feed
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
Security Latest
Security Latest
Scott Helme
Scott Helme
S
Securelist
美团技术团队
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
W
WeLiveSecurity
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research
The Cloudflare Blog
AI
AI
L
Lohrmann on Cybersecurity
S
Security Affairs
Cloudbric
Cloudbric
SecWiki News
SecWiki News
爱范儿
爱范儿
雷峰网
雷峰网
Engineering at Meta
Engineering at Meta
C
Cyber Attacks, Cyber Crime and Cyber Security
大猫的无限游戏
大猫的无限游戏
N
News and Events Feed by Topic
I
InfoQ
S
Secure Thoughts
AWS News Blog
AWS News Blog
A
About on SuperTechFans
Schneier on Security
Schneier on Security
酷 壳 – CoolShell
酷 壳 – CoolShell
The Last Watchdog
The Last Watchdog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Check Point Blog
P
Palo Alto Networks Blog
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google DeepMind News
Google DeepMind News
Latest news
Latest news
I
Intezer
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
D
Docker

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
Making profiling visualizations accessible to engineers at all levels
2025-04-11 · via Datadog | The Monitor blog

Modern code profilers gather performance data that is highly useful for developers, but the traditional presentation of that data can be challenging to interpret for engineers who are new to profiling. For the Continuous Profiler team at Datadog, our guiding mission is to make profiling a standard practice for all developers by flattening its learning curve and helping teams quickly gain insights into application performance.

Recently, we’ve made some enhancements to Continuous Profiler’s visualizations to make them even more accessible to engineers. Specifically, we’ve implemented several key changes to our flame graph visualization and are introducing a new visualization, the call graph.

In this blog post, we’ll discuss:

Making the flame graph more intuitive

Flame graphs are used widely to visualize profiling data in the software industry and have been the default view in Continuous Profiler since the product’s launch in 2020. Their core layout has remained largely unchanged since their creation: Each frame maps to an element in the call stack of a running program, with the frame’s width indicating how much a resource is used.

Until recently, a typical flame graph in Continuous Profiler looked like the one in the screenshot below. In this particular example, frames map to methods, and frame widths indicate how much CPU was used by the associated method:

Traditional flame graph in Datadog

In these earlier flame graphs, frames were colored based on the name of the package to which the method belonged. The order of the frames from left to right was determined by a complex algorithm that took into account the frame type, whether the “Only My Code” feature was active, and alphabetical ordering.

Problems with interpreting the older flame graph

But with this formatting and presentation, we found it could be challenging for engineers to read flame graphs accurately, in particular when dealing with an unfamiliar codebase. In this scenario, it could be tough to immediately discern what the frame colors signified or what the ordering of frames from left to right meant.

We also learned that misunderstandings sometimes arose with frame colors because of what those colors can signify in different cultural contexts. For instance, we wanted to make sure that users didn’t interpret red frames as indicators of a problem—or green frames as signs that everything was OK—with respect to the method in question. We also didn’t want people to think that frames were arranged in chronological order, from left to right, because many Datadog visualizations represent elapsed time along the X-axis.

Introducing the new-look flame graph in Continuous Profiler

We decided to revamp our flame graphs to eliminate some of the common obstacles users faced when first interacting with our product. Today, a flame graph in Continuous Profiler looks like this:

New flame graph visualization in Datadog

The first and most obvious change we have introduced is a new color coding scheme where the frame’s shade corresponds to resource usage. This results in a color gradient whose variations intrinsically convey specific and useful information: Darker frames indicate higher resource usage, while lighter frames signify lower usage. The same color coding scheme can be found in other Datadog visualizations, such as user retention graphs, making it easier for users familiar with other Datadog tools to interpret profiling data. Although frame width already indicates resource usage, using color as an additional cue helps non-experts understand the data. We also applied a similar color coding scheme for self time (e.g., the Self CPU Time option available in the Color by menu in the screenshot below) where the shade of a frame indicates how much self time corresponds to that frame. (Self time refers to the time a method has spent executing its own code, without counting the time spent by any other methods it calls.) For both total time and self time, this new gradient-based color coding strategy makes the product more approachable to new users while preserving all the functionality that experienced users already enjoy.

Color coding for self time

Second, we simplified our previously complex ordering of frames by offering users two alternative sorting algorithms to choose from. The first and default option, left-heavy sorting (shown as “Sort Frames By Total CPU Time” in the screenshow below), helps users focus on the most resource-intensive methods by grouping them on the leftmost side of the flame graph. The second option uses alphabetical ordering based on method name (Sort Frames Alphabetically A–Z), which provides the benefit of maintaining a stable and predictable frame order even as resource usage changes.

Sorting frames by total CPU time

Finally, above the flame graph in the user interface, we exposed and prominently positioned all the Color by and Sort Frames menu selectors that are used for toggling between the new coloring and sorting modes. The clear placement of these menus above the flame graph now effectively allows them to serve as a legend, giving users a clearer understanding of all the available profiling visualization options.

Based on our user testing and customer feedback about these new features, we believe these improvements have made it easier for less experienced engineers to understand profiling flame graphs.

Using call graphs to summarize resource usage patterns in profiling data

While flame graphs are extremely powerful for visualizing fine-grained activity, it’s difficult to use flame graphs to derive the cumulative impact of a method on resource usage. Engineers who are new to profiling, for example, could miss how a specific method and its call chain are consuming a high amount of resources—and therefore could also miss important optimization opportunities related to this usage pattern.

Continuous Profiler’s new call graphs take the same profiling data used in flame graphs—including stack traces and other metadata—and visualize it in a way that highlights the relationships among methods called in a service and their impact on resources. To achieve this effect, the call graph displays each method just once, as a single node (i.e., a rectangle or box), with edges (represented as arrows between these nodes) used to convey which methods have called each other. This arrangement makes it easier to discern which methods have called each other within the profiled data and how much time was spent executing each individual method or call chain. This is different from a flame graph, where a method appears in separate frames when it is called by different methods, with “parent” frames appearing over “child” frames to show which methods have called which.

The following screenshot displays an example call graph. With this visualization, it’s easy to see how the method represented by the large blue node at the bottom is dominant. Specifically—and as stated in the pop-up window to its left—executing the code inside the method accounts for 13.4 percent of all the time spent in the profile (Self CPU Time) and 37.5 percent if you also include the time spent in methods that this method calls (Total CPU Time). In this way, the call graph makes it easy to gain insights into the overall resource impact of individual methods and their call chains.

Call graph visualization

Besides emphasizing usage patterns and relationships, call graphs can also clearly represent the calling patterns among methods in a service—patterns including self-recursion, cycles, and chains of method calls. Representing these patterns visually provides a “bird’s eye view” of how the parts of a system work together.

How call graphs convey information

Like flame graphs, call graphs encode the contributions of self and total time, but the information is conveyed differently.

  • Call graphs use edge (arrow) thickness to show time spent calling other methods.
  • Call graphs use color and size to indicate self time.
  • Because each method is represented by a single node in the visualization, the overall importance of the node in aggregate terms is intuitively easy to discern. (In contrast, in a flame graph, a method’s total impact may be distributed across many scattered frames.)

The other distinctive feature of call graphs is that they use a graph pruning technique, which hides nodes that have a less significant impact—reducing the number of nodes that you see when first accessing the visualization. These nodes and edges that get pruned away aren’t permanently deleted, but only temporarily hidden. You can reveal them by clicking on any “+” button attached to a node, as shown in the image below.

Call graph popup

This ability to start with a simple graph and progressively disclose complexity makes call graphs an approachable visualization in comparison to flame graphs, which start off showing as much detail as possible.

Overall, we see flame and call graphs as complementary visualizations. While flame graphs provide a complete and more fine-grained picture of resource usage, call graphs summarize information about method usage, relationships, and patterns in a way that is easy to immediately understand. The two visualization types lend themselves to different insights and different ways of exploring.

We’re excited to see how users put the new call graph visualization to use. By adding this new element to the profiling toolkit, we hope to unlock even more value for engineers at all levels.

See your profiling data visualized more clearly than ever

We are continuing to improve the functionality of Continuous Profiler to make this powerful product even more accessible and easy to use. Recent examples of feature enhancements include the introduction of source code previews and the timeline view. And now, you can see the new flame graph features in Continuous Profiler. Call graph visualizations are currently in preview and will be rolling out to customers over the coming weeks. When they are available, you can see them in the visualizations (“Visualize as”) bar.

For more information about our Continuous Profiler product, check out our product documentation. And if you’re not yet a Datadog customer, feel free to sign up for a 14-day free trial to get started.