Skip to main content
Monitoring & Collection/Scrape Collection
PUTMonitoringSince 1.0SynchronousAuth Required

UpdateScrapeImportConfig

Update the scrape import configuration such as row limits and file size caps

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Request Inputs

Body Fields

  • maxRowsPerImportIntegerRequired

    Updated maximum rows per import

    Example: 500

  • maxFileSizeMbIntegerRequired

    Updated maximum file size in megabytes

    Example: 5

  • allowPartialModeBooleanRequired

    Whether to allow partial import mode

    Example: true

Responses

200 OK

On success, this API returns an empty JSON object {}.

Endpoint

PUT/api/v1/monitoring/scrape-configs/import/config

/api/v1/monitoring/scrape-configs/import/config

Operation ID

UpdateScrapeImportConfig

Permalink

Request Example

curl -X PUT '{host}/api/v1/monitoring/scrape-configs/import/config' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"maxRowsPerImport":500,"maxFileSizeMb":5,"allowPartialMode":true}'

Response Example

200
{}

Change History

This API has no change history records yet.

View all change history