Monitoring & Collection/Scrape Collection
POSTMonitoringSince 1.0SynchronousAuth Required
BulkImportScrapeTargets
Bulk import scrape targets from a list of host and port entries
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
entriesListRequiredEntries for this resource
Example: (nested array)
hostStringHostname or IP address of the target
Example: 192.168.1.20
portIntegerPort number of the metrics endpoint
Example: 9100
jobStringPrometheus job name for this target
Example: node
Responses
Endpoint
POST/api/v1/monitoring/scrape-health/targets/bulk-import
/api/v1/monitoring/scrape-health/targets/bulk-import
Request Example
curl -X POST '{host}/api/v1/monitoring/scrape-health/targets/bulk-import' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"entries":"(nested array)"}'
Response Example
200{
"total": 10,
"success": 9,
"failed": 1,
"errors": [
{}
]
}Change History
This API has no change history records yet.
