tempo_get_span_statistics
Retrieve aggregated span statistics grouped by service, operation, or status, providing count, average, min, max, and percentile durations for performance analysis.
Instructions
Get aggregated statistics for spans grouped by service, operation, or status. Returns count, avg/min/max/percentile durations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tempo_get_span_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End time | |
| tags | No | Tags query | |
| limit | No | Number of traces to analyze | |
| query | No | TraceQL query | |
| start | No | Start time | |
| groupBy | No | Group statistics by service, operation, or status |