prom_add_rules
Add Prometheus recording and alerting rules to a project directory to enable metric-based monitoring and notifications. Provide the directory and optional API key.
Instructions
Add recording and alerting rules
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": {
"directory": "<directory>"
},
"name": "prom_add_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory |