get-targets
Retrieve Prometheus scrape targets and filter them by state (active, dropped, or any) to monitor which endpoints are being scraped and troubleshoot missing metrics.
Instructions
Get information about targets
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Filter targets by state |