update-spans-metric
Update a span-based metric's filter, group-by, or percentile settings to refine APM data aggregation.
Instructions
Update a span-based metric's filter, group-by, or percentile settings
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": {
"metricId": "<metricId>"
},
"name": "update-spans-metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metricId | Yes | The name of the span-based metric to update | |
| includePercentiles | No | Whether to include percentile aggregations. Only for distribution metrics | |
| filterQuery | No | Updated APM search query to filter spans | |
| groupBy | No | Updated fields to group the metric by |