Open yeya24 opened 2 days ago
https://github.com/thanos-io/promql-engine/pull/452 supports tracking peak samples during an execution of the query.
What we are still missing from the old Promql engine is max samples limit enforced by flag query.max-samples, which can be used to protect the query engine from getting OOM killed.
query.max-samples
https://github.com/prometheus/prometheus/blob/main/cmd/prometheus/main.go#L512
Is this useful in the engine? Each step is only keeping a batch of 10 samples per series in memory.
https://github.com/thanos-io/promql-engine/pull/452 supports tracking peak samples during an execution of the query.
What we are still missing from the old Promql engine is max samples limit enforced by flag
query.max-samples
, which can be used to protect the query engine from getting OOM killed.https://github.com/prometheus/prometheus/blob/main/cmd/prometheus/main.go#L512