monitor_setup_prometheus
Set up Prometheus monitoring by generating configuration files with scrape targets and alerting rules for your service.
Instructions
Generate Prometheus configuration with scrape targets and 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": {
"service_name": "<service_name>"
},
"name": "monitor_setup_prometheus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| targets | No | List of scrape targets | |
| metrics_path | No | Metrics endpoint path (default /metrics) | |
| service_name | Yes | Name of the service to monitor | |
| scrape_interval | No | Scrape interval (default 15s) |