Get Flamegraph Data • AI Agents Framework

get_flamegraph_data: Generate flamegraph-compatible data from flow records.

get_flamegraph_data

Method

</div>

This is a method of the Profiler class in the profiler module.

Generate flamegraph-compatible data from flow records.

Returns list of &#123;name, value, children&#125; for flamegraph visualization.

Signature

python
def get_flamegraph_data() -> List[Dict[str, Any]]

Returns

ResponseField List[Dict[str, Any]]

The result of the operation.

Used By

Source

View on GitHub

praisonai/profiler.py at line 698