diff --git a/.github/PULL_REQUEST_TEMPLATE/projectasap.md b/.github/PULL_REQUEST_TEMPLATE/projectasap.md index 1a4950438..7b0c4cf5a 100644 --- a/.github/PULL_REQUEST_TEMPLATE/projectasap.md +++ b/.github/PULL_REQUEST_TEMPLATE/projectasap.md @@ -57,6 +57,12 @@ Mark non-applicable forms explicitly; do not fabricate evidence. Give each new test a one- or two-line behavioral purpose. +## Snapshot changes + +For each changed file under `crates/devtools/tests/corpus_snapshots/`: the +query and why its plan changed. Write "None" if no snapshot changed. See +[planner snapshots](../../docs/develop_docs/planner-snapshots.md). + ## Architectural decisions List consequential decisions and rejected alternatives, or state why this is not diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 450e63b22..199d810c1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -149,3 +149,45 @@ jobs: run: python3 tools/verify_metricsql_vendored_baseline.py env: RUSTC_WRAPPER: sccache + + # Planner snapshots (#941). A release build: the corpus queries take minutes + # in debug. A failure means a plan changed; the regenerated snapshots are + # uploaded so an intended change can be committed without a local rerun. + corpus-snapshots: + if: github.event_name != 'pull_request' || github.event.pull_request.draft == false + runs-on: ubuntu-latest + # Planning takes 2-6 min (6 min on one core) plus the release build; each + # query stops at 240 s. + timeout-minutes: 45 + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable + + # sccache alone: caching the release target as well would duplicate it. + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.4 + + - name: Cache cargo registry + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} + + - name: Check planner snapshots + run: cargo test --release --locked -p asap-devtools --test corpus_snapshots -- --include-ignored + env: + RUSTC_WRAPPER: sccache + + - name: Upload regenerated snapshots + if: failure() + uses: actions/upload-artifact@v4 + with: + name: corpus-snapshots + path: target/tmp/corpus_snapshots/ + if-no-files-found: ignore diff --git a/AGENTS.md b/AGENTS.md index dc3d1fe61..abf1b2f7f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -28,6 +28,9 @@ Explicitly describe **Before this PR** and **After this PR**, using an end-to-end example, screenshot, measurement, or diagram appropriate to the change. +- A PR that changes planner snapshots + (`crates/devtools/tests/corpus_snapshots/`) says under **Snapshot changes** + which queries changed and why; a person confirms the why. - Agents must not complete fields reserved for human judgment, approval, or attestation. - Do not create, push, or publish commits or pull requests unless the user has diff --git a/crates/devtools/tests/corpus_snapshots.rs b/crates/devtools/tests/corpus_snapshots.rs new file mode 100644 index 000000000..9ffb1627f --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots.rs @@ -0,0 +1,382 @@ +//! Planner snapshots over real-world query corpora (#941). +//! +//! The planner has no reference answer, so these tests pin its output +//! instead: each corpus query's selected plan (default search) is compared +//! with the committed one, and any change fails until the snapshot is +//! regenerated and the change explained in the PR. +//! +//! Each `tests/corpus_snapshots//corpus.json` declares the shared +//! planning inputs and the queries by stable id; `.json` beside it is +//! that query's snapshot. Regenerate with +//! `UPDATE_SNAPSHOTS=1 cargo test --release -p asap-devtools --test corpus_snapshots -- --ignored`. +//! +//! A snapshot holds only the plan, never the search that found it: the +//! selected Stage 2 candidate's DAG and display name, its cost and accepted +//! accuracy, the materialized views, pane retention, and whether the search +//! proved the plan optimal; for a query that does not plan, the error and +//! rejections. Candidate ids, round and evaluation counters, timings, the +//! Stage 1 and Stage 2 candidate lists and the memo vary from run to run +//! (round budgets are wall-clock), so they are left out. Floats are rounded +//! to 12 significant digits. A run that the time limit stopped fails instead +//! of being recorded, and a query with a `skip_reason` in the manifest is +//! skipped. + +use std::path::{Path, PathBuf}; +use std::process::Command; + +use serde_json::{json, Map, Value}; + +/// Per query. The slowest kept queries take about 60 s on one core, so this +/// leaves room for a slower CI runner while still failing a runaway search. +const TIME_LIMIT_S: &str = "240"; + +fn corpora_dir() -> PathBuf { + PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests/corpus_snapshots") +} + +/// `query`'s one-query workload under `corpus`'s shared inputs. +fn workload(corpus: &Value, query: &str) -> Value { + let mut entry = corpus["query_workload"]["repeating_query"].clone(); + entry["query"] = json!(query); + json!({ + "query_workload": { + "language": corpus["query_workload"]["language"], + "repeating_queries": [entry], + }, + "data_workload": corpus["data_workload"], + }) +} + +/// Runs `stage_pipeline` (without the memo section) on `workload`; panics +/// (a planner crash) on failure. +fn plan(workload: &Value, args: &[String], scratch: &Path) -> Value { + let input = scratch.join("workload.json"); + let output = scratch.join("document.json"); + std::fs::write(&input, workload.to_string()).unwrap(); + let mut command = Command::new(env!("CARGO_BIN_EXE_stage_pipeline")); + command + .arg("--workload") + .arg(&input) + .args(["--milp-time-limit-s", TIME_LIMIT_S, "--no-memo"]) + .args(args) + .arg("--out") + .arg(&output); + let result = command.output().unwrap(); + assert!( + result.status.success(), + "{command:?} failed: {}", + String::from_utf8_lossy(&result.stderr) + ); + serde_json::from_str(&std::fs::read_to_string(output).unwrap()).unwrap() +} + +/// Whether the wall-clock budget ended the search: the final round's status +/// says so, or planning used the whole budget. An earlier pane round cut short +/// by its own budget is not visible in the report. +fn hit_time_limit(document: &Value) -> bool { + let report = &document["stage3_plan_selection"]["search"]["candidate_connections"]; + if report["status"] == "time_limit" { + return true; + } + match ( + report["full_planning_ms"].as_f64(), + report["time_limit_ms"].as_f64(), + ) { + (Some(elapsed), Some(limit)) => elapsed >= limit, + _ => false, + } +} + +/// `value` with every non-integer number rounded to 12 significant digits. +fn rounded(value: &Value) -> Value { + match value { + Value::Number(n) if n.is_f64() => { + let x = n.as_f64().unwrap(); + json!(format!("{x:.11e}").parse::().unwrap()) + } + Value::Object(map) => { + Value::Object(map.iter().map(|(k, v)| (k.clone(), rounded(v))).collect()) + } + Value::Array(items) => Value::Array(items.iter().map(rounded).collect()), + other => other.clone(), + } +} + +/// The stable part of a `stage_pipeline` document: the selected plan and +/// its cost, or why there is none. See the module docs. +fn snapshot_of(document: &Value) -> Value { + let stage3 = &document["stage3_plan_selection"]; + let mut snapshot = Map::new(); + snapshot.insert( + "query".into(), + document["workload"]["queries"][0]["text"].clone(), + ); + snapshot.insert( + "accuracy_guarantees".into(), + document["accuracy_guarantees"].clone(), + ); + match stage3["selected"].as_str() { + Some(id) => { + let candidate = document["stage2_physical_asap_optimization"]["candidates"] + .as_array() + .and_then(|candidates| candidates.iter().find(|c| c["id"] == id)) + .unwrap_or_else(|| panic!("selected candidate {id} is not shown")); + snapshot.insert( + "selected".into(), + json!({ + "display_name": candidate["display_name"], + "dag": candidate["dag"], + "cost": stage3["costs"][id], + "accepted": stage3["accepted"][id], + }), + ); + snapshot.insert( + "proven_optimal".into(), + json!(stage3["search"]["candidate_connections"]["status"] == "optimal"), + ); + for key in [ + "materialized_views", + "materialized_views_error", + "pane_retention_ms", + "warnings", + ] { + if let Some(value) = stage3.get(key) { + snapshot.insert(key.into(), value.clone()); + } + } + } + None => { + snapshot.insert("selected".into(), Value::Null); + if let Some(error) = stage3["error"].as_str() { + let error = error.split(" Search report: ").next().unwrap(); + snapshot.insert("error".into(), json!(error)); + } + // Which candidates were rejected depends on the search; why does not. + let causes = |key: &str| -> Value { + let mut causes: Vec = stage3[key] + .as_array() + .into_iter() + .flatten() + .map(|r| json!({"cause": r["cause"], "reason": r["reason"]})) + .collect(); + causes.sort_by_key(|c| c.to_string()); + causes.dedup(); + Value::Array(causes) + }; + snapshot.insert("rejected".into(), causes("rejected")); + snapshot.insert("search_rejected".into(), causes("search_rejected")); + } + } + rounded(&Value::Object(snapshot)) +} + +/// The first line where `expected` and `actual` differ, for the failure message. +fn first_difference(expected: &str, actual: &str) -> String { + let mut expected_lines = expected.lines(); + let mut actual_lines = actual.lines(); + for line in 1.. { + match (expected_lines.next(), actual_lines.next()) { + (None, None) => break, + (e, a) if e != a => { + return format!( + "line {line}:\n - {}\n + {}", + e.unwrap_or(""), + a.unwrap_or("") + ) + } + _ => {} + } + } + String::new() +} + +/// Every corpus query's plan matches its committed snapshot. +#[test] +#[ignore = "runs the release planner over the corpora: see the module docs"] +fn corpus_plans_match_snapshots() { + let update = std::env::var_os("UPDATE_SNAPSHOTS").is_some(); + // Regenerated snapshots of failing queries, with their full + // `stage_pipeline` documents for the DAG viewer, for CI to upload. + let regenerated = PathBuf::from(env!("CARGO_TARGET_TMPDIR")).join("corpus_snapshots"); + let _ = std::fs::remove_dir_all(®enerated); + let scratch = std::env::temp_dir().join(format!("corpus_snapshots_{}", std::process::id())); + std::fs::create_dir_all(&scratch).unwrap(); + let mut failures = Vec::new(); + + let mut corpora: Vec<_> = std::fs::read_dir(corpora_dir()) + .unwrap() + .map(|entry| entry.unwrap().path()) + .collect(); + corpora.sort(); + for dir in corpora { + let name = dir.file_name().unwrap().to_string_lossy().into_owned(); + let corpus: Value = + serde_json::from_str(&std::fs::read_to_string(dir.join("corpus.json")).unwrap()) + .unwrap(); + let args: Vec = + serde_json::from_value(corpus["stage_pipeline_args"].clone()).unwrap(); + // A query with a `skip_reason` is not planned. + let queries: Vec<&Value> = corpus["queries"] + .as_array() + .unwrap() + .iter() + .filter(|q| q.get("skip_reason").is_none()) + .collect(); + let ids: Vec<&str> = queries.iter().map(|q| q["id"].as_str().unwrap()).collect(); + + // A snapshot whose query left the manifest, or became known-slow, + // would otherwise go stale unseen. + for entry in std::fs::read_dir(&dir).unwrap() { + let file = entry.unwrap().file_name().to_string_lossy().into_owned(); + if let Some(id) = file.strip_suffix(".json") { + if id != "corpus" && !ids.contains(&id) { + failures.push(format!("{name}/{file}: no checked query with id {id}")); + } + } + } + + for query in queries { + let id = query["id"].as_str().unwrap(); + let document = plan( + &workload(&corpus, query["query"].as_str().unwrap()), + &args, + &scratch, + ); + if hit_time_limit(&document) { + failures.push(format!( + "{name}/{id}: the {TIME_LIMIT_S} s time limit ended the search, \ + so its plan depends on machine speed" + )); + continue; + } + let actual = serde_json::to_string_pretty(&snapshot_of(&document)).unwrap() + "\n"; + let path = dir.join(format!("{id}.json")); + if update { + std::fs::write(&path, &actual).unwrap(); + continue; + } + let expected = std::fs::read_to_string(&path).unwrap_or_default(); + if expected != actual { + let out = regenerated.join(&name); + std::fs::create_dir_all(&out).unwrap(); + std::fs::write(out.join(format!("{id}.json")), &actual).unwrap(); + std::fs::write( + out.join(format!("{id}.document.json")), + serde_json::to_string_pretty(&document).unwrap(), + ) + .unwrap(); + failures.push(format!( + "{name}/{id}: plan changed at {}", + first_difference(&expected, &actual) + )); + } + } + } + std::fs::remove_dir_all(&scratch).unwrap(); + assert!( + failures.is_empty(), + "{} snapshot(s) differ; regenerated ones are in {}.\n\ + If the change is intended, run with UPDATE_SNAPSHOTS=1 and explain it \ + under \"Snapshot changes\" in the PR.\n\n{}", + failures.len(), + regenerated.display(), + failures.join("\n\n") + ); +} + +/// The snapshot keeps the selected plan without its id or the search +/// report, and rounds floats. +#[test] +fn snapshot_keeps_only_the_plan() { + let document = json!({ + "accuracy_guarantees": "enforced", + "workload": {"queries": [{"text": "sum(up)"}]}, + "stage2_physical_asap_optimization": {"candidates": [ + {"id": "pane-round-12-joint-plan-1", "display_name": "plan A", "dag": {"nodes": [1]}}, + ]}, + "stage3_plan_selection": { + "selected": "pane-round-12-joint-plan-1", + "costs": {"pane-round-12-joint-plan-1": {"cost_per_second": 0.1 + 0.2}}, + "accepted": {"pane-round-12-joint-plan-1": []}, + "materialized_views": [], + "pane_retention_ms": {"1": 60000}, + "search": {"candidate_connections": {"status": "refinement_limit", "solver_ms": 1.5}}, + }, + }); + assert_eq!( + snapshot_of(&document), + json!({ + "query": "sum(up)", + "accuracy_guarantees": "enforced", + "selected": { + "display_name": "plan A", + "dag": {"nodes": [1]}, + "cost": {"cost_per_second": 0.3}, + "accepted": [], + }, + "proven_optimal": false, + "materialized_views": [], + "pane_retention_ms": {"1": 60000}, + }) + ); +} + +/// A query without a plan keeps the error up to the embedded search report +/// and the rejections' causes without candidate ids. +#[test] +fn snapshot_of_a_failed_query() { + let document = json!({ + "accuracy_guarantees": "enforced", + "workload": {"queries": [{"text": "sum(up)"}]}, + "stage3_plan_selection": { + "selected": null, + "error": "infeasible. Search report: {\"solver_ms\":1.5}", + "rejected": [ + {"id": "joint-plan-2", "cause": "costlier", "reason": "r"}, + {"id": "joint-plan-1", "cause": "costlier", "reason": "r"}, + ], + }, + }); + assert_eq!( + snapshot_of(&document), + json!({ + "query": "sum(up)", + "accuracy_guarantees": "enforced", + "selected": null, + "error": "infeasible.", + "rejected": [{"cause": "costlier", "reason": "r"}], + "search_rejected": [], + }) + ); +} + +/// A search that used its whole wall-clock budget, or reports `time_limit` +/// (a round budget), is detected; one stopped by the evaluation budget, or +/// with no search report, is not. +#[test] +fn time_limit_detection() { + let report = |elapsed: f64, status: &str| { + json!({"stage3_plan_selection": {"search": {"candidate_connections": { + "full_planning_ms": elapsed, "time_limit_ms": 1000.0, "status": status, + }}}}) + }; + assert!(hit_time_limit(&report(1000.2, "refinement_limit"))); + assert!(hit_time_limit(&report(12.0, "time_limit"))); + assert!(!hit_time_limit(&report(12.0, "refinement_limit"))); + assert!(!hit_time_limit( + &json!({"stage3_plan_selection": {"error": "x"}}) + )); +} + +/// The failure message names the first differing line. +#[test] +fn first_difference_names_the_line() { + assert_eq!( + first_difference("a\nb\n", "a\nc\n"), + "line 2:\n - b\n + c" + ); + assert_eq!( + first_difference("a\n", "a\nb\n"), + "line 2:\n - \n + b" + ); +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json new file mode 100644 index 000000000..1b55ea4d7 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json @@ -0,0 +1,133 @@ +{ + "source": "crates/frontend-promql/tests/observability/data/o11y_bench_promql.txt", + "stage_pipeline_args": [ + "--enforce-accuracy-guarantees" + ], + "query_workload": { + "language": "promql", + "repeating_query": { + "demand": { + "fixed_interval": 60000 + }, + "requirements": { + "accuracy": { + "max_error": 0.01, + "failure_probability": 0.001 + } + }, + "predictability": { + "predictable": { + "known_at": null + } + }, + "range_evaluation": { + "step_ms": 60000, + "span_ms": 3600000 + } + } + }, + "data_workload": { + "sources": { + "http_requests_total": { + "sample_interval": 1000, + "series_count": 1000, + "metric_type": "counter" + }, + "http_request_duration_seconds_bucket": { + "sample_interval": 1000, + "series_count": 1000, + "metric_type": "counter" + }, + "service_cache_refresh_lag_seconds": { + "sample_interval": 1000, + "series_count": 1000, + "metric_type": "gauge" + }, + "service_retry_queue_depth": { + "sample_interval": 1000, + "series_count": 1000, + "metric_type": "gauge" + }, + "process_resident_memory_bytes": { + "sample_interval": 1000, + "series_count": 1000, + "metric_type": "gauge" + }, + "process_cpu_seconds_total": { + "sample_interval": 1000, + "series_count": 1000, + "metric_type": "counter" + }, + "up": { + "sample_interval": 1000, + "series_count": 1000, + "metric_type": "gauge" + } + }, + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + } + }, + "queries": [ + { + "id": "q02", + "query": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{job=\"order-service\"}[5m])) by (le))" + }, + { + "id": "q05", + "query": "max_over_time((sum(rate(http_requests_total{job=\"order-service\",status=~\"5..\"}[5m])) / sum(rate(http_requests_total{job=\"order-service\"}[5m])))[6h:1m])" + }, + { + "id": "q06", + "query": "max_over_time(histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{job=\"user-service\"}[5m])) by (le))[12h:1m])" + }, + { + "id": "q11", + "query": "max_over_time(sum(process_resident_memory_bytes)[6h:1m])" + }, + { + "id": "q12", + "query": "service_cache_refresh_lag_seconds{job=\"user-service\"}" + }, + { + "id": "q18", + "query": "sum(increase(http_requests_total{job=\"payment-service\",status=~\"5..\"}[1h] offset 6h)) / sum(increase(http_requests_total{job=\"payment-service\"}[1h] offset 6h))", + "skip_reason": "planning runs past the time limit on main (#1023)" + }, + { + "id": "q19", + "query": "sum(increase(http_requests_total{job=\"payment-service\",status=~\"5..\"}[1h])) / sum(increase(http_requests_total{job=\"payment-service\"}[1h]))" + }, + { + "id": "q20", + "query": "sum(process_resident_memory_bytes)" + }, + { + "id": "q21", + "query": "sum(rate(http_requests_total{job=\"order-service\"}[5m] offset 1h))", + "skip_reason": "a pane round can end on its wall-clock budget (status time_limit), so the result depends on machine speed; about 70 s and 400 MB on one core" + }, + { + "id": "q22", + "query": "sum(rate(http_requests_total{job=\"order-service\"}[5m]))" + }, + { + "id": "q23", + "query": "sum(rate(http_requests_total{job=~\"user-service|order-service|payment-service\"}[5m]))" + }, + { + "id": "q25", + "query": "sum(rate(http_requests_total{status=~\"5..\",job=~\"user-service|order-service|payment-service\"}[1h])) / sum(rate(http_requests_total{job=~\"user-service|order-service|payment-service\"}[1h]))" + }, + { + "id": "q26", + "query": "sum(rate(process_cpu_seconds_total[1h]))" + }, + { + "id": "q27", + "query": "sum(up)" + } + ] +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json new file mode 100644 index 000000000..4fbf612da --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json @@ -0,0 +1,1318 @@ +{ + "accuracy_guarantees": "enforced", + "materialized_views": [ + { + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 0, + "node_id": 2, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 1, + "node_id": 5, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 2, + "node_id": 8, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 3, + "node_id": 11, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 4, + "node_id": 14, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + } + ], + "pane_retention_ms": { + "1": 3900000 + }, + "proven_optimal": false, + "query": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{job=\"order-service\"}[5m])) by (le))", + "selected": { + "accepted": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ], + "cost": { + "cost_per_second": 0.481566859833, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.0000195666666667, + "per_node": { + "0": { + "cost_per_second": 0.0074, + "cpu_core_seconds_per_second": 7.4e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "1": { + "cost_per_second": 0.464, + "cpu_core_seconds_per_second": 2e-6, + "detail": "build exact Rate accumulator in 5 panes of 60000 ms for 1000 groups: 1000 rows x (1 + depth 1); x 1.0000/s; keeps 3696000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "2": { + "cost_per_second": 0.0050834045, + "cpu_core_seconds_per_second": 5.08333333333e-6, + "detail": "merge 5000 states into 1000; x 1.0167/s; holds 56000 bytes for 0.0 ms", + "multiplier": 1, + "operator": "SummaryMerge", + "price_source": "analytical", + "timing": "query_time" + }, + "3": { + "cost_per_second": 0.00101666666667, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.00101673783333, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1000 states: 1000 rows x depth 1; x 1.0167/s; holds 56000 bytes for 0.0 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "5": { + "cost_per_second": 0.00101666666667, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "6": { + "cost_per_second": 0.00203338416667, + "cpu_core_seconds_per_second": 2.03333333333e-6, + "detail": "hash aggregate 1000 rows into 1000 groups; x 1.0167/s; holds 40000 bytes for 0.0 ms", + "multiplier": 1, + "operator": "Aggregate", + "price_source": "analytical", + "timing": "query_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 3696001.54533, + "cpu_ops_per_second": 13166.6666667, + "disk_bytes": 0, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.01 + } + ], + "peak_cpu_cores": 2, + "peak_memory_bytes": 3848064, + "scanned_bytes_per_second": 64000.0 + } + }, + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [ + { + "Compare": { + "left": { + "Column": 2 + }, + "op": "Eq", + "right": { + "Literal": { + "Utf8": "order-service" + } + }, + "semantics": "promql" + } + } + ], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "pane_count": 5, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 3 + ] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 6, + "materialization": "NotMaterialized", + "output_schema": { + "closed": false, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "histogram_quantile", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 5, + "filters": [], + "having": null, + "measures": [ + { + "kind": "histogram_quantile", + "le": 0, + "q": 0.95 + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": { + "without": [ + 0 + ] + } + } + } + } + } + } + ], + "roots": [ + 6 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc + Rate acc ×5 panes · ingestion time: Rate acc for Q1, 5 × 1m panes" + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q05.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q05.json new file mode 100644 index 000000000..a26dc0dc6 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q05.json @@ -0,0 +1,8 @@ +{ + "accuracy_guarantees": "enforced", + "error": "MILP solver: candidate-connections: planning budget ended before either seed or complete search found a validated incumbent.", + "query": "max_over_time((sum(rate(http_requests_total{job=\"order-service\",status=~\"5..\"}[5m])) / sum(rate(http_requests_total{job=\"order-service\"}[5m])))[6h:1m])", + "rejected": [], + "search_rejected": [], + "selected": null +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q06.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q06.json new file mode 100644 index 000000000..e66c8366a --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q06.json @@ -0,0 +1,8 @@ +{ + "accuracy_guarantees": "enforced", + "error": "MILP solver: candidate-connections: planning budget ended before either seed or complete search found a validated incumbent.", + "query": "max_over_time(histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{job=\"user-service\"}[5m])) by (le))[12h:1m])", + "rejected": [], + "search_rejected": [], + "selected": null +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q11.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q11.json new file mode 100644 index 000000000..216bf9953 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q11.json @@ -0,0 +1,8 @@ +{ + "accuracy_guarantees": "enforced", + "error": "MILP solver: candidate-connections: generated candidate catalog is infeasible under the configured model.", + "query": "max_over_time(sum(process_resident_memory_bytes)[6h:1m])", + "rejected": [], + "search_rejected": [], + "selected": null +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q12.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q12.json new file mode 100644 index 000000000..793450243 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q12.json @@ -0,0 +1,348 @@ +{ + "accuracy_guarantees": "enforced", + "materialized_views": [], + "pane_retention_ms": {}, + "proven_optimal": true, + "query": "service_cache_refresh_lag_seconds{job=\"user-service\"}", + "selected": { + "accepted": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ], + "cost": { + "cost_per_second": 0.00691333341629, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 6.91333333333e-6, + "per_node": { + "0": { + "cost_per_second": 0.00589666670815, + "cpu_core_seconds_per_second": 5.89666666667e-6, + "detail": "scan 1000 samples; x 1.0167/s; keeps 48000 bytes of raw data on disk; holds 48 bytes for 0.0 ms", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "query_time" + }, + "1": { + "cost_per_second": 0.00101666670815, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "time range 1s: keep 1000 of 1000 rows; x 1.0167/s; holds 48 bytes for 0.0 ms", + "multiplier": 1, + "operator": "TimeRange", + "price_source": "analytical", + "timing": "query_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 0.00066368, + "cpu_ops_per_second": 2033.33333333, + "disk_bytes": 48000, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.0068 + } + ], + "peak_cpu_cores": 1, + "peak_memory_bytes": 96, + "scanned_bytes_per_second": 48800.0 + } + }, + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [ + { + "Compare": { + "left": { + "Column": 2 + }, + "op": "Eq", + "right": { + "Literal": { + "Utf8": "user-service" + } + }, + "semantics": "promql" + } + } + ], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "service_cache_refresh_lag_seconds" + } + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 1, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + } + } + ], + "roots": [ + 1 + ], + "scalar_roots": [] + }, + "display_name": "Q1 exact" + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json new file mode 100644 index 000000000..6407c1c06 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json @@ -0,0 +1,8059 @@ +{ + "accuracy_guarantees": "enforced", + "materialized_views": [ + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 2, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 5, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 8, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 11, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 14, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 17, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 20, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 23, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 26, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 29, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 600000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 32, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 660000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 35, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 720000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 38, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 780000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 41, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 840000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 44, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 900000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 47, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 960000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 50, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1020000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 53, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1080000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 56, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1140000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 59, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1200000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 62, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1260000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 65, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1320000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 68, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1380000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 71, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1440000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 74, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1500000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 77, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1560000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 80, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1620000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 83, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1680000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 86, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1740000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 89, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1800000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 92, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1860000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 95, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1920000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 98, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1980000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 101, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2040000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 104, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2100000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 107, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2160000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 110, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2220000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 113, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2280000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 116, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2340000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 119, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2400000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 122, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2460000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 125, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2520000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 128, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2580000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 131, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2640000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 134, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2700000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 137, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2760000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 140, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2820000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 143, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2880000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 146, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2940000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 149, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3000000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 152, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3060000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 155, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 158, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 161, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 164, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 167, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 170, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 173, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 176, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 179, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 186, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 189, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 192, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 195, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 198, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 201, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 204, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 207, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 210, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 213, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 600000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 216, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 660000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 219, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 720000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 222, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 780000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 225, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 840000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 228, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 900000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 231, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 960000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 234, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1020000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 237, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1080000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 240, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1140000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 243, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1200000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 246, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1260000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 249, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1320000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 252, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1380000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 255, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1440000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 258, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1500000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 261, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1560000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 264, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1620000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 267, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1680000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 270, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1740000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 273, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1800000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 276, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1860000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 279, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1920000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 282, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1980000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 285, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2040000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 288, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2100000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 291, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2160000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 294, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2220000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 297, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2280000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 300, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2340000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 303, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2400000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 306, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2460000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 309, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2520000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 312, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2580000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 315, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2640000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 318, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2700000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 321, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2760000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 324, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2820000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 327, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2880000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 330, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2940000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 333, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3000000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 336, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3060000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 339, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 342, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 345, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 348, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 351, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 354, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 357, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 360, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 363, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + } + ], + "pane_retention_ms": { + "1": 7200000, + "7": 7200000 + }, + "proven_optimal": false, + "query": "sum(increase(http_requests_total{job=\"payment-service\",status=~\"5..\"}[1h])) / sum(increase(http_requests_total{job=\"payment-service\"}[1h]))", + "selected": { + "accepted": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ], + "cost": { + "cost_per_second": 1.83727148353, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.000143269716667, + "per_node": { + "0": { + "cost_per_second": 0.0074, + "cpu_core_seconds_per_second": 7.4e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "1": { + "cost_per_second": 0.849, + "cpu_core_seconds_per_second": 2e-6, + "detail": "build exact Increase accumulator in 60 panes of 60000 ms for 1000 groups: 1000 rows x (1 + depth 1); x 1.0000/s; keeps 6776000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "10": { + "cost_per_second": 0.00101666754915, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1 states: 1000 rows x depth 1; x 1.0167/s; holds 56 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "11": { + "cost_per_second": 1.01666666667e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "12": { + "cost_per_second": 1.01679273638e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "operator: pass 1 rows; x 1.0167/s; holds 8 bytes for 0.1 ms", + "multiplier": 1, + "operator": "BinaryOp", + "price_source": "analytical", + "timing": "query_time" + }, + "2": { + "cost_per_second": 0.061000882488, + "cpu_core_seconds_per_second": 0.000061, + "detail": "merge 60000 states into 1000; x 1.0167/s; holds 56000 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryMerge", + "price_source": "analytical", + "timing": "query_time" + }, + "3": { + "cost_per_second": 0.00101666666667, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.00101666754915, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1 states: 1000 rows x depth 1; x 1.0167/s; holds 56 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "5": { + "cost_per_second": 1.01666666667e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "6": { + "cost_per_second": 0.0058, + "cpu_core_seconds_per_second": 5.8e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "7": { + "cost_per_second": 0.849, + "cpu_core_seconds_per_second": 2e-6, + "detail": "build exact Increase accumulator in 60 panes of 60000 ms for 1000 groups: 1000 rows x (1 + depth 1); x 1.0000/s; keeps 6776000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "8": { + "cost_per_second": 0.061000882488, + "cpu_core_seconds_per_second": 0.000061, + "detail": "merge 60000 states into 1000; x 1.0167/s; holds 56000 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryMerge", + "price_source": "analytical", + "timing": "query_time" + }, + "9": { + "cost_per_second": 0.00101666666667, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 13552014.1349, + "cpu_ops_per_second": 132069.716667, + "disk_bytes": 0, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.124003 + } + ], + "peak_cpu_cores": 2, + "peak_memory_bytes": 13664232, + "scanned_bytes_per_second": 112000.0 + } + }, + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 5, + "role": "Left", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 11, + "role": "Right", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [ + { + "Compare": { + "left": { + "Column": 2 + }, + "op": "Eq", + "right": { + "Literal": { + "Utf8": "payment-service" + } + }, + "semantics": "promql" + } + }, + { + "Compare": { + "left": { + "Column": 3 + }, + "op": "Regex", + "right": { + "Literal": { + "Utf8": "5.." + } + }, + "semantics": "promql" + } + } + ], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "pane_count": 60, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 6, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [ + { + "Compare": { + "left": { + "Column": 2 + }, + "op": "Eq", + "right": { + "Literal": { + "Utf8": "payment-service" + } + }, + "semantics": "promql" + } + } + ], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 6, + "family": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "pane_count": 60, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7 + ] + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 9, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 8 + } + } + } + }, + { + "guarantee": null, + "id": 10, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 11, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 10 + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 12, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "BinaryOp": { + "lhs": 5, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 11 + } + } + } + } + ], + "roots": [ + 12 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc + Increase acc ×60 panes · ingestion time: Increase acc for Q1, 60 × 1m panes, Increase acc for Q1, 60 × 1m panes" + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q20.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q20.json new file mode 100644 index 000000000..fa6086fe5 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q20.json @@ -0,0 +1,497 @@ +{ + "accuracy_guarantees": "enforced", + "materialized_views": [], + "pane_retention_ms": {}, + "proven_optimal": true, + "query": "sum(process_resident_memory_bytes)", + "selected": { + "accepted": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ], + "cost": { + "cost_per_second": 0.00630435009457, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 6.30435e-6, + "per_node": { + "0": { + "cost_per_second": 0.00427000002522, + "cpu_core_seconds_per_second": 4.27e-6, + "detail": "scan 1000 samples; x 1.0167/s; keeps 32000 bytes of raw data on disk; holds 32 bytes for 0.0 ms", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "query_time" + }, + "1": { + "cost_per_second": 0.00101666669188, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "time range 1s: keep 1000 of 1000 rows; x 1.0167/s; holds 32 bytes for 0.0 ms", + "multiplier": 1, + "operator": "TimeRange", + "price_source": "analytical", + "timing": "query_time" + }, + "2": { + "cost_per_second": 0.0010166667108, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1 states: 1000 rows x depth 1; x 1.0167/s; holds 56 bytes for 0.0 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "3": { + "cost_per_second": 1.01666666667e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 0.000756522, + "cpu_ops_per_second": 3051.01666667, + "disk_bytes": 32000, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.006201 + } + ], + "peak_cpu_cores": 1, + "peak_memory_bytes": 120, + "scanned_bytes_per_second": 32533.3333333 + } + }, + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "process_resident_memory_bytes" + } + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 1, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + } + ], + "roots": [ + 3 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc" + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json new file mode 100644 index 000000000..f149338cc --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json @@ -0,0 +1,1094 @@ +{ + "accuracy_guarantees": "enforced", + "materialized_views": [ + { + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 0, + "node_id": 2, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 1, + "node_id": 5, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 2, + "node_id": 8, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 3, + "node_id": 11, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 4, + "node_id": 14, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + } + ], + "pane_retention_ms": { + "1": 3900000 + }, + "proven_optimal": false, + "query": "sum(rate(http_requests_total{job=\"order-service\"}[5m]))", + "selected": { + "accepted": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ], + "cost": { + "cost_per_second": 0.476917733207, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.0000149176833333, + "per_node": { + "0": { + "cost_per_second": 0.0058, + "cpu_core_seconds_per_second": 5.8e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "1": { + "cost_per_second": 0.464, + "cpu_core_seconds_per_second": 2e-6, + "detail": "build exact Rate accumulator in 5 panes of 60000 ms for 1000 groups: 1000 rows x (1 + depth 1); x 1.0000/s; keeps 3696000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "2": { + "cost_per_second": 0.00508338315712, + "cpu_core_seconds_per_second": 5.08333333333e-6, + "detail": "merge 5000 states into 1000; x 1.0167/s; holds 56000 bytes for 0.0 ms", + "multiplier": 1, + "operator": "SummaryMerge", + "price_source": "analytical", + "timing": "query_time" + }, + "3": { + "cost_per_second": 0.00101666666667, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.00101666671649, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1 states: 1000 rows x depth 1; x 1.0167/s; holds 56 bytes for 0.0 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "5": { + "cost_per_second": 1.01666666667e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 3696000.39899, + "cpu_ops_per_second": 10117.6833333, + "disk_bytes": 0, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.007001 + } + ], + "peak_cpu_cores": 2, + "peak_memory_bytes": 3752104, + "scanned_bytes_per_second": 48000.0 + } + }, + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [ + { + "Compare": { + "left": { + "Column": 2 + }, + "op": "Eq", + "right": { + "Literal": { + "Utf8": "order-service" + } + }, + "semantics": "promql" + } + } + ], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "pane_count": 5, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + } + ], + "roots": [ + 5 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc + Rate acc ×5 panes · ingestion time: Rate acc for Q1, 5 × 1m panes" + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json new file mode 100644 index 000000000..6be0b5b7c --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json @@ -0,0 +1,1024 @@ +{ + "accuracy_guarantees": "enforced", + "materialized_views": [ + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 0, + "node_id": 2, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 1, + "node_id": 5, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 2, + "node_id": 8, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 3, + "node_id": 11, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 5, + "installed_position": 4, + "node_id": 14, + "refresh": "at_ingestion", + "retention_ms": 3900000, + "stage2_node_id": 1 + } + ], + "pane_retention_ms": { + "1": 3900000 + }, + "proven_optimal": false, + "query": "sum(rate(http_requests_total{job=~\"user-service|order-service|payment-service\"}[5m]))", + "selected": { + "accepted": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ], + "cost": { + "cost_per_second": 0.476917733207, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.0000149176833333, + "per_node": { + "0": { + "cost_per_second": 0.0058, + "cpu_core_seconds_per_second": 5.8e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "1": { + "cost_per_second": 0.464, + "cpu_core_seconds_per_second": 2e-6, + "detail": "build exact Rate accumulator in 5 panes of 60000 ms for 1000 groups: 1000 rows x (1 + depth 1); x 1.0000/s; keeps 3696000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "2": { + "cost_per_second": 0.00508338315712, + "cpu_core_seconds_per_second": 5.08333333333e-6, + "detail": "merge 5000 states into 1000; x 1.0167/s; holds 56000 bytes for 0.0 ms", + "multiplier": 1, + "operator": "SummaryMerge", + "price_source": "analytical", + "timing": "query_time" + }, + "3": { + "cost_per_second": 0.00101666666667, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.00101666671649, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1 states: 1000 rows x depth 1; x 1.0167/s; holds 56 bytes for 0.0 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "5": { + "cost_per_second": 1.01666666667e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 3696000.39899, + "cpu_ops_per_second": 10117.6833333, + "disk_bytes": 0, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.007001 + } + ], + "peak_cpu_cores": 2, + "peak_memory_bytes": 3752104, + "scanned_bytes_per_second": 48000.0 + } + }, + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [ + { + "Compare": { + "left": { + "Column": 2 + }, + "op": "Regex", + "right": { + "Literal": { + "Utf8": "user-service|order-service|payment-service" + } + }, + "semantics": "promql" + } + } + ], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "pane_count": 5, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + } + ], + "roots": [ + 5 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc + Rate acc ×5 panes · ingestion time: Rate acc for Q1, 5 × 1m panes" + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json new file mode 100644 index 000000000..5cf02606f --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json @@ -0,0 +1,6379 @@ +{ + "accuracy_guarantees": "enforced", + "materialized_views": [ + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 2, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 5, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 8, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 11, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 14, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 17, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 20, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 23, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 26, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 29, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 600000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 32, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 660000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 35, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 720000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 38, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 780000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 41, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 840000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 44, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 900000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 47, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 960000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 50, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1020000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 53, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1080000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 56, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1140000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 59, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1200000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 62, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1260000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 65, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1320000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 68, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1380000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 71, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1440000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 74, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1500000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 77, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1560000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 80, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1620000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 83, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1680000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 86, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1740000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 89, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1800000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 92, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1860000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 95, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1920000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 98, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1980000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 101, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2040000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 104, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2100000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 107, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2160000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 110, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2220000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 113, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2280000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 116, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2340000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 119, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2400000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 122, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2460000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 125, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2520000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 128, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2580000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 131, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2640000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 134, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2700000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 137, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2760000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 140, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2820000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 143, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2880000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 146, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2940000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 149, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3000000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 152, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3060000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 155, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 158, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 161, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 164, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 167, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 170, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 173, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 176, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 179, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 186, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 189, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 192, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 195, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 198, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 201, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 204, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 207, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 210, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 213, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 600000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 216, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 660000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 219, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 720000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 222, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 780000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 225, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 840000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 228, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 900000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 231, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 960000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 234, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1020000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 237, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1080000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 240, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1140000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 243, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1200000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 246, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1260000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 249, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1320000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 252, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1380000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 255, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1440000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 258, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1500000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 261, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1560000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 264, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1620000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 267, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1680000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 270, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1740000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 273, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1800000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 276, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1860000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 279, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1920000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 282, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1980000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 285, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2040000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 288, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2100000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 291, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2160000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 294, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2220000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 297, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2280000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 300, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2340000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 303, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2400000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 306, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2460000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 309, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2520000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 312, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2580000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 315, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2640000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 318, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2700000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 321, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2760000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 324, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2820000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 327, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2880000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 330, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2940000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 333, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3000000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 336, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3060000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 339, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 342, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 345, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 348, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 351, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 354, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 357, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 360, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 363, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 7 + } + ], + "pane_retention_ms": { + "1": 7200000, + "7": 7200000 + }, + "proven_optimal": false, + "query": "sum(rate(http_requests_total{status=~\"5..\",job=~\"user-service|order-service|payment-service\"}[1h])) / sum(rate(http_requests_total{job=~\"user-service|order-service|payment-service\"}[1h]))", + "selected": { + "accepted": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ], + "cost": { + "cost_per_second": 1.83727148353, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.000143269716667, + "per_node": { + "0": { + "cost_per_second": 0.0074, + "cpu_core_seconds_per_second": 7.4e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "1": { + "cost_per_second": 0.849, + "cpu_core_seconds_per_second": 2e-6, + "detail": "build exact Rate accumulator in 60 panes of 60000 ms for 1000 groups: 1000 rows x (1 + depth 1); x 1.0000/s; keeps 6776000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "10": { + "cost_per_second": 0.00101666754915, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1 states: 1000 rows x depth 1; x 1.0167/s; holds 56 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "11": { + "cost_per_second": 1.01666666667e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "12": { + "cost_per_second": 1.01679273638e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "operator: pass 1 rows; x 1.0167/s; holds 8 bytes for 0.1 ms", + "multiplier": 1, + "operator": "BinaryOp", + "price_source": "analytical", + "timing": "query_time" + }, + "2": { + "cost_per_second": 0.061000882488, + "cpu_core_seconds_per_second": 0.000061, + "detail": "merge 60000 states into 1000; x 1.0167/s; holds 56000 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryMerge", + "price_source": "analytical", + "timing": "query_time" + }, + "3": { + "cost_per_second": 0.00101666666667, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.00101666754915, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1 states: 1000 rows x depth 1; x 1.0167/s; holds 56 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "5": { + "cost_per_second": 1.01666666667e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "6": { + "cost_per_second": 0.0058, + "cpu_core_seconds_per_second": 5.8e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "7": { + "cost_per_second": 0.849, + "cpu_core_seconds_per_second": 2e-6, + "detail": "build exact Rate accumulator in 60 panes of 60000 ms for 1000 groups: 1000 rows x (1 + depth 1); x 1.0000/s; keeps 6776000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "8": { + "cost_per_second": 0.061000882488, + "cpu_core_seconds_per_second": 0.000061, + "detail": "merge 60000 states into 1000; x 1.0167/s; holds 56000 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryMerge", + "price_source": "analytical", + "timing": "query_time" + }, + "9": { + "cost_per_second": 0.00101666666667, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 13552014.1349, + "cpu_ops_per_second": 132069.716667, + "disk_bytes": 0, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.124003 + } + ], + "peak_cpu_cores": 2, + "peak_memory_bytes": 13664232, + "scanned_bytes_per_second": 112000.0 + } + }, + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 5, + "role": "Left", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 11, + "role": "Right", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [ + { + "Compare": { + "left": { + "Column": 2 + }, + "op": "Regex", + "right": { + "Literal": { + "Utf8": "user-service|order-service|payment-service" + } + }, + "semantics": "promql" + } + }, + { + "Compare": { + "left": { + "Column": 3 + }, + "op": "Regex", + "right": { + "Literal": { + "Utf8": "5.." + } + }, + "semantics": "promql" + } + } + ], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "pane_count": 60, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 6, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [ + { + "Compare": { + "left": { + "Column": 2 + }, + "op": "Regex", + "right": { + "Literal": { + "Utf8": "user-service|order-service|payment-service" + } + }, + "semantics": "promql" + } + } + ], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 6, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "pane_count": 60, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7 + ] + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 9, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 8 + } + } + } + }, + { + "guarantee": null, + "id": 10, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 11, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 10 + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 12, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "BinaryOp": { + "lhs": 5, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 11 + } + } + } + } + ], + "roots": [ + 12 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc + Rate acc ×60 panes · ingestion time: Rate acc for Q1, 60 × 1m panes, Rate acc for Q1, 60 × 1m panes" + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json new file mode 100644 index 000000000..44b9907e5 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json @@ -0,0 +1,3027 @@ +{ + "accuracy_guarantees": "enforced", + "materialized_views": [ + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 2, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 5, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 8, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 11, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 14, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 300000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 17, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 360000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 20, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 420000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 23, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 480000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 26, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 540000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 29, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 600000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 32, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 660000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 35, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 720000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 38, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 780000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 41, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 840000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 44, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 900000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 47, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 960000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 50, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1020000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 53, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1080000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 56, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1140000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 59, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1200000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 62, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1260000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 65, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1320000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 68, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1380000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 71, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1440000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 74, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1500000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 77, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1560000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 80, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1620000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 83, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1680000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 86, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1740000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 89, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1800000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 92, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1860000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 95, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1920000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 98, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1980000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 101, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2040000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 104, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2100000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 107, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2160000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 110, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2220000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 113, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2280000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 116, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2340000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 119, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2400000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 122, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2460000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 125, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2520000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 128, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2580000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 131, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2640000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 134, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2700000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 137, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2760000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 140, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2820000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 143, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2880000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 146, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2940000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 149, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3000000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 152, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3060000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 155, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3120000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 158, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3180000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 161, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3240000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 164, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3300000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 167, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3360000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 170, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3420000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 173, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3480000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 176, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3540000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 179, + "refresh": "at_ingestion", + "retention_ms": 7200000, + "stage2_node_id": 1 + } + ], + "pane_retention_ms": { + "1": 7200000 + }, + "proven_optimal": false, + "query": "sum(rate(process_cpu_seconds_total[1h]))", + "selected": { + "accepted": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ], + "cost": { + "cost_per_second": 0.916234791682, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.00006923435, + "per_node": { + "0": { + "cost_per_second": 0.0042, + "cpu_core_seconds_per_second": 4.2e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "1": { + "cost_per_second": 0.849, + "cpu_core_seconds_per_second": 2e-6, + "detail": "build exact Rate accumulator in 60 panes of 60000 ms for 1000 groups: 1000 rows x (1 + depth 1); x 1.0000/s; keeps 6776000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "2": { + "cost_per_second": 0.0610004412404, + "cpu_core_seconds_per_second": 0.000061, + "detail": "merge 60000 states into 1000; x 1.0167/s; holds 56000 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryMerge", + "price_source": "analytical", + "timing": "query_time" + }, + "3": { + "cost_per_second": 0.00101666666667, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.00101666710791, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1 states: 1000 rows x depth 1; x 1.0167/s; holds 56 bytes for 0.1 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "5": { + "cost_per_second": 1.01666666667e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 6776003.53345, + "cpu_ops_per_second": 66034.35, + "disk_bytes": 0, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.062001 + } + ], + "peak_cpu_cores": 2, + "peak_memory_bytes": 6832088, + "scanned_bytes_per_second": 32000.0 + } + }, + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "pane_count": 60, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + } + ], + "roots": [ + 5 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc + Rate acc ×60 panes · ingestion time: Rate acc for Q1, 60 × 1m panes" + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q27.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q27.json new file mode 100644 index 000000000..5a891d56f --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q27.json @@ -0,0 +1,497 @@ +{ + "accuracy_guarantees": "enforced", + "materialized_views": [], + "pane_retention_ms": {}, + "proven_optimal": true, + "query": "sum(up)", + "selected": { + "accepted": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ], + "cost": { + "cost_per_second": 0.00630435009457, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 6.30435e-6, + "per_node": { + "0": { + "cost_per_second": 0.00427000002522, + "cpu_core_seconds_per_second": 4.27e-6, + "detail": "scan 1000 samples; x 1.0167/s; keeps 32000 bytes of raw data on disk; holds 32 bytes for 0.0 ms", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "query_time" + }, + "1": { + "cost_per_second": 0.00101666669188, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "time range 1s: keep 1000 of 1000 rows; x 1.0167/s; holds 32 bytes for 0.0 ms", + "multiplier": 1, + "operator": "TimeRange", + "price_source": "analytical", + "timing": "query_time" + }, + "2": { + "cost_per_second": 0.0010166667108, + "cpu_core_seconds_per_second": 1.01666666667e-6, + "detail": "build exact Sum accumulator into 1 states: 1000 rows x depth 1; x 1.0167/s; holds 56 bytes for 0.0 ms", + "multiplier": 1, + "operator": "SummaryAgg", + "price_source": "analytical", + "timing": "query_time" + }, + "3": { + "cost_per_second": 1.01666666667e-6, + "cpu_core_seconds_per_second": 1.01666666667e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 0.000756522, + "cpu_ops_per_second": 3051.01666667, + "disk_bytes": 32000, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.006201 + } + ], + "peak_cpu_cores": 1, + "peak_memory_bytes": 120, + "scanned_bytes_per_second": 32533.3333333 + } + }, + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "up" + } + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 1, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact accumulator over exact input" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + } + ], + "roots": [ + 3 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc" + } +} diff --git a/docs/develop_docs/README.md b/docs/develop_docs/README.md index ec6907a21..ce3e42161 100644 --- a/docs/develop_docs/README.md +++ b/docs/develop_docs/README.md @@ -13,6 +13,7 @@ formats, evidence, and verification workflows. - [Offline sketch evidence](offline-sketch-evidence.md) - [Metrics-observability corpora](metrics-observability-corpora.md) - [Physical compile coverage for deployment computation](physical-compile-coverage.md) +- [Planner snapshots](planner-snapshots.md) Historical records of removed APIs: diff --git a/docs/develop_docs/planner-snapshots.md b/docs/develop_docs/planner-snapshots.md new file mode 100644 index 000000000..2a690ed1b --- /dev/null +++ b/docs/develop_docs/planner-snapshots.md @@ -0,0 +1,69 @@ +# Planner snapshots + +The planner has no reference answer to test against, so CI pins what it +produces. For each query in a corpus, the plan that `stage_pipeline` selects +(default search) is committed as a snapshot. A PR that changes any of these +plans fails the `corpus-snapshots` CI job until the snapshots are regenerated +and the change is explained. + +## Layout + +`crates/devtools/tests/corpus_snapshots//`: + +- `corpus.json`: the inputs shared by the corpus's queries (`stage_pipeline_args`, + the repeating-query entry and the `data_workload`), and the queries, each + with a stable `id`. Each query is planned on its own. A query with a + `skip_reason` entry (saying why) is skipped and has no snapshot. +- `.json`: that query's snapshot, pretty-printed with sorted keys. + +## What a snapshot holds + +Only the plan, which must not change between runs: + +- `query` and `accuracy_guarantees`; +- `selected`: the selected Stage 2 candidate's `display_name` and `dag`, its + `cost` (`cost_per_second`, `usage`, `per_node`) and `accepted` accuracy; +- `proven_optimal`: whether the search proved the plan optimal (its status is + `optimal`) rather than stopping at an evaluation budget; +- `materialized_views`, `pane_retention_ms` and any `warnings`; +- for a query that does not plan, `selected: null`, the `error` up to its + embedded search report, and the causes and reasons of the rejections. + +Floats are rounded to 12 significant digits. Everything about the search +except whether it proved the plan optimal is left out: candidate ids (such as +`pane-round-12-joint-plan-1`), the search report's counters, bounds and timings, the Stage 1 and Stage 2 +candidate lists, and the memo (`stage_pipeline` runs with `--no-memo`). These +vary from run to run because the search's pane-width rounds have wall-clock +budgets, so a different round can find the same plan. + +## When the check fails + +The test names each changed query and its first differing line. CI uploads +the regenerated snapshots, with each one's full `stage_pipeline` document +(`.document.json`, which [`tools/dag-viewer`](../../tools/dag-viewer/README.md) +opens), as the `corpus-snapshots` artifact. + +If the change is intended, regenerate the snapshots and commit them: + +```sh +UPDATE_SNAPSHOTS=1 cargo test --release -p asap-devtools --test corpus_snapshots -- --ignored +``` + +Then list each changed query and why it changed under **Snapshot changes** in +the PR description. + +The test also fails, instead of recording a snapshot, in these cases: + +- A query's search was ended by a wall-clock budget: its status is + `time_limit`, or planning used the whole 240 s limit. Its plan would then + depend on machine speed. Only the final pane round's status is checked: an + earlier round cut short by its own wall-clock budget is not reported. +- A snapshot file has no matching checked query in `corpus.json`. +- `stage_pipeline` crashed. + +## Adding queries + +Add the query to `corpus.json` with a new `id` and regenerate. Before you +commit, run the check twice, plus once on one core (`taskset -c 0`), and confirm +it passes each time. Keep each query well under the 240 s limit on one core +with a release build; otherwise give it a `skip_reason`.