Hello! I’m wondering if there is a more straightforward way to view a flame graph on an API request (i.e. non-HTML) than to save the HTML to disk and open it in a browser? Thanks!
If the API response exposes the profiling ID, you can open that saved result in the profiler UI instead of writing HTML per request. For automation, return the timing tree as JSON and feed it to a standalone flame-graph renderer; the HTML page is mainly a wrapper around that data.