Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Pyroscope Expands Profiling Capabilities and Integrates AI Agents

Expanded profiling capabilities in Pyroscope now allow users to profile more workloads, including memory profiling for Python and Rust, and .NET support on Windows, helping identify performance bottlenecks across a broader range of services.

Share
AI-generated conceptual illustration accompanying: Pyroscope Expands Profiling Capabilities and Integrates AI Agents
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Expanded Profiling Capabilities

Expanded profiling capabilities in Pyroscope now allow users to profile more of their workloads, including memory profiling for Python and Rust, and .NET support on Windows. These features help identify performance bottlenecks across a broader range of services. The Python SDK supports memory profiling via mem_enabled=True, while the Rust SDK utilizes jemalloc for memory profiling. On Windows, .NET profiling covers x64 starting with profiler version 1.3.0, supporting .NET 8, 9, 10, and .NET Framework 4.7+. For .NET 8, 9, and 10, the same profile types available on Linux are supported using the same environment variables, while .NET Framework 4.7 and later provides CPU and wall-time profiling. Teams running Pyroscope themselves must use object storage for distributed deployments, as it is now the single source of truth for all profile data.

AI Agent Integration with Profiling Data

Pyroscope now integrates AI agents with profiling data, enabling developers to leverage tools like Claude Code, GitHub Copilot, and Cursor directly within the Grafana CLI (gcx). With the 'gcx profiles' command, agents can query profiles, exemplars, and metrics, providing insights into resource usage, function performance, and historical data. Agent mode is automatically enabled for many supported tools or can be manually activated using the --agent flag, allowing agents to rank services by CPU usage or identify the most expensive profiles. This integration enhances user experience by filling gaps in analysis and offering more intuitive troubleshooting. However, while AI has shown promise in analyzing flamegraphs, there are still many scenarios where its effectiveness remains to be tested and refined.

Enhanced Visualization and Analysis in Grafana

Grafana now offers enhanced visualization and analysis capabilities for profiling data through new features like exemplars and the Call Tree view. These tools allow users to explore individual profiles and trace the exact path code takes to reach expensive functions, improving troubleshooting efficiency. The Call Tree view, available starting in Profiles Drilldown 2.3.0 and Grafana 13.3, provides a detailed breakdown of function calls. Additionally, metrics derived from profiles enable fleet-wide comparisons across services or deployments without querying individual profiles. Heatmap queries further aid in visualizing profile distributions over time. By integrating with Grafana Cloud's managed observability stack, profiling data can now be viewed in three distinct ways, including a new plugin view and native dashboard integration, offering a more comprehensive and real-time view of profiling data alongside other critical dashboard items.

Pyroscope 2.0 and Architectural Improvements

Pyroscope 2.0 represents a ground-up rearchitecture of the open source continuous profiling database, making it more cost-effective at scale. According to Grafana Labs, the new version reduces the symbol storage footprint by up to 95% in their production environment. This improvement is particularly impactful given that a single profile can be tens of megabytes, and the reduction in storage needs significantly lowers costs. Additionally, Pyroscope 2.0 makes the entire read path stateless, allowing any querier to process any query and dynamically adjust to demand. The update also includes native support for the OpenTelemetry Protocol (OTLP) for profiling, enabling teams to ingest profiles through the standard OpenTelemetry pipeline. Grafana Cloud Profiles, the hosted version powered by Pyroscope, has been running the 2.0 architecture in production since April 2025.

Integration with OpenTelemetry and Broader Language Support

Pyroscope 2.0 now includes native support for the OpenTelemetry Protocol (OTLP) for profiling, allowing teams to ingest profiles through the standard OpenTelemetry pipeline infoq.com. This integration simplifies the process of collecting and analyzing performance data across diverse environments. Additionally, Pyroscope has expanded its language support to include major languages such as Go, Python, Ruby, Java, eBPF, .NET, PHP, Node.js, and Rust pyroscope.io. The platform is now horizontally scalable, ensuring optimal performance for projects of all sizes. Grafana's data visualization expertise has also enhanced the frontend and UI of Pyroscope in Grafana Cloud, offering multiple ways to visualize and analyze profiling data pyroscope.io.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more