Skip to content

experiment_run_clickhouse: prometheus_scrape_interval hardcoded to 15 instead of data_ingestion_interval #443

Description

@milindsrivastava1997

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions