ConfigureQueryTimeout
Configure the VictoriaMetrics query timeout and stale cache fallback policy.
PUT
/api/v1/slo/config/query-timeoutOperation ID
ConfigureQueryTimeoutSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
configObjectRequiredNew query timeout and fallback configuration to apply.
vmQueryTimeoutMsStringVictoriaMetrics query timeout in milliseconds before fallback is triggered.
Example: 5000
staleDataTtlSecsStringTime-to-live in seconds for stale cached data to be considered valid.
Example: 300
fallbackModeStringFallback strategy when VM is unavailable: stale_cache | last_known_good | conservative_estimate.
Example: stale_cache
