get-logs-metric
Retrieve a log-based metric definition by its name. Get details of custom metrics such as logs.my_custom_count to view its configuration and settings.
Instructions
Get a specific log-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-logs-metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metricId | Yes | The name of the log-based metric. Example: logs.my_custom_count |