get-spans-metric
Retrieve the definition of a span-based metric by providing its metric name. Get details about custom span metrics and their configuration.
Instructions
Get a specific span-based metric definition by name
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": "get-spans-metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metricId | Yes | The name of the span-based metric. Example: spans.my_custom_count |