Iteratively explore your flame graphs with the MCP sandwich tool
Blog post from Polar Signals
Continuous profiling has been enhanced with new tools that improve data accessibility and analysis without disrupting workflow, particularly through the Model Context Protocol (MCP), which allows users to query production profiles using plain English. The update introduces the "sandwich" tool, which replaces the flat table view with a hierarchical tree structure that mirrors a flame graph, thereby preserving call stack hierarchies and allowing for more focused analysis. Alongside this, a new tool called "query_profile_flamegraph" now provides a genuine flame graph, enabling users to zoom into specific paths within the data. The MCP server, which works with clients like Polar Signals Cloud, ensures that model queries match the cloud UI by using shared templates, providing consistency and reliability in data analysis. Additionally, the continuous-profiling skill has been streamlined to make tool selection more intuitive, reducing the instruction size by 40% while maintaining effectiveness through rigorous evaluation tests.
No tracked trend matches for this post yet.