Profiles with Pyroscope

Using profiles with Pyroscope in the DuploCloud Advanced Observability Suite (AOS)

A profile is essentially a snapshot of your application's performance metrics at a specific point in time. DuploCloud’s Advanced Observability Suite (AOS) uses Pyroscope to provide detailed application profiles. These profiles give you detailed insights into how resources like CPU and memory are being used and help you optimize performance and monitor resource usage.

Pyroscope integrates seamlessly with DuploCloud’s other observability tools, like Tempo (for tracing) and Beyla (for telemetry). This allows you to view profiling data alongside traces and logs in Grafana for a unified monitoring experience. The combination of automatic profiling with the option for manual fine-tuning using OpenTelemetry SDKs helps capture the most relevant data for optimizing application performance.

By default, CPU profiles are collected for all applications, while memory profiles are specifically collected for Go and Java applications, providing deeper insights into performance and resource utilization.

Enabling Profiling

To enable application profiling, you can push profiling data directly to Pyroscope by instrumenting your application. For detailed instructions on configuring the client, refer to the Pyroscope documentation.

What Profiles Can Tell You

Pyroscope is the backend for profiles that show the CPU and Memory profile for the application. Exploring profiles helps identify and resolve performance issues, optimize resource usage, and improve efficiency. Key benefits include:

  • Identifying Performance Bottlenecks: Pinpointing slow functions or resource-heavy processes.

  • Optimizing Resource Utilization: Analyzing CPU and memory usage for better scaling decisions.

  • Debugging Latency Issues: Detecting areas with high latency that may affect user experience.

  • Root Cause Analysis: Correlating profiling data with logs and traces to identify the cause of performance issues.

Exploring Profiles in the DuploCloud Advanced Observability Suite

  1. In the DuploCloud Portal, navigate to Administrator -> Observability -> Advanced -> Dashboard (Administrator AOS Dashboard) or Observability -> Advanced -> Dashboard (Tenant AOS Dashboard). The AOS Dashboard displays.

  2. Select your Infrastructure from the Infrastructure list box (Administrator AOS Dashboard) or Tenant from the Tenant list box (Tenant AOS Dashboard).

  3. Click the Profiles card. The Grafana Profiles dashboard displays.

For more information about profile data, see the Grafana Pyroscope documentation.

Viewing Profiles and Traces in Grafana

You can use the Explore feature in Grafana to view profiles and traces together. This allows you to correlate profiling and trace data for deeper insights into your application's performance. To learn more, check out the Pyroscope in Grafana documentation.

Last updated

Logo

© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates