Put a limit on the number of metrics a skinny query can return, just to prevent memory overruns now that rows and cols can be open ended.
This is done with a new MAX_METRICS environment variable used by the API and the lambda. Default is 200000.
The cli has --maxmetrics, and the default is 0, no limit.
Also make the API http write timeout configurable with the WRITE_TIMEOUT environment variable. Default is 30s.
What
Put a limit on the number of metrics a skinny query can return, just to prevent memory overruns now that rows and cols can be open ended. This is done with a new MAX_METRICS environment variable used by the API and the lambda. Default is 200000. The cli has --maxmetrics, and the default is 0, no limit.
Also make the API http write timeout configurable with the WRITE_TIMEOUT environment variable. Default is 30s.