maxQueryLen
Errors
422: error when executing query="sum(rate(container_cpu_usage_seconds_total{namespace=\"foo\",container!=\"POD\",container!=\"\",pod=~\"(agent-client-demo-54f8d....too long query; got 34101 bytes; mustn't exceed `-search.maxQueryLen=16384` bytes
Configurations
Update vmselect
statefulset.
spec:
containers:
- args:
- -cacheDataPath=/select-cache
- -httpListenAddr=:8481
- -search.maxQueryLen=1MB
- -selectNode=vmselect-0.vmselect-example.monitor:8481
- -storageNode=vmstorage-0.vmstorage-example.monitor:8401
If vmcluster
CR exists(Manage by VM Operator), update it.
kubectl get vmcluster
kubectl edit vmcluster foo
vmselect:
extraArgs:
search.maxQueryLen: 1MB
No comments to display
No comments to display