What is Grafana Phlare?
Grafana Phlare lets you aggregate continuous profiling data with high availability, multi-tenancy, and durable storage. This helps you get a better understanding of resource usage in your applications down to the line number.
Grafana Phlare overview
Grafana Phlare is an open source database that provides fast, scalable, highly available, and efficient storage and querying of profiling data.
The idea behind Phlare was sparked during a company-wide hackathon at Grafana Labs. The project was announced in 2022 at ObservabilityCON. The mission for the project is to enable continuous profiling at scale for the open source community, giving developers a better understanding of resource usage of their code. By doing so, it allows users to understand their application performance and optimize their infrastructure spend.
Grafana Labs is proud to lead the development of the Grafana Phlare project. The project natively integrates with Grafana, making it possible for users to correlate their profiling data with metrics, logs, and traces and to use profiles as another key observability signal for their applications.
Why use Grafana Phlare for continuous profiling?
Collect profiling data
Grafana Phlare collects CPU and memory profiles from applications that expose pprof
endpoints.
Run it easily, without sacrificing scalability or reliability
Get started in minutes by spinning up Phlare as a single process. When you’re ready to collect profiles from more applications or want a high availability setup, just add more machines and horizontally scale it out. Phlare will handle the rest.
Visualize in Grafana
Using Grafana’s Phlare data source, query the data stored in Phlare, slicing and dicing by relevant time ranges and labels. Grafana’s flame graph, histogram, and table views allow you to visualize your profiling data in different ways and build powerful dashboards from it.
Optimize your code
Grafana Phlare helps you identify the slowest and most memory-hungry parts of your code, so that developers are empowered to go in and optimize those areas. This results in:
- Faster applications
- More reliable applications and fewer OOM crashes
- Cost-effective applications that use less CPU and memory
Built on open source, driven by the community
Grafana Phlare combines the best insights from Grafana Labs engineers who use continuous profiling at scale every day to improve the performance and reliability of our applications. We’re excited to share our learnings and work with the open source community on this first-of-its-kind continuous profiling database.