In asap-tools/experiments/experiment_run_clickhouse.py, query_engine_service.start() is called with prometheus_scrape_interval=15 hardcoded.
The query engine uses this value as its data resolution interval — for timestamp alignment and validating that a query window covers at least one interval (scraped_intervals = query_duration / scrape_interval). In the SQL/ClickHouse world, the actual data resolution is data_ingestion_interval (from ep.data_ingestion_interval), which is already correctly passed to the planner via controller_service.start().
Fix: replace the hardcoded 15 with data_ingestion_interval (already in scope at line 299).
In
asap-tools/experiments/experiment_run_clickhouse.py,query_engine_service.start()is called withprometheus_scrape_interval=15hardcoded.The query engine uses this value as its data resolution interval — for timestamp alignment and validating that a query window covers at least one interval (
scraped_intervals = query_duration / scrape_interval). In the SQL/ClickHouse world, the actual data resolution isdata_ingestion_interval(fromep.data_ingestion_interval), which is already correctly passed to the planner viacontroller_service.start().Fix: replace the hardcoded
15withdata_ingestion_interval(already in scope at line 299).