get_topic_metrics
Fetches JMX Exporter metrics for a given Kafka topic, allowing monitoring of topic health and performance. Accepts topic name, optional broker ID, and limit.
Instructions
Returns JMX Exporter metrics labeled for a Kafka topic.
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": {
"topic_name": "<topic_name>"
},
"name": "get_topic_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| broker_id | No | ||
| topic_name | Yes | ||
| include_raw | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||