pyroscope_render_profile
Generate flamegraph and timeline data from continuous profiling queries to analyze application performance.
Instructions
Query the legacy /pyroscope/render endpoint for flamegraph and timeline data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "pyroscope_render_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Start time (e.g. now-1h or unix ms). Defaults to now-1h. | |
| query | Yes | Pyroscope query, e.g. process_cpu:cpu:nanoseconds:cpu:nanoseconds{service_name="api"} | |
| until | No | End time (e.g. now). Defaults to now. | |
| format | No | Response format. | |
| baseUrl | No | Optional per-request Pyroscope base URL override. | |
| groupBy | No | Single label to group timeline by. | |
| maxNodes | No | Maximum nodes in returned flamegraph. | |
| tenantId | No | Optional per-request tenant override. |