From 881f9896797f288f89de635d7d1df132fa6df4f3 Mon Sep 17 00:00:00 2001 From: Milind Srivastava Date: Tue, 27 Oct 2026 11:36:36 -0400 Subject: [PATCH 1/7] test(devtools): add planner corpus snapshot harness The planner has no reference answer, so pin its output instead: each corpus query's stage_pipeline document (default search) is compared with a committed snapshot. Timings are stripped and a run stopped by the wall-clock budget fails, so snapshots do not depend on machine speed. UPDATE_SNAPSHOTS=1 regenerates them. Part of #941. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01CKYtMxgJTLtPW9uAqPpiEG --- crates/devtools/tests/corpus_snapshots.rs | 257 ++++++++++++++++++++++ 1 file changed, 257 insertions(+) create mode 100644 crates/devtools/tests/corpus_snapshots.rs diff --git a/crates/devtools/tests/corpus_snapshots.rs b/crates/devtools/tests/corpus_snapshots.rs new file mode 100644 index 000000000..f7e589aec --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots.rs @@ -0,0 +1,257 @@ +//! 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 `stage_pipeline` document (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 must not depend on the machine: the search report's timings are +//! dropped, and a run the wall-clock budget stopped fails instead of being +//! recorded, so only the evaluation budget can end a search. + +use std::path::{Path, PathBuf}; +use std::process::Command; + +use serde_json::{json, Value}; + +/// Far above any corpus query's planning time, so it never binds. +const TIME_LIMIT_S: &str = "600"; + +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` 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]) + .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, not the evaluation budget, ended the search. +fn hit_time_limit(document: &Value) -> bool { + let report = &document["stage3_plan_selection"]["search"]["candidate_connections"]; + match ( + report["full_planning_ms"].as_f64(), + report["time_limit_ms"].as_f64(), + ) { + (Some(elapsed), Some(limit)) => elapsed >= limit, + _ => false, + } +} + +/// Drops the search report's timings (`*_ms`), the only fields that differ +/// between runs of the same workload. A failed selection's error also embeds +/// the report, timings included; it is cut off there, since `search` has it. +fn strip_timings(document: &mut Value) { + if let Some(Value::String(error)) = document.pointer_mut("/stage3_plan_selection/error") { + if let Some(at) = error.find(" Search report: ") { + error.truncate(at); + } + } + fn strip(value: &mut Value) { + match value { + Value::Object(map) => { + map.retain(|key, _| !key.ends_with("_ms")); + map.values_mut().for_each(strip); + } + Value::Array(items) => items.iter_mut().for_each(strip), + _ => {} + } + } + if let Some(search) = document.pointer_mut("/stage3_plan_selection/search") { + strip(search); + } +} + +/// 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 document 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, for CI to upload. + let regenerated = PathBuf::from(env!("CARGO_TARGET_TMPDIR")).join("corpus_snapshots"); + 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(); + let queries = corpus["queries"].as_array().unwrap(); + let ids: Vec<&str> = queries.iter().map(|q| q["id"].as_str().unwrap()).collect(); + + // A snapshot whose query left the manifest 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 query with id {id}")); + } + } + } + + for query in queries { + let id = query["id"].as_str().unwrap(); + let mut 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; + } + strip_timings(&mut document); + let actual = serde_json::to_string_pretty(&document).unwrap() + "\n"; + let path = dir.join(format!("{id}.json")); + if update { + std::fs::write(&path, &actual).unwrap(); + continue; + } + let Ok(expected) = std::fs::read_to_string(&path) else { + failures.push(format!("{name}/{id}: no snapshot {}", path.display())); + continue; + }; + 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(); + 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") + ); +} + +/// Only the search report's timings, and the report embedded in a selection +/// error, are dropped; `_ms` inputs elsewhere stay. +#[test] +fn strip_timings_keeps_inputs() { + let mut document = json!({ + "workload": {"queries": [{"range_evaluation": {"step_ms": 60000}}]}, + "stage3_plan_selection": { + "pane_retention_ms": {"3": 60000}, + "error": "infeasible. Search report: {\"solver_ms\":1.5}", + "search": {"candidate_connections": {"solver_ms": 1.5, "refinements": 128}}, + }, + }); + strip_timings(&mut document); + assert_eq!( + document, + json!({ + "workload": {"queries": [{"range_evaluation": {"step_ms": 60000}}]}, + "stage3_plan_selection": { + "pane_retention_ms": {"3": 60000}, + "error": "infeasible.", + "search": {"candidate_connections": {"refinements": 128}}, + }, + }) + ); +} + +/// A search that used its whole wall-clock 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| { + json!({"stage3_plan_selection": {"search": {"candidate_connections": { + "full_planning_ms": elapsed, "time_limit_ms": 1000.0, + }}}}) + }; + assert!(hit_time_limit(&report(1000.2))); + assert!(!hit_time_limit(&report(12.0))); + 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" + ); +} From 4f3595d2c288d0b24727cfa15088a1d9c58a8e26 Mon Sep 17 00:00:00 2001 From: Milind Srivastava Date: Tue, 27 Oct 2026 11:51:22 -0400 Subject: [PATCH 2/7] test(devtools): snapshot 14 o11y-bench queries The o11y-bench queries that default search plans in under 10 s and 500 MB, each on its own, with declared source facts for the corpus metrics. Queries 05, 06 and 11 select no plan and are recorded as failure snapshots. Checked deterministic across two runs and a single-core run. Part of #941. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01CKYtMxgJTLtPW9uAqPpiEG --- .../corpus_snapshots/o11y_bench/corpus.json | 131 + .../corpus_snapshots/o11y_bench/q02.json | 2533 ++++ .../corpus_snapshots/o11y_bench/q05.json | 993 ++ .../corpus_snapshots/o11y_bench/q06.json | 710 ++ .../corpus_snapshots/o11y_bench/q11.json | 501 + .../corpus_snapshots/o11y_bench/q12.json | 1003 ++ .../corpus_snapshots/o11y_bench/q18.json | 10241 ++++++++++++++++ .../corpus_snapshots/o11y_bench/q19.json | 9650 +++++++++++++++ .../corpus_snapshots/o11y_bench/q20.json | 1212 ++ .../corpus_snapshots/o11y_bench/q21.json | 2370 ++++ .../corpus_snapshots/o11y_bench/q22.json | 2095 ++++ .../corpus_snapshots/o11y_bench/q23.json | 2025 +++ .../corpus_snapshots/o11y_bench/q25.json | 7970 ++++++++++++ .../corpus_snapshots/o11y_bench/q26.json | 3761 ++++++ .../corpus_snapshots/o11y_bench/q27.json | 1212 ++ 15 files changed, 46407 insertions(+) create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q05.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q06.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q11.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q12.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q18.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q20.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q21.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json create mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q27.json 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..070defc48 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json @@ -0,0 +1,131 @@ +{ + "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))" + }, + { + "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))" + }, + { + "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..27528832d --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json @@ -0,0 +1,2533 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 300 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 3 + ] + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "kind": "histogram_quantile", + "le": 0, + "q": 0.95 + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": { + "without": [ + 0 + ] + } + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": false, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "histogram_quantile", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 4 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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 + ] + } + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 5, + "filters": [], + "having": null, + "measures": [ + { + "kind": "histogram_quantile", + "le": 0, + "q": 0.95 + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": { + "without": [ + 0 + ] + } + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": false, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "histogram_quantile", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 6 + } + ] + }, + "display_name": "Q1 Sum acc + Rate acc ×5 panes", + "id": "pane-round-9-joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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 ×5 panes", + "from_logical": "pane-round-9-joint-logical-1", + "id": "pane-round-9-joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "pane-round-9-joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "pane-round-9-joint-plan-1": { + "cost_per_second": 0.4815668598333333, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.000019566666666666663, + "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.0050834044999999994, + "cpu_core_seconds_per_second": 5.083333333333333e-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.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.0010167378333333333, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "6": { + "cost_per_second": 0.002033384166666666, + "cpu_core_seconds_per_second": 2.033333333333333e-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.545333334, + "cpu_ops_per_second": 13166.666666666666, + "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 + } + } + }, + "front": [], + "pane_retention_ms": { + "1": 3900000 + }, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 252, + "direct_cost_best_validated_cost": 0.4815668598333333, + "direct_cost_fallback_reasons": [], + "direct_cost_solve_calls": 10, + "direct_cost_validated_plans": 10, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 5, + "immediate_candidates": 130, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", + "joint_price_solve_calls": 10, + "logical_candidates": 46, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }", + "Expanding { max_parts: 1024 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 4342, + "peak_milp_variables": 1753, + "physical_configurations": 172, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 132, + "status": "time_or_evaluation_limit_with_validated_incumbent", + "stored_supplier_ids": 171, + "structurally_removed_candidates": 129, + "structurally_removed_connections": 211, + "supplier_sets": 89, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 128, + "incumbent_cost": 0.4815668598333333, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "pane-round-9-joint-plan-1", + "stored_outputs": [ + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 0, + "scan_node_id": 0, + "time_range_node_id": 1, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 0, + "node_id": 2, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 60000, + "scan_node_id": 0, + "time_range_node_id": 4, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 1, + "node_id": 5, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 120000, + "scan_node_id": 0, + "time_range_node_id": 7, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 2, + "node_id": 8, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 180000, + "scan_node_id": 0, + "time_range_node_id": 10, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 3, + "node_id": 11, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 240000, + "scan_node_id": 0, + "time_range_node_id": 13, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 4, + "node_id": 14, + "retention_ms": 3900000, + "stage2_node_id": 1 + } + ] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": null, + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{job=\"order-service\"}[5m])) by (le))" + } + ] + } +} 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..5774251b5 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q05.json @@ -0,0 +1,993 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Scan": { + "predicates": [ + { + "Compare": { + "left": { + "Column": 2 + }, + "op": "Eq", + "right": { + "Literal": { + "Utf8": "order-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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 300 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 4, + "kind": "range", + "range": { + "nanos": 0, + "secs": 300 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 5, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 6, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "BinaryOp": { + "lhs": 3, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 7 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "PromqlSubquery": { + "child": 8, + "range": { + "nanos": 0, + "secs": 21600 + }, + "resolution": { + "nanos": 0, + "secs": 60 + } + } + } + }, + "result_kind": "range_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 9, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "max" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 10 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [], + "capped": false, + "combinations": 0, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [], + "pruned": [] + }, + "stage3_plan_selection": { + "costs": {}, + "error": "MILP solver: candidate-connections: planning budget ended before either seed or complete search found a validated incumbent.", + "rejected": [], + "search": { + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 447, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 11, + "immediate_candidates": 232, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 512 }", + "joint_price_solve_calls": 0, + "logical_candidates": 83, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 1512, + "peak_milp_variables": 1061, + "physical_configurations": 306, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 129, + "status": "pane_width_domain_incomplete", + "stored_supplier_ids": 305, + "structurally_removed_candidates": 230, + "structurally_removed_connections": 375, + "supplier_sets": 161, + "validation_rejection_counts": { + "executor_cannot_compile": 128 + }, + "validation_rejection_examples": [ + "executor_cannot_compile: raw-sample window of node 1 is unsupported: a subquery or a TimeShift above the range" + ] + } + }, + "selected": null, + "stored_outputs": [] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "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])" + } + ] + } +} 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..33c7988bd --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q06.json @@ -0,0 +1,710 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 300 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 3 + ] + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "kind": "histogram_quantile", + "le": 0, + "q": 0.95 + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": { + "without": [ + 0 + ] + } + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": false, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "histogram_quantile", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "PromqlSubquery": { + "child": 4, + "range": { + "nanos": 0, + "secs": 43200 + }, + "resolution": { + "nanos": 0, + "secs": 60 + } + } + } + }, + "result_kind": "range_vector", + "schema": { + "closed": false, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "histogram_quantile", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 5, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "max" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": false, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 6 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [], + "capped": false, + "combinations": 0, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [], + "pruned": [] + }, + "stage3_plan_selection": { + "costs": {}, + "error": "MILP solver: candidate-connections: planning budget ended before either seed or complete search found a validated incumbent.", + "rejected": [], + "search": { + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 255, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 7, + "immediate_candidates": 133, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", + "joint_price_solve_calls": 0, + "logical_candidates": 48, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }", + "Expanding { max_parts: 1024 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 865, + "peak_milp_variables": 607, + "physical_configurations": 175, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 131, + "status": "pane_width_domain_incomplete", + "stored_supplier_ids": 174, + "structurally_removed_candidates": 132, + "structurally_removed_connections": 214, + "supplier_sets": 92, + "validation_rejection_counts": { + "executor_cannot_compile": 128 + }, + "validation_rejection_examples": [ + "executor_cannot_compile: raw-sample window of node 1 is unsupported: a subquery or a TimeShift above the range" + ] + } + }, + "selected": null, + "stored_outputs": [] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "max_over_time(histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{job=\"user-service\"}[5m])) by (le))[12h:1m])" + } + ] + } +} 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..8eb48407d --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q11.json @@ -0,0 +1,501 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "PromqlSubquery": { + "child": 2, + "range": { + "nanos": 0, + "secs": 21600 + }, + "resolution": { + "nanos": 0, + "secs": 60 + } + } + } + }, + "result_kind": "range_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "max" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 4 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [], + "capped": false, + "combinations": 0, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [], + "pruned": [] + }, + "stage3_plan_selection": { + "costs": {}, + "error": "MILP solver: candidate-connections: generated candidate catalog is infeasible under the configured model.", + "rejected": [], + "search": { + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": null, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 6, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": null, + "full_catalog_completed": true, + "groups": 5, + "immediate_candidates": 7, + "independent_components": 1, + "inventory_pane_width_domain": "Complete", + "joint_price_solve_calls": 0, + "logical_candidates": 5, + "lower_bound": 0.0, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "Complete" + ], + "pane_widths_pending": false, + "peak_milp_constraints": 29, + "peak_milp_variables": 22, + "physical_configurations": 7, + "refinements": 1, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 3, + "status": "infeasible_under_configured_model", + "stored_supplier_ids": 6, + "structurally_removed_candidates": 7, + "structurally_removed_connections": 6, + "supplier_sets": 6, + "validation_rejection_counts": { + "executor_cannot_compile": 1 + }, + "validation_rejection_examples": [ + "executor_cannot_compile: raw-sample window of node 1 is unsupported: a subquery or a TimeShift above the range" + ] + } + }, + "selected": null, + "stored_outputs": [] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "max_over_time(sum(process_resident_memory_bytes)[6h:1m])" + } + ] + } +} 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..7f58aaa85 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q12.json @@ -0,0 +1,1003 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 1 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 1 + } + ] + }, + "display_name": "Q1 exact", + "id": "joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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", + "from_logical": "joint-logical-1", + "id": "joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "joint-plan-1": { + "cost_per_second": 0.006913333416293332, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 6.913333333333332e-6, + "per_node": { + "0": { + "cost_per_second": 0.0058966667081466655, + "cpu_core_seconds_per_second": 5.8966666666666655e-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.0010166667081466666, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0006636799999999999, + "cpu_ops_per_second": 2033.3333333333333, + "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 + } + } + }, + "front": [], + "pane_retention_ms": {}, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": null, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 1, + "direct_cost_best_validated_cost": 0.006913333416293332, + "direct_cost_fallback_reasons": [], + "direct_cost_solve_calls": 1, + "direct_cost_validated_plans": 1, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 0, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": null, + "full_catalog_completed": true, + "groups": 2, + "immediate_candidates": 2, + "independent_components": 1, + "inventory_pane_width_domain": "Complete", + "joint_price_solve_calls": 1, + "logical_candidates": 2, + "lower_bound": 0.006913333416293332, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "Complete" + ], + "pane_widths_pending": false, + "peak_milp_constraints": 47, + "peak_milp_variables": 22, + "physical_configurations": 2, + "refinements": 1, + "relative_gap": 0.0, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 3, + "status": "optimal", + "stored_supplier_ids": 1, + "structurally_removed_candidates": 2, + "structurally_removed_connections": 1, + "supplier_sets": 1, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 1, + "incumbent_cost": 0.006913333416293332, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "joint-plan-1", + "stored_outputs": [] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "service_cache_refresh_lag_seconds{job=\"user-service\"}" + } + ] + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q18.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q18.json new file mode 100644 index 000000000..eab1b0aa1 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q18.json @@ -0,0 +1,10241 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 21600000 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 1, + "kind": "range", + "range": { + "nanos": 0, + "secs": 3600 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "kind": "increase" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 21600000 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 3600 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 7, + "filters": [], + "having": null, + "measures": [ + { + "kind": "increase" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 8, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "BinaryOp": { + "lhs": 4, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 9 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 10 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 21600000 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "PaneChain": { + "child": 1, + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 2 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryAgg": { + "child": 4, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 5 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeShift": { + "child": 7, + "shift": { + "at": null, + "offset_ms": 21600000 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "PaneChain": { + "child": 8, + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 9 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 10 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 12 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "BinaryOp": { + "lhs": 6, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 13 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 14 + } + ] + }, + "display_name": "Q1 Sum acc + Increase acc ×60 panes", + "id": "pane-round-8-joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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": "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": 1, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 3, + "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": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "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": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "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": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "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": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "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": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "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": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "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": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "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": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "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": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "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": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "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": 6, + "role": "Left", + "window": "NotApplicable" + }, + { + "consumer": 14, + "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": 13, + "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": { + "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": "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": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 21600000 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "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": 1, + "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": 3, + "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": [ + 2 + ] + } + } + } + }, + { + "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": 4, + "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": 3 + } + } + } + }, + { + "guarantee": null, + "id": 5, + "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": 4, + "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": 6, + "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": 5 + } + } + } + }, + { + "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": 7, + "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": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "id": 8, + "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": { + "TimeShift": { + "child": 7, + "shift": { + "at": null, + "offset_ms": 21600000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "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": 8, + "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": 10, + "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": [ + 9 + ] + } + } + } + }, + { + "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": "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": 10 + } + } + } + }, + { + "guarantee": null, + "id": 12, + "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": 11, + "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": 13, + "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": 12 + } + } + } + }, + { + "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": 14, + "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": 6, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 13 + } + } + } + } + ], + "roots": [ + 14 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc + Increase acc ×60 panes · ingestion time: Increase acc ×60 panes, Increase acc ×60 panes", + "from_logical": "pane-round-8-joint-logical-1", + "id": "pane-round-8-joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "pane-round-8-joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "pane-round-8-joint-plan-1": { + "cost_per_second": 6.877271483533745, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.00014326971666666667, + "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.0, + "cpu_core_seconds_per_second": 0.0, + "detail": "time shift: pass 1000 rows, free; x 1.0000/s", + "multiplier": 1, + "operator": "TimeShift", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "10": { + "cost_per_second": 0.06100088248801666, + "cpu_core_seconds_per_second": 0.00006099999999999999, + "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" + }, + "11": { + "cost_per_second": 0.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "12": { + "cost_per_second": 0.0010166675491546833, + "cpu_core_seconds_per_second": 1.0166666666666663e-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" + }, + "13": { + "cost_per_second": 1.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "14": { + "cost_per_second": 1.0167927363833333e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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": 3.369, + "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 26936000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "3": { + "cost_per_second": 0.06100088248801666, + "cpu_core_seconds_per_second": 0.00006099999999999999, + "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" + }, + "4": { + "cost_per_second": 0.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "5": { + "cost_per_second": 0.0010166675491546833, + "cpu_core_seconds_per_second": 1.0166666666666663e-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" + }, + "6": { + "cost_per_second": 1.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "7": { + "cost_per_second": 0.0058, + "cpu_core_seconds_per_second": 5.7999999999999995e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "8": { + "cost_per_second": 0.0, + "cpu_core_seconds_per_second": 0.0, + "detail": "time shift: pass 1000 rows, free; x 1.0000/s", + "multiplier": 1, + "operator": "TimeShift", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "9": { + "cost_per_second": 3.369, + "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 26936000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + } + }, + "source": "analytical-cost-v2 (illustrative statistics)", + "usage": { + "average_memory_bytes": 53872014.13493663, + "cpu_ops_per_second": 132069.71666666665, + "disk_bytes": 0, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.124003 + } + ], + "peak_cpu_cores": 2, + "peak_memory_bytes": 53984232, + "scanned_bytes_per_second": 112000.0 + } + } + }, + "front": [], + "pane_retention_ms": { + "2": 28800000, + "9": 28800000 + }, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 590, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 11, + "immediate_candidates": 303, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 512 }", + "joint_price_solve_calls": 0, + "logical_candidates": 83, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 2084, + "peak_milp_variables": 1490, + "physical_configurations": 449, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 129, + "status": "time_or_evaluation_limit_with_validated_incumbent", + "stored_supplier_ids": 448, + "structurally_removed_candidates": 229, + "structurally_removed_connections": 374, + "supplier_sets": 304, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 128, + "incumbent_cost": 6.877271483533745, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "pane-round-8-joint-plan-1", + "stored_outputs": [ + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21660000 + }, + { + "included": -21600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21600000, + "scan_node_id": 0, + "time_range_node_id": 2, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 3, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21720000 + }, + { + "included": -21660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21660000, + "scan_node_id": 0, + "time_range_node_id": 5, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 6, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21780000 + }, + { + "included": -21720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21720000, + "scan_node_id": 0, + "time_range_node_id": 8, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 9, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21840000 + }, + { + "included": -21780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21780000, + "scan_node_id": 0, + "time_range_node_id": 11, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 12, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21900000 + }, + { + "included": -21840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21840000, + "scan_node_id": 0, + "time_range_node_id": 14, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 15, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21960000 + }, + { + "included": -21900000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21900000, + "scan_node_id": 0, + "time_range_node_id": 17, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 18, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22020000 + }, + { + "included": -21960000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21960000, + "scan_node_id": 0, + "time_range_node_id": 20, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 21, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22080000 + }, + { + "included": -22020000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22020000, + "scan_node_id": 0, + "time_range_node_id": 23, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 24, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22140000 + }, + { + "included": -22080000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22080000, + "scan_node_id": 0, + "time_range_node_id": 26, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 27, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22200000 + }, + { + "included": -22140000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22140000, + "scan_node_id": 0, + "time_range_node_id": 29, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 30, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22260000 + }, + { + "included": -22200000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22200000, + "scan_node_id": 0, + "time_range_node_id": 32, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 33, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22320000 + }, + { + "included": -22260000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22260000, + "scan_node_id": 0, + "time_range_node_id": 35, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 36, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22380000 + }, + { + "included": -22320000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22320000, + "scan_node_id": 0, + "time_range_node_id": 38, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 39, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22440000 + }, + { + "included": -22380000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22380000, + "scan_node_id": 0, + "time_range_node_id": 41, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 42, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22500000 + }, + { + "included": -22440000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22440000, + "scan_node_id": 0, + "time_range_node_id": 44, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 45, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22560000 + }, + { + "included": -22500000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22500000, + "scan_node_id": 0, + "time_range_node_id": 47, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 48, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22620000 + }, + { + "included": -22560000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22560000, + "scan_node_id": 0, + "time_range_node_id": 50, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 51, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22680000 + }, + { + "included": -22620000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22620000, + "scan_node_id": 0, + "time_range_node_id": 53, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 54, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22740000 + }, + { + "included": -22680000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22680000, + "scan_node_id": 0, + "time_range_node_id": 56, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 57, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22800000 + }, + { + "included": -22740000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22740000, + "scan_node_id": 0, + "time_range_node_id": 59, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 60, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22860000 + }, + { + "included": -22800000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22800000, + "scan_node_id": 0, + "time_range_node_id": 62, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 63, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22920000 + }, + { + "included": -22860000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22860000, + "scan_node_id": 0, + "time_range_node_id": 65, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 66, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22980000 + }, + { + "included": -22920000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22920000, + "scan_node_id": 0, + "time_range_node_id": 68, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 69, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23040000 + }, + { + "included": -22980000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22980000, + "scan_node_id": 0, + "time_range_node_id": 71, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 72, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23100000 + }, + { + "included": -23040000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23040000, + "scan_node_id": 0, + "time_range_node_id": 74, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 75, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23160000 + }, + { + "included": -23100000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23100000, + "scan_node_id": 0, + "time_range_node_id": 77, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 78, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23220000 + }, + { + "included": -23160000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23160000, + "scan_node_id": 0, + "time_range_node_id": 80, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 81, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23280000 + }, + { + "included": -23220000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23220000, + "scan_node_id": 0, + "time_range_node_id": 83, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 84, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23340000 + }, + { + "included": -23280000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23280000, + "scan_node_id": 0, + "time_range_node_id": 86, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 87, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23400000 + }, + { + "included": -23340000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23340000, + "scan_node_id": 0, + "time_range_node_id": 89, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 90, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23460000 + }, + { + "included": -23400000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23400000, + "scan_node_id": 0, + "time_range_node_id": 92, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 93, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23520000 + }, + { + "included": -23460000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23460000, + "scan_node_id": 0, + "time_range_node_id": 95, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 96, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23580000 + }, + { + "included": -23520000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23520000, + "scan_node_id": 0, + "time_range_node_id": 98, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 99, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23640000 + }, + { + "included": -23580000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23580000, + "scan_node_id": 0, + "time_range_node_id": 101, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 102, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23700000 + }, + { + "included": -23640000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23640000, + "scan_node_id": 0, + "time_range_node_id": 104, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 105, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23760000 + }, + { + "included": -23700000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23700000, + "scan_node_id": 0, + "time_range_node_id": 107, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 108, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23820000 + }, + { + "included": -23760000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23760000, + "scan_node_id": 0, + "time_range_node_id": 110, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 111, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23880000 + }, + { + "included": -23820000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23820000, + "scan_node_id": 0, + "time_range_node_id": 113, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 114, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23940000 + }, + { + "included": -23880000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23880000, + "scan_node_id": 0, + "time_range_node_id": 116, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 117, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24000000 + }, + { + "included": -23940000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23940000, + "scan_node_id": 0, + "time_range_node_id": 119, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 120, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24060000 + }, + { + "included": -24000000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24000000, + "scan_node_id": 0, + "time_range_node_id": 122, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 123, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24120000 + }, + { + "included": -24060000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24060000, + "scan_node_id": 0, + "time_range_node_id": 125, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 126, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24180000 + }, + { + "included": -24120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24120000, + "scan_node_id": 0, + "time_range_node_id": 128, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 129, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24240000 + }, + { + "included": -24180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24180000, + "scan_node_id": 0, + "time_range_node_id": 131, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 132, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24300000 + }, + { + "included": -24240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24240000, + "scan_node_id": 0, + "time_range_node_id": 134, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 135, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24360000 + }, + { + "included": -24300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24300000, + "scan_node_id": 0, + "time_range_node_id": 137, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 138, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24420000 + }, + { + "included": -24360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24360000, + "scan_node_id": 0, + "time_range_node_id": 140, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 141, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24480000 + }, + { + "included": -24420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24420000, + "scan_node_id": 0, + "time_range_node_id": 143, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 144, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24540000 + }, + { + "included": -24480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24480000, + "scan_node_id": 0, + "time_range_node_id": 146, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 147, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24600000 + }, + { + "included": -24540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24540000, + "scan_node_id": 0, + "time_range_node_id": 149, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 150, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24660000 + }, + { + "included": -24600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24600000, + "scan_node_id": 0, + "time_range_node_id": 152, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 153, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24720000 + }, + { + "included": -24660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24660000, + "scan_node_id": 0, + "time_range_node_id": 155, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 156, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24780000 + }, + { + "included": -24720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24720000, + "scan_node_id": 0, + "time_range_node_id": 158, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 159, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24840000 + }, + { + "included": -24780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24780000, + "scan_node_id": 0, + "time_range_node_id": 161, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 162, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24900000 + }, + { + "included": -24840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24840000, + "scan_node_id": 0, + "time_range_node_id": 164, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 165, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24960000 + }, + { + "included": -24900000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24900000, + "scan_node_id": 0, + "time_range_node_id": 167, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 168, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -25020000 + }, + { + "included": -24960000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24960000, + "scan_node_id": 0, + "time_range_node_id": 170, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 171, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -25080000 + }, + { + "included": -25020000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 25020000, + "scan_node_id": 0, + "time_range_node_id": 173, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 174, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -25140000 + }, + { + "included": -25080000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 25080000, + "scan_node_id": 0, + "time_range_node_id": 176, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 177, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -25200000 + }, + { + "included": -25140000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 25140000, + "scan_node_id": 0, + "time_range_node_id": 179, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 180, + "retention_ms": 28800000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21660000 + }, + { + "included": -21600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21600000, + "scan_node_id": 185, + "time_range_node_id": 187, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 188, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21720000 + }, + { + "included": -21660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21660000, + "scan_node_id": 185, + "time_range_node_id": 190, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 191, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21780000 + }, + { + "included": -21720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21720000, + "scan_node_id": 185, + "time_range_node_id": 193, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 194, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21840000 + }, + { + "included": -21780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21780000, + "scan_node_id": 185, + "time_range_node_id": 196, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 197, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21900000 + }, + { + "included": -21840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21840000, + "scan_node_id": 185, + "time_range_node_id": 199, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 200, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -21960000 + }, + { + "included": -21900000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21900000, + "scan_node_id": 185, + "time_range_node_id": 202, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 203, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22020000 + }, + { + "included": -21960000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 21960000, + "scan_node_id": 185, + "time_range_node_id": 205, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 206, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22080000 + }, + { + "included": -22020000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22020000, + "scan_node_id": 185, + "time_range_node_id": 208, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 209, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22140000 + }, + { + "included": -22080000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22080000, + "scan_node_id": 185, + "time_range_node_id": 211, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 212, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22200000 + }, + { + "included": -22140000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22140000, + "scan_node_id": 185, + "time_range_node_id": 214, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 215, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22260000 + }, + { + "included": -22200000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22200000, + "scan_node_id": 185, + "time_range_node_id": 217, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 218, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22320000 + }, + { + "included": -22260000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22260000, + "scan_node_id": 185, + "time_range_node_id": 220, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 221, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22380000 + }, + { + "included": -22320000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22320000, + "scan_node_id": 185, + "time_range_node_id": 223, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 224, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22440000 + }, + { + "included": -22380000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22380000, + "scan_node_id": 185, + "time_range_node_id": 226, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 227, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22500000 + }, + { + "included": -22440000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22440000, + "scan_node_id": 185, + "time_range_node_id": 229, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 230, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22560000 + }, + { + "included": -22500000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22500000, + "scan_node_id": 185, + "time_range_node_id": 232, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 233, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22620000 + }, + { + "included": -22560000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22560000, + "scan_node_id": 185, + "time_range_node_id": 235, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 236, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22680000 + }, + { + "included": -22620000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22620000, + "scan_node_id": 185, + "time_range_node_id": 238, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 239, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22740000 + }, + { + "included": -22680000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22680000, + "scan_node_id": 185, + "time_range_node_id": 241, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 242, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22800000 + }, + { + "included": -22740000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22740000, + "scan_node_id": 185, + "time_range_node_id": 244, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 245, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22860000 + }, + { + "included": -22800000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22800000, + "scan_node_id": 185, + "time_range_node_id": 247, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 248, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22920000 + }, + { + "included": -22860000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22860000, + "scan_node_id": 185, + "time_range_node_id": 250, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 251, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -22980000 + }, + { + "included": -22920000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22920000, + "scan_node_id": 185, + "time_range_node_id": 253, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 254, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23040000 + }, + { + "included": -22980000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 22980000, + "scan_node_id": 185, + "time_range_node_id": 256, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 257, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23100000 + }, + { + "included": -23040000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23040000, + "scan_node_id": 185, + "time_range_node_id": 259, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 260, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23160000 + }, + { + "included": -23100000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23100000, + "scan_node_id": 185, + "time_range_node_id": 262, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 263, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23220000 + }, + { + "included": -23160000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23160000, + "scan_node_id": 185, + "time_range_node_id": 265, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 266, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23280000 + }, + { + "included": -23220000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23220000, + "scan_node_id": 185, + "time_range_node_id": 268, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 269, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23340000 + }, + { + "included": -23280000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23280000, + "scan_node_id": 185, + "time_range_node_id": 271, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 272, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23400000 + }, + { + "included": -23340000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23340000, + "scan_node_id": 185, + "time_range_node_id": 274, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 275, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23460000 + }, + { + "included": -23400000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23400000, + "scan_node_id": 185, + "time_range_node_id": 277, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 278, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23520000 + }, + { + "included": -23460000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23460000, + "scan_node_id": 185, + "time_range_node_id": 280, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 281, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23580000 + }, + { + "included": -23520000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23520000, + "scan_node_id": 185, + "time_range_node_id": 283, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 284, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23640000 + }, + { + "included": -23580000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23580000, + "scan_node_id": 185, + "time_range_node_id": 286, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 287, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23700000 + }, + { + "included": -23640000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23640000, + "scan_node_id": 185, + "time_range_node_id": 289, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 290, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23760000 + }, + { + "included": -23700000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23700000, + "scan_node_id": 185, + "time_range_node_id": 292, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 293, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23820000 + }, + { + "included": -23760000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23760000, + "scan_node_id": 185, + "time_range_node_id": 295, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 296, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23880000 + }, + { + "included": -23820000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23820000, + "scan_node_id": 185, + "time_range_node_id": 298, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 299, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -23940000 + }, + { + "included": -23880000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23880000, + "scan_node_id": 185, + "time_range_node_id": 301, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 302, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24000000 + }, + { + "included": -23940000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 23940000, + "scan_node_id": 185, + "time_range_node_id": 304, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 305, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24060000 + }, + { + "included": -24000000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24000000, + "scan_node_id": 185, + "time_range_node_id": 307, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 308, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24120000 + }, + { + "included": -24060000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24060000, + "scan_node_id": 185, + "time_range_node_id": 310, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 311, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24180000 + }, + { + "included": -24120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24120000, + "scan_node_id": 185, + "time_range_node_id": 313, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 314, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24240000 + }, + { + "included": -24180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24180000, + "scan_node_id": 185, + "time_range_node_id": 316, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 317, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24300000 + }, + { + "included": -24240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24240000, + "scan_node_id": 185, + "time_range_node_id": 319, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 320, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24360000 + }, + { + "included": -24300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24300000, + "scan_node_id": 185, + "time_range_node_id": 322, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 323, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24420000 + }, + { + "included": -24360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24360000, + "scan_node_id": 185, + "time_range_node_id": 325, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 326, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24480000 + }, + { + "included": -24420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24420000, + "scan_node_id": 185, + "time_range_node_id": 328, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 329, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24540000 + }, + { + "included": -24480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24480000, + "scan_node_id": 185, + "time_range_node_id": 331, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 332, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24600000 + }, + { + "included": -24540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24540000, + "scan_node_id": 185, + "time_range_node_id": 334, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 335, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24660000 + }, + { + "included": -24600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24600000, + "scan_node_id": 185, + "time_range_node_id": 337, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 338, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24720000 + }, + { + "included": -24660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24660000, + "scan_node_id": 185, + "time_range_node_id": 340, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 341, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24780000 + }, + { + "included": -24720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24720000, + "scan_node_id": 185, + "time_range_node_id": 343, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 344, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24840000 + }, + { + "included": -24780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24780000, + "scan_node_id": 185, + "time_range_node_id": 346, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 347, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24900000 + }, + { + "included": -24840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24840000, + "scan_node_id": 185, + "time_range_node_id": 349, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 350, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -24960000 + }, + { + "included": -24900000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24900000, + "scan_node_id": 185, + "time_range_node_id": 352, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 353, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -25020000 + }, + { + "included": -24960000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 24960000, + "scan_node_id": 185, + "time_range_node_id": 355, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 356, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -25080000 + }, + { + "included": -25020000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 25020000, + "scan_node_id": 185, + "time_range_node_id": 358, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 359, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -25140000 + }, + { + "included": -25080000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 25080000, + "scan_node_id": 185, + "time_range_node_id": 361, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 362, + "retention_ms": 28800000, + "stage2_node_id": 9 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -25200000 + }, + { + "included": -25140000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 25140000, + "scan_node_id": 185, + "time_range_node_id": 364, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 365, + "retention_ms": 28800000, + "stage2_node_id": 9 + } + ] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "sum(increase(http_requests_total{job=\"payment-service\",status=~\"5..\"}[1h] offset 6h)) / sum(increase(http_requests_total{job=\"payment-service\"}[1h] offset 6h))" + } + ] + } +} 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..b52cfe815 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json @@ -0,0 +1,9650 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 3600 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "increase" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 4, + "kind": "range", + "range": { + "nanos": 0, + "secs": 3600 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 5, + "filters": [], + "having": null, + "measures": [ + { + "kind": "increase" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 6, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "BinaryOp": { + "lhs": 3, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 7 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 8 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 8 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 10 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "BinaryOp": { + "lhs": 5, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 11 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 12 + } + ] + }, + "display_name": "Q1 Sum acc + Increase acc ×60 panes", + "id": "pane-round-8-joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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 ×60 panes, Increase acc ×60 panes", + "from_logical": "pane-round-8-joint-logical-1", + "id": "pane-round-8-joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "pane-round-8-joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "pane-round-8-joint-plan-1": { + "cost_per_second": 1.8372714835337456, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.00014326971666666667, + "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.0010166675491546833, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "12": { + "cost_per_second": 1.0167927363833333e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.06100088248801666, + "cpu_core_seconds_per_second": 0.00006099999999999999, + "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.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.0010166675491546833, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.7999999999999995e-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.06100088248801666, + "cpu_core_seconds_per_second": 0.00006099999999999999, + "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.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.134936633, + "cpu_ops_per_second": 132069.71666666665, + "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 + } + } + }, + "front": [], + "pane_retention_ms": { + "1": 7200000, + "7": 7200000 + }, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 444, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.21924003e-1, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=9.1924003e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.692400299999999e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.912400299999999e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.576400299999999e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.3844003e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.2884003e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.2404003e-2, rate_weight=1e0, request=0e0" + ], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 9, + "immediate_candidates": 229, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 512 }", + "joint_price_solve_calls": 9, + "logical_candidates": 81, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 1500, + "peak_milp_variables": 1052, + "physical_configurations": 303, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 129, + "status": "time_or_evaluation_limit_with_validated_incumbent", + "stored_supplier_ids": 302, + "structurally_removed_candidates": 227, + "structurally_removed_connections": 372, + "supplier_sets": 158, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 128, + "incumbent_cost": 1.8372714835337456, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "pane-round-8-joint-plan-1", + "stored_outputs": [ + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 0, + "scan_node_id": 0, + "time_range_node_id": 1, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 2, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 60000, + "scan_node_id": 0, + "time_range_node_id": 4, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 5, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 120000, + "scan_node_id": 0, + "time_range_node_id": 7, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 8, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 180000, + "scan_node_id": 0, + "time_range_node_id": 10, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 11, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 240000, + "scan_node_id": 0, + "time_range_node_id": 13, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 14, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 300000, + "scan_node_id": 0, + "time_range_node_id": 16, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 17, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 360000, + "scan_node_id": 0, + "time_range_node_id": 19, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 20, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 420000, + "scan_node_id": 0, + "time_range_node_id": 22, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 23, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 480000, + "scan_node_id": 0, + "time_range_node_id": 25, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 26, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 540000, + "scan_node_id": 0, + "time_range_node_id": 28, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 29, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 600000, + "scan_node_id": 0, + "time_range_node_id": 31, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 32, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 660000, + "scan_node_id": 0, + "time_range_node_id": 34, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 35, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 720000, + "scan_node_id": 0, + "time_range_node_id": 37, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 38, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 780000, + "scan_node_id": 0, + "time_range_node_id": 40, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 41, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 840000, + "scan_node_id": 0, + "time_range_node_id": 43, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 44, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 900000, + "scan_node_id": 0, + "time_range_node_id": 46, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 47, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 960000, + "scan_node_id": 0, + "time_range_node_id": 49, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 50, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1020000, + "scan_node_id": 0, + "time_range_node_id": 52, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 53, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1080000, + "scan_node_id": 0, + "time_range_node_id": 55, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 56, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1140000, + "scan_node_id": 0, + "time_range_node_id": 58, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 59, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1200000, + "scan_node_id": 0, + "time_range_node_id": 61, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 62, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1260000, + "scan_node_id": 0, + "time_range_node_id": 64, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 65, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1320000, + "scan_node_id": 0, + "time_range_node_id": 67, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 68, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1380000, + "scan_node_id": 0, + "time_range_node_id": 70, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 71, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1440000, + "scan_node_id": 0, + "time_range_node_id": 73, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 74, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1500000, + "scan_node_id": 0, + "time_range_node_id": 76, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 77, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1560000, + "scan_node_id": 0, + "time_range_node_id": 79, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 80, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1620000, + "scan_node_id": 0, + "time_range_node_id": 82, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 83, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1680000, + "scan_node_id": 0, + "time_range_node_id": 85, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 86, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1740000, + "scan_node_id": 0, + "time_range_node_id": 88, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 89, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1800000, + "scan_node_id": 0, + "time_range_node_id": 91, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 92, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1860000, + "scan_node_id": 0, + "time_range_node_id": 94, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 95, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1920000, + "scan_node_id": 0, + "time_range_node_id": 97, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 98, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1980000, + "scan_node_id": 0, + "time_range_node_id": 100, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 101, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2040000, + "scan_node_id": 0, + "time_range_node_id": 103, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 104, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2100000, + "scan_node_id": 0, + "time_range_node_id": 106, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 107, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2160000, + "scan_node_id": 0, + "time_range_node_id": 109, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 110, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2220000, + "scan_node_id": 0, + "time_range_node_id": 112, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 113, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2280000, + "scan_node_id": 0, + "time_range_node_id": 115, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 116, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2340000, + "scan_node_id": 0, + "time_range_node_id": 118, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 119, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2400000, + "scan_node_id": 0, + "time_range_node_id": 121, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 122, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2460000, + "scan_node_id": 0, + "time_range_node_id": 124, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 125, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2520000, + "scan_node_id": 0, + "time_range_node_id": 127, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 128, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2580000, + "scan_node_id": 0, + "time_range_node_id": 130, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 131, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2640000, + "scan_node_id": 0, + "time_range_node_id": 133, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 134, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2700000, + "scan_node_id": 0, + "time_range_node_id": 136, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 137, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2760000, + "scan_node_id": 0, + "time_range_node_id": 139, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 140, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2820000, + "scan_node_id": 0, + "time_range_node_id": 142, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 143, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2880000, + "scan_node_id": 0, + "time_range_node_id": 145, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 146, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2940000, + "scan_node_id": 0, + "time_range_node_id": 148, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 149, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3000000, + "scan_node_id": 0, + "time_range_node_id": 151, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 152, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3060000, + "scan_node_id": 0, + "time_range_node_id": 154, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 155, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3120000, + "scan_node_id": 0, + "time_range_node_id": 157, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 158, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3180000, + "scan_node_id": 0, + "time_range_node_id": 160, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 161, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3240000, + "scan_node_id": 0, + "time_range_node_id": 163, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 164, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3300000, + "scan_node_id": 0, + "time_range_node_id": 166, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 167, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3360000, + "scan_node_id": 0, + "time_range_node_id": 169, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 170, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3420000, + "scan_node_id": 0, + "time_range_node_id": 172, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 173, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3480000, + "scan_node_id": 0, + "time_range_node_id": 175, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 176, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3540000, + "scan_node_id": 0, + "time_range_node_id": 178, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 179, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 0, + "scan_node_id": 184, + "time_range_node_id": 185, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 186, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 60000, + "scan_node_id": 184, + "time_range_node_id": 188, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 189, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 120000, + "scan_node_id": 184, + "time_range_node_id": 191, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 192, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 180000, + "scan_node_id": 184, + "time_range_node_id": 194, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 195, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 240000, + "scan_node_id": 184, + "time_range_node_id": 197, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 198, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 300000, + "scan_node_id": 184, + "time_range_node_id": 200, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 201, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 360000, + "scan_node_id": 184, + "time_range_node_id": 203, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 204, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 420000, + "scan_node_id": 184, + "time_range_node_id": 206, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 207, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 480000, + "scan_node_id": 184, + "time_range_node_id": 209, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 210, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 540000, + "scan_node_id": 184, + "time_range_node_id": 212, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 213, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 600000, + "scan_node_id": 184, + "time_range_node_id": 215, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 216, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 660000, + "scan_node_id": 184, + "time_range_node_id": 218, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 219, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 720000, + "scan_node_id": 184, + "time_range_node_id": 221, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 222, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 780000, + "scan_node_id": 184, + "time_range_node_id": 224, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 225, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 840000, + "scan_node_id": 184, + "time_range_node_id": 227, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 228, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 900000, + "scan_node_id": 184, + "time_range_node_id": 230, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 231, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 960000, + "scan_node_id": 184, + "time_range_node_id": 233, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 234, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1020000, + "scan_node_id": 184, + "time_range_node_id": 236, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 237, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1080000, + "scan_node_id": 184, + "time_range_node_id": 239, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 240, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1140000, + "scan_node_id": 184, + "time_range_node_id": 242, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 243, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1200000, + "scan_node_id": 184, + "time_range_node_id": 245, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 246, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1260000, + "scan_node_id": 184, + "time_range_node_id": 248, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 249, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1320000, + "scan_node_id": 184, + "time_range_node_id": 251, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 252, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1380000, + "scan_node_id": 184, + "time_range_node_id": 254, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 255, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1440000, + "scan_node_id": 184, + "time_range_node_id": 257, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 258, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1500000, + "scan_node_id": 184, + "time_range_node_id": 260, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 261, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1560000, + "scan_node_id": 184, + "time_range_node_id": 263, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 264, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1620000, + "scan_node_id": 184, + "time_range_node_id": 266, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 267, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1680000, + "scan_node_id": 184, + "time_range_node_id": 269, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 270, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1740000, + "scan_node_id": 184, + "time_range_node_id": 272, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 273, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1800000, + "scan_node_id": 184, + "time_range_node_id": 275, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 276, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1860000, + "scan_node_id": 184, + "time_range_node_id": 278, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 279, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1920000, + "scan_node_id": 184, + "time_range_node_id": 281, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 282, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1980000, + "scan_node_id": 184, + "time_range_node_id": 284, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 285, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2040000, + "scan_node_id": 184, + "time_range_node_id": 287, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 288, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2100000, + "scan_node_id": 184, + "time_range_node_id": 290, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 291, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2160000, + "scan_node_id": 184, + "time_range_node_id": 293, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 294, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2220000, + "scan_node_id": 184, + "time_range_node_id": 296, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 297, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2280000, + "scan_node_id": 184, + "time_range_node_id": 299, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 300, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2340000, + "scan_node_id": 184, + "time_range_node_id": 302, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 303, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2400000, + "scan_node_id": 184, + "time_range_node_id": 305, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 306, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2460000, + "scan_node_id": 184, + "time_range_node_id": 308, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 309, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2520000, + "scan_node_id": 184, + "time_range_node_id": 311, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 312, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2580000, + "scan_node_id": 184, + "time_range_node_id": 314, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 315, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2640000, + "scan_node_id": 184, + "time_range_node_id": 317, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 318, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2700000, + "scan_node_id": 184, + "time_range_node_id": 320, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 321, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2760000, + "scan_node_id": 184, + "time_range_node_id": 323, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 324, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2820000, + "scan_node_id": 184, + "time_range_node_id": 326, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 327, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2880000, + "scan_node_id": 184, + "time_range_node_id": 329, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 330, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2940000, + "scan_node_id": 184, + "time_range_node_id": 332, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 333, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3000000, + "scan_node_id": 184, + "time_range_node_id": 335, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 336, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3060000, + "scan_node_id": 184, + "time_range_node_id": 338, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 339, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3120000, + "scan_node_id": 184, + "time_range_node_id": 341, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 342, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3180000, + "scan_node_id": 184, + "time_range_node_id": 344, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 345, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3240000, + "scan_node_id": 184, + "time_range_node_id": 347, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 348, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3300000, + "scan_node_id": 184, + "time_range_node_id": 350, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 351, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3360000, + "scan_node_id": 184, + "time_range_node_id": 353, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 354, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3420000, + "scan_node_id": 184, + "time_range_node_id": 356, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 357, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3480000, + "scan_node_id": 184, + "time_range_node_id": 359, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 360, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3540000, + "scan_node_id": 184, + "time_range_node_id": 362, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 363, + "retention_ms": 7200000, + "stage2_node_id": 7 + } + ] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "sum(increase(http_requests_total{job=\"payment-service\",status=~\"5..\"}[1h])) / sum(increase(http_requests_total{job=\"payment-service\"}[1h]))" + } + ] + } +} 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..30cf9da22 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q20.json @@ -0,0 +1,1212 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 2 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 3 + } + ] + }, + "display_name": "Q1 Sum acc", + "id": "joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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", + "from_logical": "joint-logical-1", + "id": "joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "joint-plan-1": { + "cost_per_second": 0.00630435009456525, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 6.304349999999999e-6, + "per_node": { + "0": { + "cost_per_second": 0.0042700000252174, + "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.0010166666918840666, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0010166667107971163, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0007565219999999999, + "cpu_ops_per_second": 3051.016666666667, + "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.333333333332 + } + } + }, + "front": [], + "pane_retention_ms": {}, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": null, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 3, + "direct_cost_best_validated_cost": 0.00630435009456525, + "direct_cost_fallback_reasons": [], + "direct_cost_solve_calls": 1, + "direct_cost_validated_plans": 1, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": null, + "full_catalog_completed": true, + "groups": 3, + "immediate_candidates": 4, + "independent_components": 1, + "inventory_pane_width_domain": "Complete", + "joint_price_solve_calls": 1, + "logical_candidates": 3, + "lower_bound": 0.00630435009456525, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "Complete" + ], + "pane_widths_pending": false, + "peak_milp_constraints": 89, + "peak_milp_variables": 40, + "physical_configurations": 4, + "refinements": 1, + "relative_gap": 0.0, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 3, + "status": "optimal", + "stored_supplier_ids": 3, + "structurally_removed_candidates": 4, + "structurally_removed_connections": 3, + "supplier_sets": 3, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 1, + "incumbent_cost": 0.00630435009456525, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "joint-plan-1", + "stored_outputs": [] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "sum(process_resident_memory_bytes)" + } + ] + } +} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q21.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q21.json new file mode 100644 index 000000000..3fd426642 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q21.json @@ -0,0 +1,2370 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 3600000 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 1, + "kind": "range", + "range": { + "nanos": 0, + "secs": 300 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 4 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 3600000 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "PaneChain": { + "child": 1, + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 2 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryAgg": { + "child": 4, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 5 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 6 + } + ] + }, + "display_name": "Q1 Sum acc + Rate acc ×5 panes", + "id": "pane-round-9-joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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": "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": 1, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 3, + "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": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "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": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "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": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "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": 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": "$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": { + "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": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 3600000 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "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": 1, + "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": 3, + "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": [ + 2 + ] + } + } + } + }, + { + "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": 4, + "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": 3 + } + } + } + }, + { + "guarantee": null, + "id": 5, + "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": 4, + "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": 6, + "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": 5 + } + } + } + } + ], + "roots": [ + 6 + ], + "scalar_roots": [] + }, + "display_name": "Q1 Sum acc + Rate acc ×5 panes · ingestion time: Rate acc ×5 panes", + "from_logical": "pane-round-9-joint-logical-1", + "id": "pane-round-9-joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "pane-round-9-joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "pane-round-9-joint-plan-1": { + "cost_per_second": 0.8969177332069405, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.000014917683333333333, + "per_node": { + "0": { + "cost_per_second": 0.0058, + "cpu_core_seconds_per_second": 5.7999999999999995e-6, + "detail": "scan 1000 samples; x 1.0000/s", + "multiplier": 1, + "operator": "Scan", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "1": { + "cost_per_second": 0.0, + "cpu_core_seconds_per_second": 0.0, + "detail": "time shift: pass 1000 rows, free; x 1.0000/s", + "multiplier": 1, + "operator": "TimeShift", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "2": { + "cost_per_second": 0.884, + "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 7056000 bytes", + "multiplier": 1, + "operator": "PaneChain", + "price_source": "analytical", + "timing": "ingestion_time" + }, + "3": { + "cost_per_second": 0.005083383157116666, + "cpu_core_seconds_per_second": 5.083333333333333e-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" + }, + "4": { + "cost_per_second": 0.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "5": { + "cost_per_second": 0.00101666671649045, + "cpu_core_seconds_per_second": 1.0166666666666663e-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" + }, + "6": { + "cost_per_second": 1.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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": 7056000.398988857, + "cpu_ops_per_second": 10117.683333333332, + "disk_bytes": 0, + "latency_per_query": [ + { + "compaction_ms": 0.0, + "query_ms": 0.007001 + } + ], + "peak_cpu_cores": 2, + "peak_memory_bytes": 7112104, + "scanned_bytes_per_second": 48000.0 + } + } + }, + "front": [], + "pane_retention_ms": { + "2": 7500000 + }, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 334, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 5, + "immediate_candidates": 171, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", + "joint_price_solve_calls": 0, + "logical_candidates": 46, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }", + "Expanding { max_parts: 1024 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 1181, + "peak_milp_variables": 844, + "physical_configurations": 254, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 131, + "status": "time_or_evaluation_limit_with_validated_incumbent", + "stored_supplier_ids": 253, + "structurally_removed_candidates": 129, + "structurally_removed_connections": 211, + "supplier_sets": 171, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 128, + "incumbent_cost": 0.8969177332069405, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "pane-round-9-joint-plan-1", + "stored_outputs": [ + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3660000 + }, + { + "included": -3600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3600000, + "scan_node_id": 0, + "time_range_node_id": 2, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 0, + "node_id": 3, + "retention_ms": 7500000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3720000 + }, + { + "included": -3660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3660000, + "scan_node_id": 0, + "time_range_node_id": 5, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 1, + "node_id": 6, + "retention_ms": 7500000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3780000 + }, + { + "included": -3720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3720000, + "scan_node_id": 0, + "time_range_node_id": 8, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 2, + "node_id": 9, + "retention_ms": 7500000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3840000 + }, + { + "included": -3780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3780000, + "scan_node_id": 0, + "time_range_node_id": 11, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 3, + "node_id": 12, + "retention_ms": 7500000, + "stage2_node_id": 2 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -3900000 + }, + { + "included": -3840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3840000, + "scan_node_id": 0, + "time_range_node_id": 14, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 4, + "node_id": 15, + "retention_ms": 7500000, + "stage2_node_id": 2 + } + ] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "sum(rate(http_requests_total{job=\"order-service\"}[5m] offset 1h))" + } + ] + } +} 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..dad9e9c75 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json @@ -0,0 +1,2095 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 300 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 3 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 5 + } + ] + }, + "display_name": "Q1 Sum acc + Rate acc ×5 panes", + "id": "pane-round-9-joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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 ×5 panes", + "from_logical": "pane-round-9-joint-logical-1", + "id": "pane-round-9-joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "pane-round-9-joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "pane-round-9-joint-plan-1": { + "cost_per_second": 0.4769177332069405, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.000014917683333333333, + "per_node": { + "0": { + "cost_per_second": 0.0058, + "cpu_core_seconds_per_second": 5.7999999999999995e-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.005083383157116666, + "cpu_core_seconds_per_second": 5.083333333333333e-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.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.00101666671649045, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.398988857, + "cpu_ops_per_second": 10117.683333333332, + "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 + } + } + }, + "front": [], + "pane_retention_ms": { + "1": 3900000 + }, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 251, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.342001000000001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=4.842001000000001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.5920010000000005e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9670010000000004e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.642001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5020010000000002e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.4220010000000004e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.3820010000000003e-3, rate_weight=1e0, request=0e0" + ], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 4, + "immediate_candidates": 129, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", + "joint_price_solve_calls": 10, + "logical_candidates": 45, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }", + "Expanding { max_parts: 1024 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 849, + "peak_milp_variables": 595, + "physical_configurations": 171, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 131, + "status": "time_or_evaluation_limit_with_validated_incumbent", + "stored_supplier_ids": 170, + "structurally_removed_candidates": 128, + "structurally_removed_connections": 210, + "supplier_sets": 88, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 128, + "incumbent_cost": 0.4769177332069405, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "pane-round-9-joint-plan-1", + "stored_outputs": [ + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 0, + "scan_node_id": 0, + "time_range_node_id": 1, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 0, + "node_id": 2, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 60000, + "scan_node_id": 0, + "time_range_node_id": 4, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 1, + "node_id": 5, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 120000, + "scan_node_id": 0, + "time_range_node_id": 7, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 2, + "node_id": 8, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 180000, + "scan_node_id": 0, + "time_range_node_id": 10, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 3, + "node_id": 11, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 240000, + "scan_node_id": 0, + "time_range_node_id": 13, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 4, + "node_id": 14, + "retention_ms": 3900000, + "stage2_node_id": 1 + } + ] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "sum(rate(http_requests_total{job=\"order-service\"}[5m]))" + } + ] + } +} 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..2a2fb7be1 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json @@ -0,0 +1,2025 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 300 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 3 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 5 + } + ] + }, + "display_name": "Q1 Sum acc + Rate acc ×5 panes", + "id": "pane-round-9-joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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 ×5 panes", + "from_logical": "pane-round-9-joint-logical-1", + "id": "pane-round-9-joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "pane-round-9-joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "pane-round-9-joint-plan-1": { + "cost_per_second": 0.4769177332069405, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.000014917683333333333, + "per_node": { + "0": { + "cost_per_second": 0.0058, + "cpu_core_seconds_per_second": 5.7999999999999995e-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.005083383157116666, + "cpu_core_seconds_per_second": 5.083333333333333e-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.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.00101666671649045, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.398988857, + "cpu_ops_per_second": 10117.683333333332, + "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 + } + } + }, + "front": [], + "pane_retention_ms": { + "1": 3900000 + }, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 251, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.342001000000001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=4.842001000000001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.5920010000000005e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9670010000000004e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.642001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5020010000000002e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.4220010000000004e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.3820010000000003e-3, rate_weight=1e0, request=0e0" + ], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 4, + "immediate_candidates": 129, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", + "joint_price_solve_calls": 10, + "logical_candidates": 45, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }", + "Expanding { max_parts: 1024 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 849, + "peak_milp_variables": 595, + "physical_configurations": 171, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 131, + "status": "time_or_evaluation_limit_with_validated_incumbent", + "stored_supplier_ids": 170, + "structurally_removed_candidates": 128, + "structurally_removed_connections": 210, + "supplier_sets": 88, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 128, + "incumbent_cost": 0.4769177332069405, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "pane-round-9-joint-plan-1", + "stored_outputs": [ + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 0, + "scan_node_id": 0, + "time_range_node_id": 1, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 0, + "node_id": 2, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 60000, + "scan_node_id": 0, + "time_range_node_id": 4, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 1, + "node_id": 5, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 120000, + "scan_node_id": 0, + "time_range_node_id": 7, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 2, + "node_id": 8, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 180000, + "scan_node_id": 0, + "time_range_node_id": 10, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 3, + "node_id": 11, + "retention_ms": 3900000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 240000, + "scan_node_id": 0, + "time_range_node_id": 13, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 5, + "installed_position": 4, + "node_id": 14, + "retention_ms": 3900000, + "stage2_node_id": 1 + } + ] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "sum(rate(http_requests_total{job=~\"user-service|order-service|payment-service\"}[5m]))" + } + ] + } +} 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..b365a6f37 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json @@ -0,0 +1,7970 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 3600 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 4, + "kind": "range", + "range": { + "nanos": 0, + "secs": 3600 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 5, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 6, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "BinaryOp": { + "lhs": 3, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 7 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 8 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 8 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 10 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "BinaryOp": { + "lhs": 5, + "operator": { + "checked_finite_division": false, + "checked_relative_division": false, + "kind": { + "Arithmetic": "Div" + }, + "vector_match": null + }, + "return_bool": false, + "rhs": 11 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 12 + } + ] + }, + "display_name": "Q1 Sum acc + Rate acc ×60 panes", + "id": "pane-round-8-joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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 ×60 panes, Rate acc ×60 panes", + "from_logical": "pane-round-8-joint-logical-1", + "id": "pane-round-8-joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "pane-round-8-joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "pane-round-8-joint-plan-1": { + "cost_per_second": 1.8372714835337456, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.00014326971666666667, + "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.0010166675491546833, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-9, + "detail": "finalize 1 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "12": { + "cost_per_second": 1.0167927363833333e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.06100088248801666, + "cpu_core_seconds_per_second": 0.00006099999999999999, + "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.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.0010166675491546833, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.7999999999999995e-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.06100088248801666, + "cpu_core_seconds_per_second": 0.00006099999999999999, + "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.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.134936633, + "cpu_ops_per_second": 132069.71666666665, + "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 + } + } + }, + "front": [], + "pane_retention_ms": { + "1": 7200000, + "7": 7200000 + }, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 444, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.21924003e-1, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=9.1924003e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.692400299999999e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.912400299999999e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.576400299999999e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.3844003e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.2884003e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.2404003e-2, rate_weight=1e0, request=0e0" + ], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 9, + "immediate_candidates": 229, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 512 }", + "joint_price_solve_calls": 9, + "logical_candidates": 81, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 1500, + "peak_milp_variables": 1052, + "physical_configurations": 303, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 129, + "status": "time_or_evaluation_limit_with_validated_incumbent", + "stored_supplier_ids": 302, + "structurally_removed_candidates": 227, + "structurally_removed_connections": 372, + "supplier_sets": 158, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 128, + "incumbent_cost": 1.8372714835337456, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "pane-round-8-joint-plan-1", + "stored_outputs": [ + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 0, + "scan_node_id": 0, + "time_range_node_id": 1, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 2, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 60000, + "scan_node_id": 0, + "time_range_node_id": 4, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 5, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 120000, + "scan_node_id": 0, + "time_range_node_id": 7, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 8, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 180000, + "scan_node_id": 0, + "time_range_node_id": 10, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 11, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 240000, + "scan_node_id": 0, + "time_range_node_id": 13, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 14, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 300000, + "scan_node_id": 0, + "time_range_node_id": 16, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 17, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 360000, + "scan_node_id": 0, + "time_range_node_id": 19, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 20, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 420000, + "scan_node_id": 0, + "time_range_node_id": 22, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 23, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 480000, + "scan_node_id": 0, + "time_range_node_id": 25, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 26, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 540000, + "scan_node_id": 0, + "time_range_node_id": 28, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 29, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 600000, + "scan_node_id": 0, + "time_range_node_id": 31, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 32, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 660000, + "scan_node_id": 0, + "time_range_node_id": 34, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 35, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 720000, + "scan_node_id": 0, + "time_range_node_id": 37, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 38, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 780000, + "scan_node_id": 0, + "time_range_node_id": 40, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 41, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 840000, + "scan_node_id": 0, + "time_range_node_id": 43, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 44, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 900000, + "scan_node_id": 0, + "time_range_node_id": 46, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 47, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 960000, + "scan_node_id": 0, + "time_range_node_id": 49, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 50, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1020000, + "scan_node_id": 0, + "time_range_node_id": 52, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 53, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1080000, + "scan_node_id": 0, + "time_range_node_id": 55, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 56, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1140000, + "scan_node_id": 0, + "time_range_node_id": 58, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 59, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1200000, + "scan_node_id": 0, + "time_range_node_id": 61, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 62, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1260000, + "scan_node_id": 0, + "time_range_node_id": 64, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 65, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1320000, + "scan_node_id": 0, + "time_range_node_id": 67, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 68, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1380000, + "scan_node_id": 0, + "time_range_node_id": 70, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 71, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1440000, + "scan_node_id": 0, + "time_range_node_id": 73, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 74, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1500000, + "scan_node_id": 0, + "time_range_node_id": 76, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 77, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1560000, + "scan_node_id": 0, + "time_range_node_id": 79, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 80, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1620000, + "scan_node_id": 0, + "time_range_node_id": 82, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 83, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1680000, + "scan_node_id": 0, + "time_range_node_id": 85, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 86, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1740000, + "scan_node_id": 0, + "time_range_node_id": 88, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 89, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1800000, + "scan_node_id": 0, + "time_range_node_id": 91, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 92, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1860000, + "scan_node_id": 0, + "time_range_node_id": 94, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 95, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1920000, + "scan_node_id": 0, + "time_range_node_id": 97, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 98, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1980000, + "scan_node_id": 0, + "time_range_node_id": 100, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 101, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2040000, + "scan_node_id": 0, + "time_range_node_id": 103, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 104, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2100000, + "scan_node_id": 0, + "time_range_node_id": 106, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 107, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2160000, + "scan_node_id": 0, + "time_range_node_id": 109, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 110, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2220000, + "scan_node_id": 0, + "time_range_node_id": 112, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 113, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2280000, + "scan_node_id": 0, + "time_range_node_id": 115, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 116, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2340000, + "scan_node_id": 0, + "time_range_node_id": 118, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 119, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2400000, + "scan_node_id": 0, + "time_range_node_id": 121, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 122, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2460000, + "scan_node_id": 0, + "time_range_node_id": 124, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 125, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2520000, + "scan_node_id": 0, + "time_range_node_id": 127, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 128, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2580000, + "scan_node_id": 0, + "time_range_node_id": 130, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 131, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2640000, + "scan_node_id": 0, + "time_range_node_id": 133, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 134, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2700000, + "scan_node_id": 0, + "time_range_node_id": 136, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 137, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2760000, + "scan_node_id": 0, + "time_range_node_id": 139, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 140, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2820000, + "scan_node_id": 0, + "time_range_node_id": 142, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 143, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2880000, + "scan_node_id": 0, + "time_range_node_id": 145, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 146, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2940000, + "scan_node_id": 0, + "time_range_node_id": 148, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 149, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3000000, + "scan_node_id": 0, + "time_range_node_id": 151, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 152, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3060000, + "scan_node_id": 0, + "time_range_node_id": 154, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 155, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3120000, + "scan_node_id": 0, + "time_range_node_id": 157, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 158, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3180000, + "scan_node_id": 0, + "time_range_node_id": 160, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 161, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3240000, + "scan_node_id": 0, + "time_range_node_id": 163, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 164, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3300000, + "scan_node_id": 0, + "time_range_node_id": 166, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 167, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3360000, + "scan_node_id": 0, + "time_range_node_id": 169, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 170, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3420000, + "scan_node_id": 0, + "time_range_node_id": 172, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 173, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3480000, + "scan_node_id": 0, + "time_range_node_id": 175, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 176, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3540000, + "scan_node_id": 0, + "time_range_node_id": 178, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 179, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 0, + "scan_node_id": 184, + "time_range_node_id": 185, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 186, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 60000, + "scan_node_id": 184, + "time_range_node_id": 188, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 189, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 120000, + "scan_node_id": 184, + "time_range_node_id": 191, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 192, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 180000, + "scan_node_id": 184, + "time_range_node_id": 194, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 195, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 240000, + "scan_node_id": 184, + "time_range_node_id": 197, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 198, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 300000, + "scan_node_id": 184, + "time_range_node_id": 200, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 201, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 360000, + "scan_node_id": 184, + "time_range_node_id": 203, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 204, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 420000, + "scan_node_id": 184, + "time_range_node_id": 206, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 207, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 480000, + "scan_node_id": 184, + "time_range_node_id": 209, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 210, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 540000, + "scan_node_id": 184, + "time_range_node_id": 212, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 213, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 600000, + "scan_node_id": 184, + "time_range_node_id": 215, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 216, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 660000, + "scan_node_id": 184, + "time_range_node_id": 218, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 219, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 720000, + "scan_node_id": 184, + "time_range_node_id": 221, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 222, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 780000, + "scan_node_id": 184, + "time_range_node_id": 224, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 225, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 840000, + "scan_node_id": 184, + "time_range_node_id": 227, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 228, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 900000, + "scan_node_id": 184, + "time_range_node_id": 230, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 231, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 960000, + "scan_node_id": 184, + "time_range_node_id": 233, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 234, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1020000, + "scan_node_id": 184, + "time_range_node_id": 236, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 237, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1080000, + "scan_node_id": 184, + "time_range_node_id": 239, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 240, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1140000, + "scan_node_id": 184, + "time_range_node_id": 242, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 243, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1200000, + "scan_node_id": 184, + "time_range_node_id": 245, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 246, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1260000, + "scan_node_id": 184, + "time_range_node_id": 248, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 249, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1320000, + "scan_node_id": 184, + "time_range_node_id": 251, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 252, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1380000, + "scan_node_id": 184, + "time_range_node_id": 254, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 255, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1440000, + "scan_node_id": 184, + "time_range_node_id": 257, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 258, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1500000, + "scan_node_id": 184, + "time_range_node_id": 260, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 261, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1560000, + "scan_node_id": 184, + "time_range_node_id": 263, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 264, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1620000, + "scan_node_id": 184, + "time_range_node_id": 266, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 267, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1680000, + "scan_node_id": 184, + "time_range_node_id": 269, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 270, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1740000, + "scan_node_id": 184, + "time_range_node_id": 272, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 273, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1800000, + "scan_node_id": 184, + "time_range_node_id": 275, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 276, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1860000, + "scan_node_id": 184, + "time_range_node_id": 278, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 279, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1920000, + "scan_node_id": 184, + "time_range_node_id": 281, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 282, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1980000, + "scan_node_id": 184, + "time_range_node_id": 284, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 285, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2040000, + "scan_node_id": 184, + "time_range_node_id": 287, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 288, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2100000, + "scan_node_id": 184, + "time_range_node_id": 290, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 291, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2160000, + "scan_node_id": 184, + "time_range_node_id": 293, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 294, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2220000, + "scan_node_id": 184, + "time_range_node_id": 296, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 297, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2280000, + "scan_node_id": 184, + "time_range_node_id": 299, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 300, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2340000, + "scan_node_id": 184, + "time_range_node_id": 302, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 303, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2400000, + "scan_node_id": 184, + "time_range_node_id": 305, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 306, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2460000, + "scan_node_id": 184, + "time_range_node_id": 308, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 309, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2520000, + "scan_node_id": 184, + "time_range_node_id": 311, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 312, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2580000, + "scan_node_id": 184, + "time_range_node_id": 314, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 315, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2640000, + "scan_node_id": 184, + "time_range_node_id": 317, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 318, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2700000, + "scan_node_id": 184, + "time_range_node_id": 320, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 321, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2760000, + "scan_node_id": 184, + "time_range_node_id": 323, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 324, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2820000, + "scan_node_id": 184, + "time_range_node_id": 326, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 327, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2880000, + "scan_node_id": 184, + "time_range_node_id": 329, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 330, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2940000, + "scan_node_id": 184, + "time_range_node_id": 332, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 333, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3000000, + "scan_node_id": 184, + "time_range_node_id": 335, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 336, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3060000, + "scan_node_id": 184, + "time_range_node_id": 338, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 339, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3120000, + "scan_node_id": 184, + "time_range_node_id": 341, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 342, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3180000, + "scan_node_id": 184, + "time_range_node_id": 344, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 345, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3240000, + "scan_node_id": 184, + "time_range_node_id": 347, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 348, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3300000, + "scan_node_id": 184, + "time_range_node_id": 350, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 351, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3360000, + "scan_node_id": 184, + "time_range_node_id": 353, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 354, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3420000, + "scan_node_id": 184, + "time_range_node_id": 356, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 357, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3480000, + "scan_node_id": 184, + "time_range_node_id": 359, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 360, + "retention_ms": 7200000, + "stage2_node_id": 7 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3540000, + "scan_node_id": 184, + "time_range_node_id": 362, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 363, + "retention_ms": 7200000, + "stage2_node_id": 7 + } + ] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "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]))" + } + ] + } +} 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..71e07d827 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json @@ -0,0 +1,3761 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 3600 + } + } + } + }, + "result_kind": "range_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 3 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } + }, + "result_kind": "state", + "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 + ] + ] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 5 + } + ] + }, + "display_name": "Q1 Sum acc + Rate acc ×60 panes", + "id": "pane-round-9-joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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 ×60 panes", + "from_logical": "pane-round-9-joint-logical-1", + "id": "pane-round-9-joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "pane-round-9-joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "pane-round-9-joint-plan-1": { + "cost_per_second": 0.9162347916816904, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 0.00006923434999999999, + "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.06100044124044999, + "cpu_core_seconds_per_second": 0.00006099999999999999, + "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.0010166666666666666, + "cpu_core_seconds_per_second": 1.0166666666666663e-6, + "detail": "finalize 1000 accumulators; x 1.0167/s", + "multiplier": 1, + "operator": "FinalizeExactAccumulator", + "price_source": "analytical", + "timing": "query_time" + }, + "4": { + "cost_per_second": 0.0010166671079071166, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.533453524, + "cpu_ops_per_second": 66034.34999999999, + "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 + } + } + }, + "front": [], + "pane_retention_ms": { + "1": 7200000 + }, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": false, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 251, + "direct_cost_best_validated_cost": null, + "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=8.2322001e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=5.2322001e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.7322001e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9822001e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5922001e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.4242001e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.3282001e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.2802001000000002e-2, rate_weight=1e0, request=0e0" + ], + "direct_cost_solve_calls": 0, + "direct_cost_validated_plans": 0, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": false, + "full_catalog_completed": false, + "groups": 4, + "immediate_candidates": 129, + "independent_components": 1, + "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", + "joint_price_solve_calls": 10, + "logical_candidates": 45, + "lower_bound": null, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "SeedGrids", + "Expanding { max_parts: 4 }", + "Expanding { max_parts: 8 }", + "Expanding { max_parts: 16 }", + "Expanding { max_parts: 32 }", + "Expanding { max_parts: 64 }", + "Expanding { max_parts: 128 }", + "Expanding { max_parts: 256 }", + "Expanding { max_parts: 512 }", + "Expanding { max_parts: 1024 }" + ], + "pane_widths_pending": true, + "peak_milp_constraints": 858, + "peak_milp_variables": 595, + "physical_configurations": 171, + "refinements": 128, + "relative_gap": null, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 132, + "status": "time_or_evaluation_limit_with_validated_incumbent", + "stored_supplier_ids": 170, + "structurally_removed_candidates": 128, + "structurally_removed_connections": 210, + "supplier_sets": 88, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 128, + "incumbent_cost": 0.9162347916816904, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "pane-round-9-joint-plan-1", + "stored_outputs": [ + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 0, + "scan_node_id": 0, + "time_range_node_id": 1, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 0, + "node_id": 2, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -120000 + }, + { + "included": -60000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 60000, + "scan_node_id": 0, + "time_range_node_id": 4, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 1, + "node_id": 5, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -180000 + }, + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 120000, + "scan_node_id": 0, + "time_range_node_id": 7, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 2, + "node_id": 8, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -240000 + }, + { + "included": -180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 180000, + "scan_node_id": 0, + "time_range_node_id": 10, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 3, + "node_id": 11, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 240000, + "scan_node_id": 0, + "time_range_node_id": 13, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 4, + "node_id": 14, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 300000, + "scan_node_id": 0, + "time_range_node_id": 16, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 5, + "node_id": 17, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 360000, + "scan_node_id": 0, + "time_range_node_id": 19, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 6, + "node_id": 20, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 420000, + "scan_node_id": 0, + "time_range_node_id": 22, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 7, + "node_id": 23, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 480000, + "scan_node_id": 0, + "time_range_node_id": 25, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 8, + "node_id": 26, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 540000, + "scan_node_id": 0, + "time_range_node_id": 28, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 9, + "node_id": 29, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 600000, + "scan_node_id": 0, + "time_range_node_id": 31, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 10, + "node_id": 32, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 660000, + "scan_node_id": 0, + "time_range_node_id": 34, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 11, + "node_id": 35, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 720000, + "scan_node_id": 0, + "time_range_node_id": 37, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 12, + "node_id": 38, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 780000, + "scan_node_id": 0, + "time_range_node_id": 40, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 13, + "node_id": 41, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 840000, + "scan_node_id": 0, + "time_range_node_id": 43, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 14, + "node_id": 44, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 900000, + "scan_node_id": 0, + "time_range_node_id": 46, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 15, + "node_id": 47, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 960000, + "scan_node_id": 0, + "time_range_node_id": 49, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 16, + "node_id": 50, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1020000, + "scan_node_id": 0, + "time_range_node_id": 52, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 17, + "node_id": 53, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1080000, + "scan_node_id": 0, + "time_range_node_id": 55, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 18, + "node_id": 56, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1140000, + "scan_node_id": 0, + "time_range_node_id": 58, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 19, + "node_id": 59, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1200000, + "scan_node_id": 0, + "time_range_node_id": 61, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 20, + "node_id": 62, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1260000, + "scan_node_id": 0, + "time_range_node_id": 64, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 21, + "node_id": 65, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1320000, + "scan_node_id": 0, + "time_range_node_id": 67, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 22, + "node_id": 68, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1380000, + "scan_node_id": 0, + "time_range_node_id": 70, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 23, + "node_id": 71, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1440000, + "scan_node_id": 0, + "time_range_node_id": 73, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 24, + "node_id": 74, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1500000, + "scan_node_id": 0, + "time_range_node_id": 76, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 25, + "node_id": 77, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1560000, + "scan_node_id": 0, + "time_range_node_id": 79, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 26, + "node_id": 80, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1620000, + "scan_node_id": 0, + "time_range_node_id": 82, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 27, + "node_id": 83, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1680000, + "scan_node_id": 0, + "time_range_node_id": 85, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 28, + "node_id": 86, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1740000, + "scan_node_id": 0, + "time_range_node_id": 88, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 29, + "node_id": 89, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1800000, + "scan_node_id": 0, + "time_range_node_id": 91, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 30, + "node_id": 92, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1860000, + "scan_node_id": 0, + "time_range_node_id": 94, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 31, + "node_id": 95, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1920000, + "scan_node_id": 0, + "time_range_node_id": 97, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 32, + "node_id": 98, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 1980000, + "scan_node_id": 0, + "time_range_node_id": 100, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 33, + "node_id": 101, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2040000, + "scan_node_id": 0, + "time_range_node_id": 103, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 34, + "node_id": 104, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2100000, + "scan_node_id": 0, + "time_range_node_id": 106, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 35, + "node_id": 107, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2160000, + "scan_node_id": 0, + "time_range_node_id": 109, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 36, + "node_id": 110, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2220000, + "scan_node_id": 0, + "time_range_node_id": 112, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 37, + "node_id": 113, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2280000, + "scan_node_id": 0, + "time_range_node_id": 115, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 38, + "node_id": 116, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2340000, + "scan_node_id": 0, + "time_range_node_id": 118, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 39, + "node_id": 119, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2400000, + "scan_node_id": 0, + "time_range_node_id": 121, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 40, + "node_id": 122, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2460000, + "scan_node_id": 0, + "time_range_node_id": 124, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 41, + "node_id": 125, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2520000, + "scan_node_id": 0, + "time_range_node_id": 127, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 42, + "node_id": 128, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2580000, + "scan_node_id": 0, + "time_range_node_id": 130, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 43, + "node_id": 131, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2640000, + "scan_node_id": 0, + "time_range_node_id": 133, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 44, + "node_id": 134, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2700000, + "scan_node_id": 0, + "time_range_node_id": 136, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 45, + "node_id": 137, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2760000, + "scan_node_id": 0, + "time_range_node_id": 139, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 46, + "node_id": 140, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2820000, + "scan_node_id": 0, + "time_range_node_id": 142, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 47, + "node_id": 143, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2880000, + "scan_node_id": 0, + "time_range_node_id": 145, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 48, + "node_id": 146, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 2940000, + "scan_node_id": 0, + "time_range_node_id": 148, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 49, + "node_id": 149, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3000000, + "scan_node_id": 0, + "time_range_node_id": 151, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 50, + "node_id": 152, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3060000, + "scan_node_id": 0, + "time_range_node_id": 154, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 51, + "node_id": 155, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3120000, + "scan_node_id": 0, + "time_range_node_id": 157, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 52, + "node_id": 158, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3180000, + "scan_node_id": 0, + "time_range_node_id": 160, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 53, + "node_id": 161, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3240000, + "scan_node_id": 0, + "time_range_node_id": 163, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 54, + "node_id": 164, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3300000, + "scan_node_id": 0, + "time_range_node_id": 166, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 55, + "node_id": 167, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3360000, + "scan_node_id": 0, + "time_range_node_id": 169, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 56, + "node_id": 170, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3420000, + "scan_node_id": 0, + "time_range_node_id": 172, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 57, + "node_id": 173, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3480000, + "scan_node_id": 0, + "time_range_node_id": 175, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 58, + "node_id": 176, + "retention_ms": 7200000, + "stage2_node_id": 1 + }, + { + "built_at": "ingestion_run", + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "raw_sample_windows": [ + { + "end_offset_ms": 3540000, + "scan_node_id": 0, + "time_range_node_id": 178, + "width_ms": 60000 + } + ], + "stored_outputs": [] + }, + "installed_count": 60, + "installed_position": 59, + "node_id": 179, + "retention_ms": 7200000, + "stage2_node_id": 1 + } + ] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "sum(rate(process_cpu_seconds_total[1h]))" + } + ] + } +} 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..9d5afc698 --- /dev/null +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q27.json @@ -0,0 +1,1212 @@ +{ + "accuracy_guarantees": "enforced", + "deployment_capabilities": { + "query_time_results_retained": false, + "raw_data_retained": true, + "supported_summaries": [ + { + "family": "UnivMon", + "readouts": [ + "Total", + "Distinct", + "FrequencyL2", + "FrequencyEntropy" + ] + }, + { + "family": "Kll", + "readouts": [ + "Quantile" + ] + }, + { + "family": "Cms", + "readouts": [ + "Total" + ] + }, + { + "family": "Hll", + "readouts": [ + "Distinct" + ] + }, + { + "family": "DDSketch", + "readouts": [ + "Quantile" + ] + }, + { + "family": "CmsWithHeap", + "readouts": [ + "TopK" + ] + }, + { + "family": "Kmv", + "readouts": [ + "Distinct" + ] + }, + { + "family": "CountSketchWithHeap", + "readouts": [ + "TopK" + ] + } + ] + }, + "format": "asap-stage-pipeline/v1", + "search": "candidate-connections", + "stage0_query_language_frontends": { + "dag": { + "nodes": [ + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [] + } + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 2 + } + ] + } + }, + "stage1_logical_asap_optimization": { + "candidates": [ + { + "dag": { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "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" + } + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "instant", + "range": { + "nanos": 0, + "secs": 1 + } + } + } + }, + "result_kind": "instant_vector", + "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 + ] + ] + }, + "timing": null + }, + { + "guarantee": null, + "materialization": "NotMaterialized", + "operator": { + "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": [] + } + } + } + }, + "result_kind": "state", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + }, + { + "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" + } + } + }, + "materialization": "NotMaterialized", + "operator": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + }, + "result_kind": "instant_vector", + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "timing": null + } + ], + "roots": [ + { + "Operator": 3 + } + ] + }, + "display_name": "Q1 Sum acc", + "id": "joint-logical-1" + } + ], + "capped": false, + "combinations": 1, + "pass1_pruned": [] + }, + "stage2_physical_asap_optimization": { + "candidates": [ + { + "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", + "from_logical": "joint-logical-1", + "id": "joint-plan-1" + } + ], + "pruned": [] + }, + "stage3_plan_selection": { + "accepted": { + "joint-plan-1": [ + { + "accepted_metric": null, + "accepted_regardless_of_guarantee": false, + "guarantee_check_rejection": null, + "sketches": [], + "summary": "metric not set; accepted exact", + "target_metric": null + } + ] + }, + "costs": { + "joint-plan-1": { + "cost_per_second": 0.00630435009456525, + "cost_unit": "cost_per_second", + "cpu_core_seconds_per_second": 6.304349999999999e-6, + "per_node": { + "0": { + "cost_per_second": 0.0042700000252174, + "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.0010166666918840666, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0010166667107971163, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, + "cpu_core_seconds_per_second": 1.0166666666666663e-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.0007565219999999999, + "cpu_ops_per_second": 3051.016666666667, + "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.333333333332 + } + } + }, + "front": [], + "pane_retention_ms": {}, + "rejected": [], + "rejected_by_cause": {}, + "search": { + "algorithm": "candidate-connections", + "candidate_connections": { + "calibration_factor": 1.0, + "calibration_scope": "not_required", + "catalog_exhausted": null, + "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", + "certified_query_cuts": 0, + "compatible_connections": 3, + "direct_cost_best_validated_cost": 0.00630435009456525, + "direct_cost_fallback_reasons": [], + "direct_cost_solve_calls": 1, + "direct_cost_validated_plans": 1, + "early_query_pruning_counts": { + "choices_checked": 0, + "choices_removed": 0, + "final_choices_retained": 0, + "non_summary_choices_retained": 0, + "queries_skipped": 1, + "shared_producer_choices_retained": 0 + }, + "early_query_pruning_examples": [], + "evaluation_complete": null, + "full_catalog_completed": true, + "groups": 3, + "immediate_candidates": 4, + "independent_components": 1, + "inventory_pane_width_domain": "Complete", + "joint_price_solve_calls": 1, + "logical_candidates": 3, + "lower_bound": 0.00630435009456525, + "max_refinements": 128, + "objective": "monetary_cost", + "output_references": 1, + "pane_width_rounds": [ + "Complete" + ], + "pane_widths_pending": false, + "peak_milp_constraints": 89, + "peak_milp_variables": 40, + "physical_configurations": 4, + "refinements": 1, + "relative_gap": 0.0, + "rounded_down_cost_bounds": 0, + "seed_fallback_reason": null, + "seed_selected": false, + "solve_calls": 3, + "status": "optimal", + "stored_supplier_ids": 3, + "structurally_removed_candidates": 4, + "structurally_removed_connections": 3, + "supplier_sets": 3, + "validation_rejection_counts": {}, + "validation_rejection_examples": [] + }, + "candidates_checked": 1, + "incumbent_cost": 0.00630435009456525, + "runner_up_cost_per_second": null + }, + "search_rejected": [], + "selected": "joint-plan-1", + "stored_outputs": [] + }, + "workload": { + "data_workload": { + "arrival": { + "ingesting": { + "rows_per_second": 7000.0 + } + }, + "sources": { + "http_request_duration_seconds_bucket": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "http_requests_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_cpu_seconds_total": { + "max_distinct_per_evaluation": null, + "metric_type": "counter", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "process_resident_memory_bytes": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_cache_refresh_lag_seconds": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "service_retry_queue_depth": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + }, + "up": { + "max_distinct_per_evaluation": null, + "metric_type": "gauge", + "sample_interval": 1000, + "series_count": 1000, + "stream_norms": null + } + } + }, + "queries": [ + { + "id": "q1", + "language": "promql", + "predictability": { + "predictable": { + "known_at": null + } + }, + "recurrence": { + "repeated": { + "fixed_interval": 60000 + } + }, + "requirements": { + "accuracy": { + "accuracy_scope": "whole_result", + "failure_probability": 0.001, + "max_error": 0.01 + }, + "default_metric": "absolute", + "range_evaluation": { + "span_ms": 3600000, + "step_ms": 60000 + }, + "repeat_interval_ms": 60000 + }, + "text": "sum(up)" + } + ] + } +} From e69eba0b95f7e429fd512d256f326d60782983be Mon Sep 17 00:00:00 2001 From: Milind Srivastava Date: Tue, 27 Oct 2026 11:51:23 -0400 Subject: [PATCH 3/7] ci: check planner snapshots in a release-build job Runs the corpus snapshot test against a release build, since the corpus queries take minutes in debug, and uploads the regenerated snapshots when a plan changed. Part of #941. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01CKYtMxgJTLtPW9uAqPpiEG --- .github/workflows/rust.yml | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 450e63b22..8dd7df08c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -149,3 +149,42 @@ 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 + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable + + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.4 + + - name: Cache cargo + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }} + + - 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 From 697df67ec613a1b7daf179bb34065ce4f9991e0e Mon Sep 17 00:00:00 2001 From: Milind Srivastava Date: Tue, 27 Oct 2026 11:51:23 -0400 Subject: [PATCH 4/7] docs: explain planner snapshots and require Snapshot changes in PRs A developer note on what the snapshots pin, how to regenerate them and how to add queries, plus a Snapshot changes section in the PR template and AGENTS.md so every changed plan is explained. Part of #941. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01CKYtMxgJTLtPW9uAqPpiEG --- .github/PULL_REQUEST_TEMPLATE/projectasap.md | 6 +++ AGENTS.md | 3 ++ docs/develop_docs/README.md | 1 + docs/develop_docs/planner-snapshots.md | 46 ++++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 docs/develop_docs/planner-snapshots.md 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/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/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..344696eaa --- /dev/null +++ b/docs/develop_docs/planner-snapshots.md @@ -0,0 +1,46 @@ +# Planner snapshots + +The planner has no reference answer to test against, so CI pins what it +produces. For each query in a corpus, the `stage_pipeline` document (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. +- `.json`: that query's snapshot. It is the `stage_pipeline` document, + pretty-printed with sorted keys and without the search report's timings. + +## When the check fails + +The test names each changed query and its first differing line. CI uploads the +regenerated snapshots 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. To inspect a plan, open the snapshot in +[`tools/dag-viewer`](../../tools/dag-viewer/README.md). + +The test also fails, instead of recording a snapshot, in these cases: + +- A query's search was ended by the wall-clock time limit. Its plan would then + depend on machine speed. +- A snapshot file has no matching 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 +the snapshots stay identical. Keep each query under about 10 s and 500 MB with +a release build. Heavier queries belong in a separate, non-blocking job. From 70791d4d6c53a6c3cb83a61ab2ba5320288c80dd Mon Sep 17 00:00:00 2001 From: Milind Srivastava Date: Tue, 27 Oct 2026 20:20:04 -0400 Subject: [PATCH 5/7] test(devtools): regenerate o11y-bench snapshots after #943, #961, #959 Same selected plans and costs. Only the search report changed: about twice the joint-price solves, and the direct-cost path now validates plans for q19, q22, q23, q25 and q26. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01CKYtMxgJTLtPW9uAqPpiEG --- .../corpus_snapshots/o11y_bench/q02.json | 6 ++--- .../corpus_snapshots/o11y_bench/q19.json | 20 ++++++++--------- .../corpus_snapshots/o11y_bench/q22.json | 22 +++++++++---------- .../corpus_snapshots/o11y_bench/q23.json | 22 +++++++++---------- .../corpus_snapshots/o11y_bench/q25.json | 20 ++++++++--------- .../corpus_snapshots/o11y_bench/q26.json | 22 +++++++++---------- 6 files changed, 56 insertions(+), 56 deletions(-) diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json index 27528832d..6d1767a51 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json @@ -2133,7 +2133,7 @@ "compatible_connections": 252, "direct_cost_best_validated_cost": 0.4815668598333333, "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 10, + "direct_cost_solve_calls": 20, "direct_cost_validated_plans": 10, "early_query_pruning_counts": { "choices_checked": 0, @@ -2150,7 +2150,7 @@ "immediate_candidates": 130, "independent_components": 1, "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 10, + "joint_price_solve_calls": 20, "logical_candidates": 46, "lower_bound": null, "max_refinements": 128, @@ -2177,7 +2177,7 @@ "rounded_down_cost_bounds": 0, "seed_fallback_reason": null, "seed_selected": false, - "solve_calls": 132, + "solve_calls": 152, "status": "time_or_evaluation_limit_with_validated_incumbent", "stored_supplier_ids": 171, "structurally_removed_candidates": 129, diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json index b52cfe815..37a4413cd 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json @@ -3605,19 +3605,19 @@ "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", "certified_query_cuts": 0, "compatible_connections": 444, - "direct_cost_best_validated_cost": null, + "direct_cost_best_validated_cost": 1.8372714835337456, "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.0004003e-2, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.21924003e-1, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.0004002999999994e-2, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=9.1924003e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.5004003e-2, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.692400299999999e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.912400299999999e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.576400299999999e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.3844003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.2884003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.2404003e-2, rate_weight=1e0, request=0e0" + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.204003e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.912400299999999e-2, rate_weight=1e0, request=0e0" ], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, + "direct_cost_solve_calls": 3, + "direct_cost_validated_plans": 3, "early_query_pruning_counts": { "choices_checked": 0, "choices_removed": 0, @@ -3633,7 +3633,7 @@ "immediate_candidates": 229, "independent_components": 1, "inventory_pane_width_domain": "Expanding { max_parts: 512 }", - "joint_price_solve_calls": 9, + "joint_price_solve_calls": 18, "logical_candidates": 81, "lower_bound": null, "max_refinements": 128, @@ -3659,7 +3659,7 @@ "rounded_down_cost_bounds": 0, "seed_fallback_reason": null, "seed_selected": false, - "solve_calls": 129, + "solve_calls": 132, "status": "time_or_evaluation_limit_with_validated_incumbent", "stored_supplier_ids": 302, "structurally_removed_candidates": 227, diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json index dad9e9c75..626e6c8f2 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json @@ -1684,19 +1684,19 @@ "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", "certified_query_cuts": 0, "compatible_connections": 251, - "direct_cost_best_validated_cost": null, + "direct_cost_best_validated_cost": 0.4769177332069405, "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=5.002001000000001e-3, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.342001000000001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5020010000000002e-3, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=4.842001000000001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.2520009999999998e-3, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.5920010000000005e-3, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9670010000000004e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.642001e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5020010000000002e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.4220010000000004e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.3820010000000003e-3, rate_weight=1e0, request=0e0" + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.642001e-3, rate_weight=1e0, request=0e0" ], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, + "direct_cost_solve_calls": 7, + "direct_cost_validated_plans": 7, "early_query_pruning_counts": { "choices_checked": 0, "choices_removed": 0, @@ -1712,7 +1712,7 @@ "immediate_candidates": 129, "independent_components": 1, "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 10, + "joint_price_solve_calls": 20, "logical_candidates": 45, "lower_bound": null, "max_refinements": 128, @@ -1731,15 +1731,15 @@ "Expanding { max_parts: 1024 }" ], "pane_widths_pending": true, - "peak_milp_constraints": 849, - "peak_milp_variables": 595, + "peak_milp_constraints": 1730, + "peak_milp_variables": 722, "physical_configurations": 171, "refinements": 128, "relative_gap": null, "rounded_down_cost_bounds": 0, "seed_fallback_reason": null, "seed_selected": false, - "solve_calls": 131, + "solve_calls": 139, "status": "time_or_evaluation_limit_with_validated_incumbent", "stored_supplier_ids": 170, "structurally_removed_candidates": 128, diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json index 2a2fb7be1..6140e4a2e 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json @@ -1684,19 +1684,19 @@ "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", "certified_query_cuts": 0, "compatible_connections": 251, - "direct_cost_best_validated_cost": null, + "direct_cost_best_validated_cost": 0.4769177332069405, "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=5.002001000000001e-3, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.342001000000001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5020010000000002e-3, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=4.842001000000001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.2520009999999998e-3, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.5920010000000005e-3, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9670010000000004e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.642001e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5020010000000002e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.4220010000000004e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.3820010000000003e-3, rate_weight=1e0, request=0e0" + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.642001e-3, rate_weight=1e0, request=0e0" ], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, + "direct_cost_solve_calls": 7, + "direct_cost_validated_plans": 7, "early_query_pruning_counts": { "choices_checked": 0, "choices_removed": 0, @@ -1712,7 +1712,7 @@ "immediate_candidates": 129, "independent_components": 1, "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 10, + "joint_price_solve_calls": 20, "logical_candidates": 45, "lower_bound": null, "max_refinements": 128, @@ -1731,15 +1731,15 @@ "Expanding { max_parts: 1024 }" ], "pane_widths_pending": true, - "peak_milp_constraints": 849, - "peak_milp_variables": 595, + "peak_milp_constraints": 1730, + "peak_milp_variables": 722, "physical_configurations": 171, "refinements": 128, "relative_gap": null, "rounded_down_cost_bounds": 0, "seed_fallback_reason": null, "seed_selected": false, - "solve_calls": 131, + "solve_calls": 139, "status": "time_or_evaluation_limit_with_validated_incumbent", "stored_supplier_ids": 170, "structurally_removed_candidates": 128, diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json index b365a6f37..0ff33e45f 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json @@ -3605,19 +3605,19 @@ "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", "certified_query_cuts": 0, "compatible_connections": 444, - "direct_cost_best_validated_cost": null, + "direct_cost_best_validated_cost": 1.8372714835337456, "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.0004003e-2, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.21924003e-1, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.0004002999999994e-2, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=9.1924003e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.5004003e-2, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.692400299999999e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.912400299999999e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.576400299999999e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.3844003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.2884003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.2404003e-2, rate_weight=1e0, request=0e0" + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.204003e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.912400299999999e-2, rate_weight=1e0, request=0e0" ], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, + "direct_cost_solve_calls": 3, + "direct_cost_validated_plans": 3, "early_query_pruning_counts": { "choices_checked": 0, "choices_removed": 0, @@ -3633,7 +3633,7 @@ "immediate_candidates": 229, "independent_components": 1, "inventory_pane_width_domain": "Expanding { max_parts: 512 }", - "joint_price_solve_calls": 9, + "joint_price_solve_calls": 18, "logical_candidates": 81, "lower_bound": null, "max_refinements": 128, @@ -3659,7 +3659,7 @@ "rounded_down_cost_bounds": 0, "seed_fallback_reason": null, "seed_selected": false, - "solve_calls": 129, + "solve_calls": 132, "status": "time_or_evaluation_limit_with_validated_incumbent", "stored_supplier_ids": 302, "structurally_removed_candidates": 227, diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json index 71e07d827..6843f53c5 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json @@ -1495,19 +1495,19 @@ "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", "certified_query_cuts": 0, "compatible_connections": 251, - "direct_cost_best_validated_cost": null, + "direct_cost_best_validated_cost": 0.9162347916816904, "direct_cost_fallback_reasons": [ + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.0002001e-2, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=8.2322001e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.0002001e-2, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=5.2322001e-2, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.5002000999999997e-2, rate_weight=1e0, request=0e0", "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.7322001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9822001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5922001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.4242001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.3282001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.2802001000000002e-2, rate_weight=1e0, request=0e0" + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.502001e-3, rate_weight=1e0, request=0e0", + "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9822001e-2, rate_weight=1e0, request=0e0" ], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, + "direct_cost_solve_calls": 4, + "direct_cost_validated_plans": 4, "early_query_pruning_counts": { "choices_checked": 0, "choices_removed": 0, @@ -1523,7 +1523,7 @@ "immediate_candidates": 129, "independent_components": 1, "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 10, + "joint_price_solve_calls": 20, "logical_candidates": 45, "lower_bound": null, "max_refinements": 128, @@ -1542,7 +1542,7 @@ "Expanding { max_parts: 1024 }" ], "pane_widths_pending": true, - "peak_milp_constraints": 858, + "peak_milp_constraints": 852, "peak_milp_variables": 595, "physical_configurations": 171, "refinements": 128, @@ -1550,7 +1550,7 @@ "rounded_down_cost_bounds": 0, "seed_fallback_reason": null, "seed_selected": false, - "solve_calls": 132, + "solve_calls": 136, "status": "time_or_evaluation_limit_with_validated_incumbent", "stored_supplier_ids": 170, "structurally_removed_candidates": 128, From 9e65c86f5195813f818774f1562a9d44e042aa69 Mon Sep 17 00:00:00 2001 From: zzylol <50204836+zzylol@users.noreply.github.com> Date: Thu, 29 Oct 2026 02:59:15 +0000 Subject: [PATCH 6/7] test(devtools): snapshot only the selected plan, not the search The corpus snapshots compared the whole stage_pipeline document, including the search report's counters, status and candidate ids. Those vary from run to run because pane-width rounds have wall-clock budgets, so every snapshot failed on main without any plan change. - Snapshot only the selected Stage 2 candidate (display name, DAG), its cost and accepted accuracy, materialized views, pane retention, warnings and whether the search proved it optimal; for a query that does not plan, the error up to its search report and the rejection causes. Floats are rounded to 12 significant digits. The memo is not built (--no-memo). - Fail on a search report with status time_limit, not only on a run that used the whole budget. - 120 s per query instead of 600 s; the CI job has a 45 min timeout and caches only the cargo registry next to sccache. - Mark q18 (#1023) and q21 (a pane round ends on its wall-clock budget) known_slow and skip them. - Clear the regenerated directory at the start of a run, and write each failing query's full document next to its regenerated snapshot. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/rust.yml | 9 +- crates/devtools/tests/corpus_snapshots.rs | 248 +- .../corpus_snapshots/o11y_bench/corpus.json | 6 +- .../corpus_snapshots/o11y_bench/q02.json | 3291 +-- .../corpus_snapshots/o11y_bench/q05.json | 995 +- .../corpus_snapshots/o11y_bench/q06.json | 712 +- .../corpus_snapshots/o11y_bench/q11.json | 503 +- .../corpus_snapshots/o11y_bench/q12.json | 1075 +- .../corpus_snapshots/o11y_bench/q18.json | 10241 ---------- .../corpus_snapshots/o11y_bench/q19.json | 16639 +++++++--------- .../corpus_snapshots/o11y_bench/q20.json | 1429 +- .../corpus_snapshots/o11y_bench/q21.json | 2370 --- .../corpus_snapshots/o11y_bench/q22.json | 2745 +-- .../corpus_snapshots/o11y_bench/q23.json | 2599 +-- .../corpus_snapshots/o11y_bench/q25.json | 13591 ++++++------- .../corpus_snapshots/o11y_bench/q26.json | 6436 +++--- .../corpus_snapshots/o11y_bench/q27.json | 1429 +- docs/develop_docs/planner-snapshots.md | 52 +- 18 files changed, 20256 insertions(+), 44114 deletions(-) delete mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q18.json delete mode 100644 crates/devtools/tests/corpus_snapshots/o11y_bench/q21.json diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8dd7df08c..ff7e64d83 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -156,6 +156,9 @@ jobs: 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 120 s. + timeout-minutes: 45 steps: - uses: actions/checkout@v4 @@ -164,17 +167,17 @@ jobs: 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 + - name: Cache cargo registry uses: actions/cache@v4 with: path: | ~/.cargo/registry ~/.cargo/git - target - key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }} + 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 diff --git a/crates/devtools/tests/corpus_snapshots.rs b/crates/devtools/tests/corpus_snapshots.rs index f7e589aec..4f59518d4 100644 --- a/crates/devtools/tests/corpus_snapshots.rs +++ b/crates/devtools/tests/corpus_snapshots.rs @@ -1,26 +1,34 @@ //! 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 `stage_pipeline` document (default search) -//! is compared with the committed one, and any change fails until the -//! snapshot is regenerated and the change explained in the PR. +//! 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 must not depend on the machine: the search report's timings are -//! dropped, and a run the wall-clock budget stopped fails instead of being -//! recorded, so only the evaluation budget can end a search. +//! 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 marked `known_slow` in the manifest is +//! skipped. use std::path::{Path, PathBuf}; use std::process::Command; -use serde_json::{json, Value}; +use serde_json::{json, Map, Value}; -/// Far above any corpus query's planning time, so it never binds. -const TIME_LIMIT_S: &str = "600"; +/// Per query. The slowest kept query takes 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 = "120"; fn corpora_dir() -> PathBuf { PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests/corpus_snapshots") @@ -39,7 +47,8 @@ fn workload(corpus: &Value, query: &str) -> Value { }) } -/// Runs `stage_pipeline` on `workload`; panics (a planner crash) on failure. +/// 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"); @@ -48,7 +57,7 @@ fn plan(workload: &Value, args: &[String], scratch: &Path) -> Value { command .arg("--workload") .arg(&input) - .args(["--milp-time-limit-s", TIME_LIMIT_S]) + .args(["--milp-time-limit-s", TIME_LIMIT_S, "--no-memo"]) .args(args) .arg("--out") .arg(&output); @@ -61,9 +70,13 @@ fn plan(workload: &Value, args: &[String], scratch: &Path) -> Value { serde_json::from_str(&std::fs::read_to_string(output).unwrap()).unwrap() } -/// Whether the wall-clock budget, not the evaluation budget, ended the search. +/// Whether the wall-clock budget ended the search: the report says so, or +/// planning used the whole budget. 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(), @@ -73,28 +86,87 @@ fn hit_time_limit(document: &Value) -> bool { } } -/// Drops the search report's timings (`*_ms`), the only fields that differ -/// between runs of the same workload. A failed selection's error also embeds -/// the report, timings included; it is cut off there, since `search` has it. -fn strip_timings(document: &mut Value) { - if let Some(Value::String(error)) = document.pointer_mut("/stage3_plan_selection/error") { - if let Some(at) = error.find(" Search report: ") { - error.truncate(at); +/// `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(), } - fn strip(value: &mut Value) { - match value { - Value::Object(map) => { - map.retain(|key, _| !key.ends_with("_ms")); - map.values_mut().for_each(strip); +} + +/// 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()); + } } - Value::Array(items) => items.iter_mut().for_each(strip), - _ => {} + } + 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")); } } - if let Some(search) = document.pointer_mut("/stage3_plan_selection/search") { - strip(search); - } + rounded(&Value::Object(snapshot)) } /// The first line where `expected` and `actual` differ, for the failure message. @@ -117,13 +189,15 @@ fn first_difference(expected: &str, actual: &str) -> String { String::new() } -/// Every corpus query's document matches its committed snapshot. +/// 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, for CI to upload. + // 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(); @@ -140,22 +214,29 @@ fn corpus_plans_match_snapshots() { .unwrap(); let args: Vec = serde_json::from_value(corpus["stage_pipeline_args"].clone()).unwrap(); - let queries = corpus["queries"].as_array().unwrap(); + // A `known_slow` query (its value says why) is not planned. + let queries: Vec<&Value> = corpus["queries"] + .as_array() + .unwrap() + .iter() + .filter(|q| q.get("known_slow").is_none()) + .collect(); let ids: Vec<&str> = queries.iter().map(|q| q["id"].as_str().unwrap()).collect(); - // A snapshot whose query left the manifest would otherwise go stale unseen. + // 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 query with id {id}")); + failures.push(format!("{name}/{file}: no checked query with id {id}")); } } } for query in queries { let id = query["id"].as_str().unwrap(); - let mut document = plan( + let document = plan( &workload(&corpus, query["query"].as_str().unwrap()), &args, &scratch, @@ -167,21 +248,22 @@ fn corpus_plans_match_snapshots() { )); continue; } - strip_timings(&mut document); - let actual = serde_json::to_string_pretty(&document).unwrap() + "\n"; + 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 Ok(expected) = std::fs::read_to_string(&path) else { - failures.push(format!("{name}/{id}: no snapshot {}", path.display())); - 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) @@ -201,43 +283,85 @@ fn corpus_plans_match_snapshots() { ); } -/// Only the search report's timings, and the report embedded in a selection -/// error, are dropped; `_ms` inputs elsewhere stay. +/// The snapshot keeps the selected plan without its id or the search +/// report, and rounds floats. #[test] -fn strip_timings_keeps_inputs() { - let mut document = json!({ - "workload": {"queries": [{"range_evaluation": {"step_ms": 60000}}]}, +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": { - "pane_retention_ms": {"3": 60000}, - "error": "infeasible. Search report: {\"solver_ms\":1.5}", - "search": {"candidate_connections": {"solver_ms": 1.5, "refinements": 128}}, + "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}}, }, }); - strip_timings(&mut document); assert_eq!( - document, + snapshot_of(&document), json!({ - "workload": {"queries": [{"range_evaluation": {"step_ms": 60000}}]}, - "stage3_plan_selection": { - "pane_retention_ms": {"3": 60000}, - "error": "infeasible.", - "search": {"candidate_connections": {"refinements": 128}}, + "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 is detected; one stopped by -/// the evaluation budget, or with no search report, is not. +/// 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| { + let report = |elapsed: f64, status: &str| { json!({"stage3_plan_selection": {"search": {"candidate_connections": { - "full_planning_ms": elapsed, "time_limit_ms": 1000.0, + "full_planning_ms": elapsed, "time_limit_ms": 1000.0, "status": status, }}}}) }; - assert!(hit_time_limit(&report(1000.2))); - assert!(!hit_time_limit(&report(12.0))); + 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"}}) )); diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json index 070defc48..d2b5c5547 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json @@ -93,7 +93,8 @@ }, { "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))" + "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))", + "known_slow": "planning runs past the time limit on main (#1023)" }, { "id": "q19", @@ -105,7 +106,8 @@ }, { "id": "q21", - "query": "sum(rate(http_requests_total{job=\"order-service\"}[5m] offset 1h))" + "query": "sum(rate(http_requests_total{job=\"order-service\"}[5m] offset 1h))", + "known_slow": "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", diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json index 6d1767a51..4fbf612da 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q02.json @@ -1,151 +1,378 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" + "materialized_views": [ + { + "coverage": { + "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } ] }, - { - "family": "Kll", - "readouts": [ - "Quantile" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Cms", - "readouts": [ - "Total" + "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 + } + ] + } ] }, - { - "family": "Hll", - "readouts": [ - "Distinct" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" + "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 + } + ] + } ] }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Kmv", - "readouts": [ - "Distinct" + "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 + } + ] + } ] }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" + } + }, + "width_ms": 60000 + } ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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 - }, + }, + "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": [ { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "Utf8": "order-service" } - ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] ] - }, - "source": { - "TimeSeries": { - "metric": "http_request_duration_seconds_bucket" - } } } - } + ], + "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" }, - "result_kind": "instant_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -197,25 +424,18 @@ ] ] }, - "timing": null + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 300 - } - } - } + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" }, - "result_kind": "range_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -228,9 +448,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -267,31 +490,18 @@ ] ] }, - "timing": null + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" }, - "result_kind": "instant_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -304,9 +514,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -343,2191 +556,763 @@ ] ] }, - "timing": null + "producer": 2, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 3 - ] - } - } - } + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" }, - "result_kind": "instant_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "le", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { "Plain": "float64" }, - "name": "sum", + "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": null, + "time_index": 0, "unique_keys": [ [ + 4, 0 ] ] }, - "timing": null + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "kind": "histogram_quantile", - "le": 0, - "q": 0.95 - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": { - "without": [ - 0 - ] - } - } + "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 + ] + ] }, - "result_kind": "instant_vector", - "schema": { - "closed": false, + "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": "histogram_quantile", + "name": "sum", "nullable": false, "table": null } ], "time_index": null, - "unique_keys": [] + "unique_keys": [ + [ + 0 + ] + ] }, - "timing": null + "producer": 5, + "role": "Input", + "window": "NotApplicable" } ], - "roots": [ + "nodes": [ { - "Operator": 4 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } + "failure_probability": { + "op": "zero" + } + } + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, - "result_kind": "instant_vector", - "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": "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": [ { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "Compare": { + "left": { + "Column": 2 + }, + "op": "Eq", + "right": { + "Literal": { + "Utf8": "order-service" + } + }, + "semantics": "promql" + } } ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "PaneChain": { - "child": 0, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "pane_count": 5, - "pane_width_ms": 60000, - "reduction": "PerEntity" - } - } - }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "name": "ts", + "nullable": false, + "table": null }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null }, - "name": "le", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 1 - ] - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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 - ] - } - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 5, - "filters": [], - "having": null, - "measures": [ - { - "kind": "histogram_quantile", - "le": 0, - "q": 0.95 - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": { - "without": [ - 0 - ] - } - } - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": false, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "histogram_quantile", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 6 - } - ] - }, - "display_name": "Q1 Sum acc + Rate acc ×5 panes", - "id": "pane-round-9-joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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" + { + "dtype": { + "Plain": "utf8" }, - "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 + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_request_duration_seconds_bucket" } } } - }, - { - "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" - } - } + } + } + }, + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, - "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 + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" ] - ] + }, + "name": "state", + "nullable": false, + "table": null }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - }, - { - "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 + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" ] - ] - }, - "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 - ] - } + }, + "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": { - "provenance": [ - { - "kind": "exact", - "reason": "exact accumulator over exact input" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } + } + } + }, + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, - "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 + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" ] - ] - }, - "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" - } - } + }, + "name": "state", + "nullable": false, + "table": null }, - "id": 6, - "materialization": "NotMaterialized", - "output_schema": { - "closed": false, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "histogram_quantile", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" + { + "dtype": { + "Plain": "utf8" + }, + "name": "le", + "nullable": true, + "table": null }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 5, - "filters": [], - "having": null, - "measures": [ - { - "kind": "histogram_quantile", - "le": 0, - "q": 0.95 - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": { - "without": [ - 0 - ] - } - } - } - } + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - ], - "roots": [ - 6 - ], - "scalar_roots": [] - }, - "display_name": "Q1 Sum acc + Rate acc ×5 panes · ingestion time: Rate acc ×5 panes", - "from_logical": "pane-round-9-joint-logical-1", - "id": "pane-round-9-joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "pane-round-9-joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "pane-round-9-joint-plan-1": { - "cost_per_second": 0.4815668598333333, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 0.000019566666666666663, - "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.0050834044999999994, - "cpu_core_seconds_per_second": 5.083333333333333e-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.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "4": { - "cost_per_second": 0.0010167378333333333, - "cpu_core_seconds_per_second": 1.0166666666666663e-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" + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 + ] + ] }, - "5": { - "cost_per_second": 0.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "6": { - "cost_per_second": 0.002033384166666666, - "cpu_core_seconds_per_second": 2.033333333333333e-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" + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } } }, - "source": "analytical-cost-v2 (illustrative statistics)", - "usage": { - "average_memory_bytes": 3696001.545333334, - "cpu_ops_per_second": 13166.666666666666, - "disk_bytes": 0, - "latency_per_query": [ - { - "compaction_ms": 0.0, - "query_ms": 0.01 + { + "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" + } } - ], - "peak_cpu_cores": 2, - "peak_memory_bytes": 3848064, - "scanned_bytes_per_second": 64000.0 - } - } - }, - "front": [], - "pane_retention_ms": { - "1": 3900000 - }, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 252, - "direct_cost_best_validated_cost": 0.4815668598333333, - "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 20, - "direct_cost_validated_plans": 10, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 5, - "immediate_candidates": 130, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 20, - "logical_candidates": 46, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }", - "Expanding { max_parts: 1024 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 4342, - "peak_milp_variables": 1753, - "physical_configurations": 172, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 152, - "status": "time_or_evaluation_limit_with_validated_incumbent", - "stored_supplier_ids": 171, - "structurally_removed_candidates": 129, - "structurally_removed_connections": 211, - "supplier_sets": 89, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 128, - "incumbent_cost": 0.4815668598333333, - "runner_up_cost_per_second": null - }, - "search_rejected": [], - "selected": "pane-round-9-joint-plan-1", - "stored_outputs": [ - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -60000 + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": 0 - } + "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 + } } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 0, - "scan_node_id": 0, - "time_range_node_id": 1, - "width_ms": 60000 - } - ], - "stored_outputs": [] + } }, - "installed_count": 5, - "installed_position": 0, - "node_id": 2, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -120000 + { + "guarantee": null, + "id": 4, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" }, - { - "included": -60000 - } + "name": "le", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 60000, - "scan_node_id": 0, - "time_range_node_id": 4, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 1, - "node_id": 5, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] + ] + }, + "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" } - } - ], - "relative_time": [ - { - "excluded": -180000 }, - { - "included": -120000 + "reduction": { + "Reduce": [ + 3 + ] } - ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 120000, - "scan_node_id": 0, - "time_range_node_id": 7, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 2, - "node_id": 8, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -240000 + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" }, - { - "included": -180000 - } + "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 + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 180000, - "scan_node_id": 0, - "time_range_node_id": 10, - "width_ms": 60000 + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 3, - "node_id": 11, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "4f999e82e92588ae4def6db7bcbd4fd7", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } + }, + "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 ] } } - ], - "relative_time": [ - { - "excluded": -300000 - }, - { - "included": -240000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 240000, - "scan_node_id": 0, - "time_range_node_id": 13, - "width_ms": 60000 + } } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 4, - "node_id": 14, - "retention_ms": 3900000, - "stage2_node_id": 1 - } - ] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null + } } - } + ], + "roots": [ + 6 + ], + "scalar_roots": [] }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": null, - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{job=\"order-service\"}[5m])) by (le))" - } - ] + "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 index 5774251b5..a26dc0dc6 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q05.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q05.json @@ -1,993 +1,8 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" - ] - }, - { - "family": "Kll", - "readouts": [ - "Quantile" - ] - }, - { - "family": "Cms", - "readouts": [ - "Total" - ] - }, - { - "family": "Hll", - "readouts": [ - "Distinct" - ] - }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" - ] - }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" - ] - }, - { - "family": "Kmv", - "readouts": [ - "Distinct" - ] - }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Scan": { - "predicates": [ - { - "Compare": { - "left": { - "Column": 2 - }, - "op": "Eq", - "right": { - "Literal": { - "Utf8": "order-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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 300 - } - } - } - }, - "result_kind": "range_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 4, - "kind": "range", - "range": { - "nanos": 0, - "secs": 300 - } - } - } - }, - "result_kind": "range_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 5, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 6, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "BinaryOp": { - "lhs": 3, - "operator": { - "checked_finite_division": false, - "checked_relative_division": false, - "kind": { - "Arithmetic": "Div" - }, - "vector_match": null - }, - "return_bool": false, - "rhs": 7 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "PromqlSubquery": { - "child": 8, - "range": { - "nanos": 0, - "secs": 21600 - }, - "resolution": { - "nanos": 0, - "secs": 60 - } - } - } - }, - "result_kind": "range_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 9, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "max" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 10 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [], - "capped": false, - "combinations": 0, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [], - "pruned": [] - }, - "stage3_plan_selection": { - "costs": {}, - "error": "MILP solver: candidate-connections: planning budget ended before either seed or complete search found a validated incumbent.", - "rejected": [], - "search": { - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 447, - "direct_cost_best_validated_cost": null, - "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 11, - "immediate_candidates": 232, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 512 }", - "joint_price_solve_calls": 0, - "logical_candidates": 83, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 1512, - "peak_milp_variables": 1061, - "physical_configurations": 306, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 129, - "status": "pane_width_domain_incomplete", - "stored_supplier_ids": 305, - "structurally_removed_candidates": 230, - "structurally_removed_connections": 375, - "supplier_sets": 161, - "validation_rejection_counts": { - "executor_cannot_compile": 128 - }, - "validation_rejection_examples": [ - "executor_cannot_compile: raw-sample window of node 1 is unsupported: a subquery or a TimeShift above the range" - ] - } - }, - "selected": null, - "stored_outputs": [] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - } - } - }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "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])" - } - ] - } + "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 index 33c7988bd..e66c8366a 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q06.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q06.json @@ -1,710 +1,8 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" - ] - }, - { - "family": "Kll", - "readouts": [ - "Quantile" - ] - }, - { - "family": "Cms", - "readouts": [ - "Total" - ] - }, - { - "family": "Hll", - "readouts": [ - "Distinct" - ] - }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" - ] - }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" - ] - }, - { - "family": "Kmv", - "readouts": [ - "Distinct" - ] - }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 300 - } - } - } - }, - "result_kind": "range_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 3 - ] - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "kind": "histogram_quantile", - "le": 0, - "q": 0.95 - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": { - "without": [ - 0 - ] - } - } - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": false, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "histogram_quantile", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "PromqlSubquery": { - "child": 4, - "range": { - "nanos": 0, - "secs": 43200 - }, - "resolution": { - "nanos": 0, - "secs": 60 - } - } - } - }, - "result_kind": "range_vector", - "schema": { - "closed": false, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "histogram_quantile", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 5, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "max" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": false, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 6 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [], - "capped": false, - "combinations": 0, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [], - "pruned": [] - }, - "stage3_plan_selection": { - "costs": {}, - "error": "MILP solver: candidate-connections: planning budget ended before either seed or complete search found a validated incumbent.", - "rejected": [], - "search": { - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 255, - "direct_cost_best_validated_cost": null, - "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 7, - "immediate_candidates": 133, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 0, - "logical_candidates": 48, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }", - "Expanding { max_parts: 1024 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 865, - "peak_milp_variables": 607, - "physical_configurations": 175, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 131, - "status": "pane_width_domain_incomplete", - "stored_supplier_ids": 174, - "structurally_removed_candidates": 132, - "structurally_removed_connections": 214, - "supplier_sets": 92, - "validation_rejection_counts": { - "executor_cannot_compile": 128 - }, - "validation_rejection_examples": [ - "executor_cannot_compile: raw-sample window of node 1 is unsupported: a subquery or a TimeShift above the range" - ] - } - }, - "selected": null, - "stored_outputs": [] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - } - } - }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "max_over_time(histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{job=\"user-service\"}[5m])) by (le))[12h:1m])" - } - ] - } + "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 index 8eb48407d..216bf9953 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q11.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q11.json @@ -1,501 +1,8 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" - ] - }, - { - "family": "Kll", - "readouts": [ - "Quantile" - ] - }, - { - "family": "Cms", - "readouts": [ - "Total" - ] - }, - { - "family": "Hll", - "readouts": [ - "Distinct" - ] - }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" - ] - }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" - ] - }, - { - "family": "Kmv", - "readouts": [ - "Distinct" - ] - }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "instant", - "range": { - "nanos": 0, - "secs": 1 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "PromqlSubquery": { - "child": 2, - "range": { - "nanos": 0, - "secs": 21600 - }, - "resolution": { - "nanos": 0, - "secs": 60 - } - } - } - }, - "result_kind": "range_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "max" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 4 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [], - "capped": false, - "combinations": 0, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [], - "pruned": [] - }, - "stage3_plan_selection": { - "costs": {}, - "error": "MILP solver: candidate-connections: generated candidate catalog is infeasible under the configured model.", - "rejected": [], - "search": { - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": null, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 6, - "direct_cost_best_validated_cost": null, - "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": null, - "full_catalog_completed": true, - "groups": 5, - "immediate_candidates": 7, - "independent_components": 1, - "inventory_pane_width_domain": "Complete", - "joint_price_solve_calls": 0, - "logical_candidates": 5, - "lower_bound": 0.0, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "Complete" - ], - "pane_widths_pending": false, - "peak_milp_constraints": 29, - "peak_milp_variables": 22, - "physical_configurations": 7, - "refinements": 1, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 3, - "status": "infeasible_under_configured_model", - "stored_supplier_ids": 6, - "structurally_removed_candidates": 7, - "structurally_removed_connections": 6, - "supplier_sets": 6, - "validation_rejection_counts": { - "executor_cannot_compile": 1 - }, - "validation_rejection_examples": [ - "executor_cannot_compile: raw-sample window of node 1 is unsupported: a subquery or a TimeShift above the range" - ] - } - }, - "selected": null, - "stored_outputs": [] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - } - } - }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "max_over_time(sum(process_resident_memory_bytes)[6h:1m])" - } - ] - } + "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 index 7f58aaa85..793450243 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q12.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q12.json @@ -1,71 +1,189 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ + "materialized_views": [], + "pane_retention_ms": {}, + "proven_optimal": true, + "query": "service_cache_refresh_lag_seconds{job=\"user-service\"}", + "selected": { + "accepted": [ { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" - ] - }, - { - "family": "Kll", - "readouts": [ - "Quantile" - ] - }, - { - "family": "Cms", - "readouts": [ - "Total" - ] - }, - { - "family": "Hll", - "readouts": [ - "Distinct" - ] - }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" - ] - }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" - ] - }, - { - "family": "Kmv", - "readouts": [ - "Distinct" - ] + "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" + } }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] + "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 } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { + }, "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": null, + "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", - "operator": { + "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": [ @@ -135,9 +253,30 @@ } } } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } }, - "result_kind": "instant_vector", - "schema": { + "id": 1, + "materialization": "NotMaterialized", + "output_schema": { "closed": true, "fields": [ { @@ -181,12 +320,11 @@ ] ] }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { "NonASAP": { "TimeRange": { "child": 0, @@ -197,807 +335,14 @@ } } } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null + } } ], "roots": [ - { - "Operator": 1 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "instant", - "range": { - "nanos": 0, - "secs": 1 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 1 - } - ] - }, - "display_name": "Q1 exact", - "id": "joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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", - "from_logical": "joint-logical-1", - "id": "joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "joint-plan-1": { - "cost_per_second": 0.006913333416293332, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 6.913333333333332e-6, - "per_node": { - "0": { - "cost_per_second": 0.0058966667081466655, - "cpu_core_seconds_per_second": 5.8966666666666655e-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.0010166667081466666, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0006636799999999999, - "cpu_ops_per_second": 2033.3333333333333, - "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 - } - } - }, - "front": [], - "pane_retention_ms": {}, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": null, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 1, - "direct_cost_best_validated_cost": 0.006913333416293332, - "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 1, - "direct_cost_validated_plans": 1, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 0, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": null, - "full_catalog_completed": true, - "groups": 2, - "immediate_candidates": 2, - "independent_components": 1, - "inventory_pane_width_domain": "Complete", - "joint_price_solve_calls": 1, - "logical_candidates": 2, - "lower_bound": 0.006913333416293332, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "Complete" - ], - "pane_widths_pending": false, - "peak_milp_constraints": 47, - "peak_milp_variables": 22, - "physical_configurations": 2, - "refinements": 1, - "relative_gap": 0.0, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 3, - "status": "optimal", - "stored_supplier_ids": 1, - "structurally_removed_candidates": 2, - "structurally_removed_connections": 1, - "supplier_sets": 1, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 1, - "incumbent_cost": 0.006913333416293332, - "runner_up_cost_per_second": null - }, - "search_rejected": [], - "selected": "joint-plan-1", - "stored_outputs": [] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - } - } + 1 + ], + "scalar_roots": [] }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "service_cache_refresh_lag_seconds{job=\"user-service\"}" - } - ] + "display_name": "Q1 exact" } } diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q18.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q18.json deleted file mode 100644 index eab1b0aa1..000000000 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q18.json +++ /dev/null @@ -1,10241 +0,0 @@ -{ - "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" - ] - }, - { - "family": "Kll", - "readouts": [ - "Quantile" - ] - }, - { - "family": "Cms", - "readouts": [ - "Total" - ] - }, - { - "family": "Hll", - "readouts": [ - "Distinct" - ] - }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" - ] - }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" - ] - }, - { - "family": "Kmv", - "readouts": [ - "Distinct" - ] - }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 21600000 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 1, - "kind": "range", - "range": { - "nanos": 0, - "secs": 3600 - } - } - } - }, - "result_kind": "range_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "kind": "increase" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 21600000 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 6, - "kind": "range", - "range": { - "nanos": 0, - "secs": 3600 - } - } - } - }, - "result_kind": "range_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 7, - "filters": [], - "having": null, - "measures": [ - { - "kind": "increase" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 8, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "BinaryOp": { - "lhs": 4, - "operator": { - "checked_finite_division": false, - "checked_relative_division": false, - "kind": { - "Arithmetic": "Div" - }, - "vector_match": null - }, - "return_bool": false, - "rhs": 9 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 10 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 21600000 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "PaneChain": { - "child": 1, - "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" - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 2 - ] - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryAgg": { - "child": 4, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [] - } - } - } - }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 5 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeShift": { - "child": 7, - "shift": { - "at": null, - "offset_ms": 21600000 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "PaneChain": { - "child": 8, - "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" - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 9 - ] - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 10 - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryAgg": { - "child": 11, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [] - } - } - } - }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 12 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "BinaryOp": { - "lhs": 6, - "operator": { - "checked_finite_division": false, - "checked_relative_division": false, - "kind": { - "Arithmetic": "Div" - }, - "vector_match": null - }, - "return_bool": false, - "rhs": 13 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 14 - } - ] - }, - "display_name": "Q1 Sum acc + Increase acc ×60 panes", - "id": "pane-round-8-joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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": "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": 1, - "role": "Input", - "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" - }, - { - "consumer": 3, - "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": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "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": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "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": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "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": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "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": 7, - "role": "Input", - "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" - }, - { - "consumer": 9, - "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": 8, - "role": "Input", - "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" - }, - { - "consumer": 10, - "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": 9, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, - "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": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "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": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "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": 12, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "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": 6, - "role": "Left", - "window": "NotApplicable" - }, - { - "consumer": 14, - "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": 13, - "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": { - "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": "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": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 21600000 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "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": 1, - "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": 3, - "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": [ - 2 - ] - } - } - } - }, - { - "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": 4, - "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": 3 - } - } - } - }, - { - "guarantee": null, - "id": 5, - "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": 4, - "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": 6, - "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": 5 - } - } - } - }, - { - "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": 7, - "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": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "id": 8, - "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": { - "TimeShift": { - "child": 7, - "shift": { - "at": null, - "offset_ms": 21600000 - } - } - } - } - }, - { - "guarantee": null, - "id": 9, - "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": 8, - "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": 10, - "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": [ - 9 - ] - } - } - } - }, - { - "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": "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": 10 - } - } - } - }, - { - "guarantee": null, - "id": 12, - "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": 11, - "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": 13, - "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": 12 - } - } - } - }, - { - "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": 14, - "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": 6, - "operator": { - "checked_finite_division": false, - "checked_relative_division": false, - "kind": { - "Arithmetic": "Div" - }, - "vector_match": null - }, - "return_bool": false, - "rhs": 13 - } - } - } - } - ], - "roots": [ - 14 - ], - "scalar_roots": [] - }, - "display_name": "Q1 Sum acc + Increase acc ×60 panes · ingestion time: Increase acc ×60 panes, Increase acc ×60 panes", - "from_logical": "pane-round-8-joint-logical-1", - "id": "pane-round-8-joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "pane-round-8-joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "pane-round-8-joint-plan-1": { - "cost_per_second": 6.877271483533745, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 0.00014326971666666667, - "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.0, - "cpu_core_seconds_per_second": 0.0, - "detail": "time shift: pass 1000 rows, free; x 1.0000/s", - "multiplier": 1, - "operator": "TimeShift", - "price_source": "analytical", - "timing": "ingestion_time" - }, - "10": { - "cost_per_second": 0.06100088248801666, - "cpu_core_seconds_per_second": 0.00006099999999999999, - "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" - }, - "11": { - "cost_per_second": 0.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "12": { - "cost_per_second": 0.0010166675491546833, - "cpu_core_seconds_per_second": 1.0166666666666663e-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" - }, - "13": { - "cost_per_second": 1.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-9, - "detail": "finalize 1 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "14": { - "cost_per_second": 1.0167927363833333e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-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": 3.369, - "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 26936000 bytes", - "multiplier": 1, - "operator": "PaneChain", - "price_source": "analytical", - "timing": "ingestion_time" - }, - "3": { - "cost_per_second": 0.06100088248801666, - "cpu_core_seconds_per_second": 0.00006099999999999999, - "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" - }, - "4": { - "cost_per_second": 0.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "5": { - "cost_per_second": 0.0010166675491546833, - "cpu_core_seconds_per_second": 1.0166666666666663e-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" - }, - "6": { - "cost_per_second": 1.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-9, - "detail": "finalize 1 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "7": { - "cost_per_second": 0.0058, - "cpu_core_seconds_per_second": 5.7999999999999995e-6, - "detail": "scan 1000 samples; x 1.0000/s", - "multiplier": 1, - "operator": "Scan", - "price_source": "analytical", - "timing": "ingestion_time" - }, - "8": { - "cost_per_second": 0.0, - "cpu_core_seconds_per_second": 0.0, - "detail": "time shift: pass 1000 rows, free; x 1.0000/s", - "multiplier": 1, - "operator": "TimeShift", - "price_source": "analytical", - "timing": "ingestion_time" - }, - "9": { - "cost_per_second": 3.369, - "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 26936000 bytes", - "multiplier": 1, - "operator": "PaneChain", - "price_source": "analytical", - "timing": "ingestion_time" - } - }, - "source": "analytical-cost-v2 (illustrative statistics)", - "usage": { - "average_memory_bytes": 53872014.13493663, - "cpu_ops_per_second": 132069.71666666665, - "disk_bytes": 0, - "latency_per_query": [ - { - "compaction_ms": 0.0, - "query_ms": 0.124003 - } - ], - "peak_cpu_cores": 2, - "peak_memory_bytes": 53984232, - "scanned_bytes_per_second": 112000.0 - } - } - }, - "front": [], - "pane_retention_ms": { - "2": 28800000, - "9": 28800000 - }, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 590, - "direct_cost_best_validated_cost": null, - "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 11, - "immediate_candidates": 303, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 512 }", - "joint_price_solve_calls": 0, - "logical_candidates": 83, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 2084, - "peak_milp_variables": 1490, - "physical_configurations": 449, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 129, - "status": "time_or_evaluation_limit_with_validated_incumbent", - "stored_supplier_ids": 448, - "structurally_removed_candidates": 229, - "structurally_removed_connections": 374, - "supplier_sets": 304, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 128, - "incumbent_cost": 6.877271483533745, - "runner_up_cost_per_second": null - }, - "search_rejected": [], - "selected": "pane-round-8-joint-plan-1", - "stored_outputs": [ - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21660000 - }, - { - "included": -21600000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21600000, - "scan_node_id": 0, - "time_range_node_id": 2, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 0, - "node_id": 3, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21720000 - }, - { - "included": -21660000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21660000, - "scan_node_id": 0, - "time_range_node_id": 5, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 1, - "node_id": 6, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21780000 - }, - { - "included": -21720000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21720000, - "scan_node_id": 0, - "time_range_node_id": 8, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 2, - "node_id": 9, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21840000 - }, - { - "included": -21780000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21780000, - "scan_node_id": 0, - "time_range_node_id": 11, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 3, - "node_id": 12, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21900000 - }, - { - "included": -21840000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21840000, - "scan_node_id": 0, - "time_range_node_id": 14, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 4, - "node_id": 15, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21960000 - }, - { - "included": -21900000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21900000, - "scan_node_id": 0, - "time_range_node_id": 17, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 5, - "node_id": 18, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22020000 - }, - { - "included": -21960000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21960000, - "scan_node_id": 0, - "time_range_node_id": 20, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 6, - "node_id": 21, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22080000 - }, - { - "included": -22020000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22020000, - "scan_node_id": 0, - "time_range_node_id": 23, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 7, - "node_id": 24, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22140000 - }, - { - "included": -22080000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22080000, - "scan_node_id": 0, - "time_range_node_id": 26, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 8, - "node_id": 27, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22200000 - }, - { - "included": -22140000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22140000, - "scan_node_id": 0, - "time_range_node_id": 29, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 9, - "node_id": 30, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22260000 - }, - { - "included": -22200000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22200000, - "scan_node_id": 0, - "time_range_node_id": 32, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 10, - "node_id": 33, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22320000 - }, - { - "included": -22260000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22260000, - "scan_node_id": 0, - "time_range_node_id": 35, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 11, - "node_id": 36, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22380000 - }, - { - "included": -22320000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22320000, - "scan_node_id": 0, - "time_range_node_id": 38, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 12, - "node_id": 39, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22440000 - }, - { - "included": -22380000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22380000, - "scan_node_id": 0, - "time_range_node_id": 41, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 13, - "node_id": 42, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22500000 - }, - { - "included": -22440000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22440000, - "scan_node_id": 0, - "time_range_node_id": 44, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 14, - "node_id": 45, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22560000 - }, - { - "included": -22500000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22500000, - "scan_node_id": 0, - "time_range_node_id": 47, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 15, - "node_id": 48, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22620000 - }, - { - "included": -22560000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22560000, - "scan_node_id": 0, - "time_range_node_id": 50, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 16, - "node_id": 51, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22680000 - }, - { - "included": -22620000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22620000, - "scan_node_id": 0, - "time_range_node_id": 53, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 17, - "node_id": 54, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22740000 - }, - { - "included": -22680000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22680000, - "scan_node_id": 0, - "time_range_node_id": 56, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 18, - "node_id": 57, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22800000 - }, - { - "included": -22740000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22740000, - "scan_node_id": 0, - "time_range_node_id": 59, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 19, - "node_id": 60, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22860000 - }, - { - "included": -22800000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22800000, - "scan_node_id": 0, - "time_range_node_id": 62, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 20, - "node_id": 63, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22920000 - }, - { - "included": -22860000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22860000, - "scan_node_id": 0, - "time_range_node_id": 65, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 21, - "node_id": 66, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22980000 - }, - { - "included": -22920000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22920000, - "scan_node_id": 0, - "time_range_node_id": 68, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 22, - "node_id": 69, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23040000 - }, - { - "included": -22980000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22980000, - "scan_node_id": 0, - "time_range_node_id": 71, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 23, - "node_id": 72, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23100000 - }, - { - "included": -23040000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23040000, - "scan_node_id": 0, - "time_range_node_id": 74, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 24, - "node_id": 75, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23160000 - }, - { - "included": -23100000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23100000, - "scan_node_id": 0, - "time_range_node_id": 77, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 25, - "node_id": 78, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23220000 - }, - { - "included": -23160000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23160000, - "scan_node_id": 0, - "time_range_node_id": 80, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 26, - "node_id": 81, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23280000 - }, - { - "included": -23220000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23220000, - "scan_node_id": 0, - "time_range_node_id": 83, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 27, - "node_id": 84, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23340000 - }, - { - "included": -23280000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23280000, - "scan_node_id": 0, - "time_range_node_id": 86, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 28, - "node_id": 87, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23400000 - }, - { - "included": -23340000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23340000, - "scan_node_id": 0, - "time_range_node_id": 89, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 29, - "node_id": 90, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23460000 - }, - { - "included": -23400000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23400000, - "scan_node_id": 0, - "time_range_node_id": 92, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 30, - "node_id": 93, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23520000 - }, - { - "included": -23460000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23460000, - "scan_node_id": 0, - "time_range_node_id": 95, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 31, - "node_id": 96, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23580000 - }, - { - "included": -23520000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23520000, - "scan_node_id": 0, - "time_range_node_id": 98, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 32, - "node_id": 99, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23640000 - }, - { - "included": -23580000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23580000, - "scan_node_id": 0, - "time_range_node_id": 101, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 33, - "node_id": 102, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23700000 - }, - { - "included": -23640000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23640000, - "scan_node_id": 0, - "time_range_node_id": 104, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 34, - "node_id": 105, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23760000 - }, - { - "included": -23700000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23700000, - "scan_node_id": 0, - "time_range_node_id": 107, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 35, - "node_id": 108, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23820000 - }, - { - "included": -23760000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23760000, - "scan_node_id": 0, - "time_range_node_id": 110, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 36, - "node_id": 111, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23880000 - }, - { - "included": -23820000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23820000, - "scan_node_id": 0, - "time_range_node_id": 113, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 37, - "node_id": 114, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23940000 - }, - { - "included": -23880000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23880000, - "scan_node_id": 0, - "time_range_node_id": 116, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 38, - "node_id": 117, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24000000 - }, - { - "included": -23940000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23940000, - "scan_node_id": 0, - "time_range_node_id": 119, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 39, - "node_id": 120, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24060000 - }, - { - "included": -24000000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24000000, - "scan_node_id": 0, - "time_range_node_id": 122, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 40, - "node_id": 123, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24120000 - }, - { - "included": -24060000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24060000, - "scan_node_id": 0, - "time_range_node_id": 125, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 41, - "node_id": 126, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24180000 - }, - { - "included": -24120000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24120000, - "scan_node_id": 0, - "time_range_node_id": 128, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 42, - "node_id": 129, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24240000 - }, - { - "included": -24180000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24180000, - "scan_node_id": 0, - "time_range_node_id": 131, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 43, - "node_id": 132, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24300000 - }, - { - "included": -24240000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24240000, - "scan_node_id": 0, - "time_range_node_id": 134, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 44, - "node_id": 135, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24360000 - }, - { - "included": -24300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24300000, - "scan_node_id": 0, - "time_range_node_id": 137, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 45, - "node_id": 138, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24420000 - }, - { - "included": -24360000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24360000, - "scan_node_id": 0, - "time_range_node_id": 140, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 46, - "node_id": 141, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24480000 - }, - { - "included": -24420000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24420000, - "scan_node_id": 0, - "time_range_node_id": 143, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 47, - "node_id": 144, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24540000 - }, - { - "included": -24480000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24480000, - "scan_node_id": 0, - "time_range_node_id": 146, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 48, - "node_id": 147, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24600000 - }, - { - "included": -24540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24540000, - "scan_node_id": 0, - "time_range_node_id": 149, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 49, - "node_id": 150, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24660000 - }, - { - "included": -24600000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24600000, - "scan_node_id": 0, - "time_range_node_id": 152, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 50, - "node_id": 153, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24720000 - }, - { - "included": -24660000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24660000, - "scan_node_id": 0, - "time_range_node_id": 155, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 51, - "node_id": 156, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24780000 - }, - { - "included": -24720000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24720000, - "scan_node_id": 0, - "time_range_node_id": 158, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 52, - "node_id": 159, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24840000 - }, - { - "included": -24780000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24780000, - "scan_node_id": 0, - "time_range_node_id": 161, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 53, - "node_id": 162, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24900000 - }, - { - "included": -24840000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24840000, - "scan_node_id": 0, - "time_range_node_id": 164, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 54, - "node_id": 165, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24960000 - }, - { - "included": -24900000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24900000, - "scan_node_id": 0, - "time_range_node_id": 167, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 55, - "node_id": 168, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -25020000 - }, - { - "included": -24960000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24960000, - "scan_node_id": 0, - "time_range_node_id": 170, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 56, - "node_id": 171, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -25080000 - }, - { - "included": -25020000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 25020000, - "scan_node_id": 0, - "time_range_node_id": 173, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 57, - "node_id": 174, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -25140000 - }, - { - "included": -25080000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 25080000, - "scan_node_id": 0, - "time_range_node_id": 176, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 58, - "node_id": 177, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -25200000 - }, - { - "included": -25140000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 25140000, - "scan_node_id": 0, - "time_range_node_id": 179, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 59, - "node_id": 180, - "retention_ms": 28800000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21660000 - }, - { - "included": -21600000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21600000, - "scan_node_id": 185, - "time_range_node_id": 187, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 0, - "node_id": 188, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21720000 - }, - { - "included": -21660000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21660000, - "scan_node_id": 185, - "time_range_node_id": 190, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 1, - "node_id": 191, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21780000 - }, - { - "included": -21720000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21720000, - "scan_node_id": 185, - "time_range_node_id": 193, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 2, - "node_id": 194, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21840000 - }, - { - "included": -21780000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21780000, - "scan_node_id": 185, - "time_range_node_id": 196, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 3, - "node_id": 197, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21900000 - }, - { - "included": -21840000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21840000, - "scan_node_id": 185, - "time_range_node_id": 199, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 4, - "node_id": 200, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -21960000 - }, - { - "included": -21900000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21900000, - "scan_node_id": 185, - "time_range_node_id": 202, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 5, - "node_id": 203, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22020000 - }, - { - "included": -21960000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 21960000, - "scan_node_id": 185, - "time_range_node_id": 205, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 6, - "node_id": 206, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22080000 - }, - { - "included": -22020000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22020000, - "scan_node_id": 185, - "time_range_node_id": 208, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 7, - "node_id": 209, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22140000 - }, - { - "included": -22080000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22080000, - "scan_node_id": 185, - "time_range_node_id": 211, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 8, - "node_id": 212, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22200000 - }, - { - "included": -22140000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22140000, - "scan_node_id": 185, - "time_range_node_id": 214, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 9, - "node_id": 215, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22260000 - }, - { - "included": -22200000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22200000, - "scan_node_id": 185, - "time_range_node_id": 217, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 10, - "node_id": 218, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22320000 - }, - { - "included": -22260000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22260000, - "scan_node_id": 185, - "time_range_node_id": 220, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 11, - "node_id": 221, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22380000 - }, - { - "included": -22320000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22320000, - "scan_node_id": 185, - "time_range_node_id": 223, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 12, - "node_id": 224, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22440000 - }, - { - "included": -22380000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22380000, - "scan_node_id": 185, - "time_range_node_id": 226, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 13, - "node_id": 227, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22500000 - }, - { - "included": -22440000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22440000, - "scan_node_id": 185, - "time_range_node_id": 229, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 14, - "node_id": 230, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22560000 - }, - { - "included": -22500000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22500000, - "scan_node_id": 185, - "time_range_node_id": 232, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 15, - "node_id": 233, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22620000 - }, - { - "included": -22560000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22560000, - "scan_node_id": 185, - "time_range_node_id": 235, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 16, - "node_id": 236, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22680000 - }, - { - "included": -22620000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22620000, - "scan_node_id": 185, - "time_range_node_id": 238, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 17, - "node_id": 239, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22740000 - }, - { - "included": -22680000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22680000, - "scan_node_id": 185, - "time_range_node_id": 241, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 18, - "node_id": 242, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22800000 - }, - { - "included": -22740000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22740000, - "scan_node_id": 185, - "time_range_node_id": 244, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 19, - "node_id": 245, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22860000 - }, - { - "included": -22800000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22800000, - "scan_node_id": 185, - "time_range_node_id": 247, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 20, - "node_id": 248, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22920000 - }, - { - "included": -22860000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22860000, - "scan_node_id": 185, - "time_range_node_id": 250, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 21, - "node_id": 251, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -22980000 - }, - { - "included": -22920000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22920000, - "scan_node_id": 185, - "time_range_node_id": 253, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 22, - "node_id": 254, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23040000 - }, - { - "included": -22980000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 22980000, - "scan_node_id": 185, - "time_range_node_id": 256, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 23, - "node_id": 257, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23100000 - }, - { - "included": -23040000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23040000, - "scan_node_id": 185, - "time_range_node_id": 259, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 24, - "node_id": 260, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23160000 - }, - { - "included": -23100000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23100000, - "scan_node_id": 185, - "time_range_node_id": 262, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 25, - "node_id": 263, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23220000 - }, - { - "included": -23160000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23160000, - "scan_node_id": 185, - "time_range_node_id": 265, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 26, - "node_id": 266, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23280000 - }, - { - "included": -23220000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23220000, - "scan_node_id": 185, - "time_range_node_id": 268, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 27, - "node_id": 269, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23340000 - }, - { - "included": -23280000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23280000, - "scan_node_id": 185, - "time_range_node_id": 271, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 28, - "node_id": 272, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23400000 - }, - { - "included": -23340000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23340000, - "scan_node_id": 185, - "time_range_node_id": 274, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 29, - "node_id": 275, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23460000 - }, - { - "included": -23400000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23400000, - "scan_node_id": 185, - "time_range_node_id": 277, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 30, - "node_id": 278, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23520000 - }, - { - "included": -23460000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23460000, - "scan_node_id": 185, - "time_range_node_id": 280, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 31, - "node_id": 281, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23580000 - }, - { - "included": -23520000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23520000, - "scan_node_id": 185, - "time_range_node_id": 283, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 32, - "node_id": 284, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23640000 - }, - { - "included": -23580000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23580000, - "scan_node_id": 185, - "time_range_node_id": 286, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 33, - "node_id": 287, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23700000 - }, - { - "included": -23640000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23640000, - "scan_node_id": 185, - "time_range_node_id": 289, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 34, - "node_id": 290, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23760000 - }, - { - "included": -23700000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23700000, - "scan_node_id": 185, - "time_range_node_id": 292, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 35, - "node_id": 293, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23820000 - }, - { - "included": -23760000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23760000, - "scan_node_id": 185, - "time_range_node_id": 295, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 36, - "node_id": 296, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23880000 - }, - { - "included": -23820000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23820000, - "scan_node_id": 185, - "time_range_node_id": 298, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 37, - "node_id": 299, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -23940000 - }, - { - "included": -23880000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23880000, - "scan_node_id": 185, - "time_range_node_id": 301, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 38, - "node_id": 302, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24000000 - }, - { - "included": -23940000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 23940000, - "scan_node_id": 185, - "time_range_node_id": 304, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 39, - "node_id": 305, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24060000 - }, - { - "included": -24000000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24000000, - "scan_node_id": 185, - "time_range_node_id": 307, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 40, - "node_id": 308, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24120000 - }, - { - "included": -24060000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24060000, - "scan_node_id": 185, - "time_range_node_id": 310, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 41, - "node_id": 311, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24180000 - }, - { - "included": -24120000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24120000, - "scan_node_id": 185, - "time_range_node_id": 313, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 42, - "node_id": 314, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24240000 - }, - { - "included": -24180000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24180000, - "scan_node_id": 185, - "time_range_node_id": 316, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 43, - "node_id": 317, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24300000 - }, - { - "included": -24240000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24240000, - "scan_node_id": 185, - "time_range_node_id": 319, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 44, - "node_id": 320, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24360000 - }, - { - "included": -24300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24300000, - "scan_node_id": 185, - "time_range_node_id": 322, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 45, - "node_id": 323, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24420000 - }, - { - "included": -24360000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24360000, - "scan_node_id": 185, - "time_range_node_id": 325, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 46, - "node_id": 326, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24480000 - }, - { - "included": -24420000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24420000, - "scan_node_id": 185, - "time_range_node_id": 328, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 47, - "node_id": 329, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24540000 - }, - { - "included": -24480000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24480000, - "scan_node_id": 185, - "time_range_node_id": 331, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 48, - "node_id": 332, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24600000 - }, - { - "included": -24540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24540000, - "scan_node_id": 185, - "time_range_node_id": 334, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 49, - "node_id": 335, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24660000 - }, - { - "included": -24600000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24600000, - "scan_node_id": 185, - "time_range_node_id": 337, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 50, - "node_id": 338, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24720000 - }, - { - "included": -24660000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24660000, - "scan_node_id": 185, - "time_range_node_id": 340, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 51, - "node_id": 341, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24780000 - }, - { - "included": -24720000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24720000, - "scan_node_id": 185, - "time_range_node_id": 343, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 52, - "node_id": 344, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24840000 - }, - { - "included": -24780000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24780000, - "scan_node_id": 185, - "time_range_node_id": 346, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 53, - "node_id": 347, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24900000 - }, - { - "included": -24840000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24840000, - "scan_node_id": 185, - "time_range_node_id": 349, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 54, - "node_id": 350, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -24960000 - }, - { - "included": -24900000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24900000, - "scan_node_id": 185, - "time_range_node_id": 352, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 55, - "node_id": 353, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -25020000 - }, - { - "included": -24960000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 24960000, - "scan_node_id": 185, - "time_range_node_id": 355, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 56, - "node_id": 356, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -25080000 - }, - { - "included": -25020000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 25020000, - "scan_node_id": 185, - "time_range_node_id": 358, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 57, - "node_id": 359, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -25140000 - }, - { - "included": -25080000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 25080000, - "scan_node_id": 185, - "time_range_node_id": 361, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 58, - "node_id": 362, - "retention_ms": 28800000, - "stage2_node_id": 9 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -25200000 - }, - { - "included": -25140000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 25140000, - "scan_node_id": 185, - "time_range_node_id": 364, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 59, - "node_id": 365, - "retention_ms": 28800000, - "stage2_node_id": 9 - } - ] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - } - } - }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "sum(increase(http_requests_total{job=\"payment-service\",status=~\"5..\"}[1h] offset 6h)) / sum(increase(http_requests_total{job=\"payment-service\"}[1h] offset 6h))" - } - ] - } -} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json index 37a4413cd..6407c1c06 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q19.json @@ -1,9650 +1,8059 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" - ] - }, - { - "family": "Kll", - "readouts": [ - "Quantile" + "materialized_views": [ + { + "coverage": { + "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } ] }, - { - "family": "Cms", - "readouts": [ - "Total" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Hll", - "readouts": [ - "Distinct" + "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 + } + ] + } ] }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" + "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 + } + ] + } ] }, - { - "family": "Kmv", - "readouts": [ - "Distinct" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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 - }, + "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": [ { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "Utf8": "payment-service" } - ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } } } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + ], + "relative_time": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -240000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, + "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": [ { - "dtype": { - "Plain": "utf8" + "column": { + "name": "job", + "table": null }, - "name": "job", - "nullable": true, - "table": null - }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ { - "dtype": { - "Plain": "utf8" - }, - "name": "status", - "nullable": true, - "table": null + "excluded": -300000 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -240000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 3600 - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "range_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" + "column": { + "name": "job", + "table": null }, - "name": "ts", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -360000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, + "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": [ { - "dtype": { - "Plain": "utf8" + "column": { + "name": "job", + "table": null }, - "name": "job", - "nullable": true, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -420000 }, { - "dtype": { - "Plain": "utf8" + "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 }, - "name": "status", - "nullable": true, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -480000 }, { - "dtype": { - "Plain": "utf8" + "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 }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } } ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "increase" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" + "column": { + "name": "job", + "table": null }, - "name": "ts", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -600000 }, { - "dtype": { - "Plain": "float64" + "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 }, - "name": "value", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -660000 }, { - "dtype": { - "Plain": "utf8" + "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 }, - "name": "job", - "nullable": true, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -720000 }, { - "dtype": { - "Plain": "utf8" + "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 }, - "name": "status", - "nullable": true, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -780000 }, { - "dtype": { - "Plain": "utf8" + "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 }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } } ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 780000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "float64" + "column": { + "name": "job", + "table": null }, - "name": "sum", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } } ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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 - }, + "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": [ { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "Utf8": "payment-service" } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } } } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + ], + "relative_time": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -960000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, + "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": [ { - "dtype": { - "Plain": "utf8" + "column": { + "name": "job", + "table": null }, - "name": "job", - "nullable": true, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -1020000 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -960000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 4, - "kind": "range", - "range": { - "nanos": 0, - "secs": 3600 - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 960000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "range_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" + "column": { + "name": "job", + "table": null }, - "name": "ts", - "nullable": false, - "table": null - }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "excluded": -1080000 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, + "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": [ { - "dtype": { - "Plain": "utf8" + "column": { + "name": "job", + "table": null }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } } ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 5, - "filters": [], - "having": null, - "measures": [ - { - "kind": "increase" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1080000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" + "column": { + "name": "job", + "table": null }, - "name": "ts", - "nullable": false, - "table": null - }, + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } + } + ], + "relative_time": [ { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "excluded": -1200000 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, + "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": [ { - "dtype": { - "Plain": "utf8" + "column": { + "name": "job", + "table": null }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } } ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 6, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1200000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "float64" + "column": { + "name": "job", + "table": null }, - "name": "sum", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } } ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "BinaryOp": { - "lhs": 3, - "operator": { - "checked_finite_division": false, - "checked_relative_division": false, - "kind": { - "Arithmetic": "Div" - }, - "vector_match": null - }, - "return_bool": false, - "rhs": 7 + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + ] + } + ] + }, + "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": [ { - "dtype": { - "Plain": "float64" + "column": { + "name": "job", + "table": null }, - "name": "sum", - "nullable": false, - "table": null + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] + } } ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 8 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } + "relative_time": [ + { + "excluded": -1380000 }, - "materialization": "NotMaterialized", - "operator": { - "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" - } + { + "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" } - } - } - }, - "result_kind": "instant_vector", - "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 ] - ] + } + } + ], + "relative_time": [ + { + "excluded": -1440000 }, - "timing": null + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1380000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } + "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 }, - "result_kind": "state", - "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 + { + "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 }, - "timing": null + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1500000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 1 - ] - } + "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 }, - "result_kind": "state", - "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 + { + "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 }, - "timing": null + { + "included": -1620000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1620000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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" - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } + { + "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 }, - "result_kind": "instant_vector", - "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 + { + "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 }, - "timing": null + { + "included": -1800000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1800000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": [] + "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 }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null + { + "included": -1860000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1860000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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" - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } + { + "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 }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1980000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "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" - } + { + "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 }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2100000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - }, - "result_kind": "state", - "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 + "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" + } ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 7 - ] - } } + } + ], + "relative_time": [ + { + "excluded": -2220000 }, - "result_kind": "state", - "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 + { + "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 }, - "timing": null + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2220000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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" - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 8 - } + { + "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 }, - "result_kind": "instant_vector", - "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 + { + "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 }, - "timing": null + { + "included": -2400000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2400000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": [] + "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 }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null + { + "included": -2460000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2460000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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" - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 10 - } + { + "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 }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null + { + "included": -2580000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2580000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "BinaryOp": { - "lhs": 5, - "operator": { - "checked_finite_division": false, - "checked_relative_division": false, - "kind": { - "Arithmetic": "Div" - }, - "vector_match": null - }, - "return_bool": false, - "rhs": 11 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 12 - } - ] - }, - "display_name": "Q1 Sum acc + Increase acc ×60 panes", - "id": "pane-round-8-joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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 + { + "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 }, - "producer": 0, - "role": "Input", - "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + { + "included": -2700000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2700000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 + "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 }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" + { + "included": -2760000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2760000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 + "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 }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" + { + "included": -2820000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2820000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 + "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 }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" + { + "included": -2880000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2880000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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": [] + "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 }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2940000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 + "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 }, - "producer": 6, - "role": "Input", - "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + { + "included": -3000000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3000000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 + "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 }, - "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" + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3060000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 + "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" + } ] - ] - }, - "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" - } } + } + ], + "relative_time": [ + { + "excluded": -3180000 }, - "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" - } - } - } - } + { + "included": -3120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3120000, + "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 + "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" + } ] - ] - }, - "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" + ], + "relative_time": [ + { + "excluded": -3240000 }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 1 - ] - } - } + { + "included": -3180000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "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 + "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" + } ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } } } + ], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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": [] + "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" } - } + ] } } - }, - { - "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" + ], + "relative_time": [ + { + "excluded": -3360000 }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } + { + "included": -3300000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "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" - } + "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" + } }, - { - "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 + "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" + } ] - ] - }, - "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" - } } } + ], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 + "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" + } ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 7 - ] - } } } + ], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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" - } + "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 }, - "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 + { + "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" + } ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 8 - } } } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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": [] + "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" + } }, - { - "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" - } + "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 }, - "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 - } - } + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } + "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 }, - "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 - } - } + { + "included": -180000 } - } - ], - "roots": [ - 12 - ], - "scalar_roots": [] - }, - "display_name": "Q1 Sum acc + Increase acc ×60 panes · ingestion time: Increase acc ×60 panes, Increase acc ×60 panes", - "from_logical": "pane-round-8-joint-logical-1", - "id": "pane-round-8-joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "pane-round-8-joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "pane-round-8-joint-plan-1": { - "cost_per_second": 1.8372714835337456, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 0.00014326971666666667, - "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.0010166675491546833, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-9, - "detail": "finalize 1 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "12": { - "cost_per_second": 1.0167927363833333e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.06100088248801666, - "cpu_core_seconds_per_second": 0.00006099999999999999, - "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.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "4": { - "cost_per_second": 0.0010166675491546833, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.7999999999999995e-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.06100088248801666, - "cpu_core_seconds_per_second": 0.00006099999999999999, - "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.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.134936633, - "cpu_ops_per_second": 132069.71666666665, - "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 - } - } - }, - "front": [], - "pane_retention_ms": { - "1": 7200000, - "7": 7200000 - }, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 444, - "direct_cost_best_validated_cost": 1.8372714835337456, - "direct_cost_fallback_reasons": [ - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.0004003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.21924003e-1, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.0004002999999994e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=9.1924003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.5004003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.692400299999999e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.204003e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.912400299999999e-2, rate_weight=1e0, request=0e0" - ], - "direct_cost_solve_calls": 3, - "direct_cost_validated_plans": 3, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 9, - "immediate_candidates": 229, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 512 }", - "joint_price_solve_calls": 18, - "logical_candidates": 81, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 1500, - "peak_milp_variables": 1052, - "physical_configurations": 303, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 132, - "status": "time_or_evaluation_limit_with_validated_incumbent", - "stored_supplier_ids": 302, - "structurally_removed_candidates": 227, - "structurally_removed_connections": 372, - "supplier_sets": 158, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 128, - "incumbent_cost": 1.8372714835337456, - "runner_up_cost_per_second": null + ] + }, + "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 }, - "search_rejected": [], - "selected": "pane-round-8-joint-plan-1", - "stored_outputs": [ - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -60000 + { + "coverage": { + "definition_id": "6e0a4719202a0469f55a3a8469d009cc", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null }, - { - "included": 0 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 0, - "scan_node_id": 0, - "time_range_node_id": 1, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 0, - "node_id": 2, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -300000 + }, + { + "included": -240000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -120000 - }, - { - "included": -60000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 60000, - "scan_node_id": 0, - "time_range_node_id": 4, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 1, - "node_id": 5, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -180000 + "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 }, - { - "included": -120000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 120000, - "scan_node_id": 0, - "time_range_node_id": 7, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 2, - "node_id": 8, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -360000 + }, + { + "included": -300000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -240000 - }, - { - "included": -180000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 180000, - "scan_node_id": 0, - "time_range_node_id": 10, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 3, - "node_id": 11, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -300000 + "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 }, - { - "included": -240000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 240000, - "scan_node_id": 0, - "time_range_node_id": 13, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 4, - "node_id": 14, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -420000 + }, + { + "included": -360000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -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 }, - { - "included": -300000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 300000, - "scan_node_id": 0, - "time_range_node_id": 16, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 5, - "node_id": 17, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -480000 + }, + { + "included": -420000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -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 }, - { - "included": -360000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 360000, - "scan_node_id": 0, - "time_range_node_id": 19, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 6, - "node_id": 20, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -540000 + }, + { + "included": -480000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -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 }, - { - "included": -420000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 420000, - "scan_node_id": 0, - "time_range_node_id": 22, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 7, - "node_id": 23, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -600000 + }, + { + "included": -540000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -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 }, - { - "included": -480000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 480000, - "scan_node_id": 0, - "time_range_node_id": 25, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 8, - "node_id": 26, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -660000 + }, + { + "included": -600000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -600000 - }, - { - "included": -540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 540000, - "scan_node_id": 0, - "time_range_node_id": 28, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 9, - "node_id": 29, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 600000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -660000 + "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 }, - { - "included": -600000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 600000, - "scan_node_id": 0, - "time_range_node_id": 31, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 10, - "node_id": 32, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -720000 + }, + { + "included": -660000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -720000 - }, - { - "included": -660000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 660000, - "scan_node_id": 0, - "time_range_node_id": 34, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 11, - "node_id": 35, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 660000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -780000 + "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 }, - { - "included": -720000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 720000, - "scan_node_id": 0, - "time_range_node_id": 37, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 12, - "node_id": 38, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -780000 + }, + { + "included": -720000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -840000 - }, - { - "included": -780000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 780000, - "scan_node_id": 0, - "time_range_node_id": 40, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 13, - "node_id": 41, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 720000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -900000 + "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 }, - { - "included": -840000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 840000, - "scan_node_id": 0, - "time_range_node_id": 43, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 14, - "node_id": 44, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -840000 + }, + { + "included": -780000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -960000 - }, - { - "included": -900000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 900000, - "scan_node_id": 0, - "time_range_node_id": 46, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 15, - "node_id": 47, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 780000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1020000 + "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 }, - { - "included": -960000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 960000, - "scan_node_id": 0, - "time_range_node_id": 49, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 16, - "node_id": 50, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -900000 + }, + { + "included": -840000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1080000 - }, - { - "included": -1020000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1020000, - "scan_node_id": 0, - "time_range_node_id": 52, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 17, - "node_id": 53, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 840000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1140000 + "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 }, - { - "included": -1080000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1080000, - "scan_node_id": 0, - "time_range_node_id": 55, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 18, - "node_id": 56, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -960000 + }, + { + "included": -900000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1200000 + "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 }, - { - "included": -1140000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1140000, - "scan_node_id": 0, - "time_range_node_id": 58, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 19, - "node_id": 59, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1020000 + }, + { + "included": -960000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1260000 + "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 }, - { - "included": -1200000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1200000, - "scan_node_id": 0, - "time_range_node_id": 61, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 20, - "node_id": 62, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1080000 + }, + { + "included": -1020000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1320000 - }, - { - "included": -1260000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1260000, - "scan_node_id": 0, - "time_range_node_id": 64, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 21, - "node_id": 65, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1020000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1380000 + "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 }, - { - "included": -1320000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1320000, - "scan_node_id": 0, - "time_range_node_id": 67, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 22, - "node_id": 68, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1140000 + }, + { + "included": -1080000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1440000 - }, - { - "included": -1380000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1380000, - "scan_node_id": 0, - "time_range_node_id": 70, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 23, - "node_id": 71, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1080000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1500000 + "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 }, - { - "included": -1440000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1440000, - "scan_node_id": 0, - "time_range_node_id": 73, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 24, - "node_id": 74, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1200000 + }, + { + "included": -1140000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1560000 + "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 }, - { - "included": -1500000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1500000, - "scan_node_id": 0, - "time_range_node_id": 76, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 25, - "node_id": 77, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1260000 + }, + { + "included": -1200000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1620000 + "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 }, - { - "included": -1560000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1560000, - "scan_node_id": 0, - "time_range_node_id": 79, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 26, - "node_id": 80, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1320000 + }, + { + "included": -1260000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1680000 + "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 }, - { - "included": -1620000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1620000, - "scan_node_id": 0, - "time_range_node_id": 82, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 27, - "node_id": 83, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1380000 + }, + { + "included": -1320000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1740000 + "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 }, - { - "included": -1680000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1680000, - "scan_node_id": 0, - "time_range_node_id": 85, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 28, - "node_id": 86, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1440000 + }, + { + "included": -1380000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1800000 + "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 }, - { - "included": -1740000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1740000, - "scan_node_id": 0, - "time_range_node_id": 88, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 29, - "node_id": 89, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1500000 + }, + { + "included": -1440000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1860000 + "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 }, - { - "included": -1800000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1800000, - "scan_node_id": 0, - "time_range_node_id": 91, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 30, - "node_id": 92, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1560000 + }, + { + "included": -1500000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1920000 - }, - { - "included": -1860000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1860000, - "scan_node_id": 0, - "time_range_node_id": 94, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 31, - "node_id": 95, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1500000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1980000 + "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 }, - { - "included": -1920000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1920000, - "scan_node_id": 0, - "time_range_node_id": 97, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 32, - "node_id": 98, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1620000 + }, + { + "included": -1560000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2040000 - }, - { - "included": -1980000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1980000, - "scan_node_id": 0, - "time_range_node_id": 100, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 33, - "node_id": 101, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1560000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2100000 + "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 }, - { - "included": -2040000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2040000, - "scan_node_id": 0, - "time_range_node_id": 103, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 34, - "node_id": 104, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1680000 + }, + { + "included": -1620000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2160000 - }, - { - "included": -2100000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2100000, - "scan_node_id": 0, - "time_range_node_id": 106, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 35, - "node_id": 107, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1620000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2220000 + "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 }, - { - "included": -2160000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2160000, - "scan_node_id": 0, - "time_range_node_id": 109, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 36, - "node_id": 110, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2280000 - }, - { - "included": -2220000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2220000, - "scan_node_id": 0, - "time_range_node_id": 112, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 37, - "node_id": 113, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1680000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2340000 + "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 }, - { - "included": -2280000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2280000, - "scan_node_id": 0, - "time_range_node_id": 115, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 38, - "node_id": 116, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1800000 + }, + { + "included": -1740000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2400000 - }, - { - "included": -2340000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2340000, - "scan_node_id": 0, - "time_range_node_id": 118, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 39, - "node_id": 119, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1740000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2460000 + "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 }, - { - "included": -2400000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2400000, - "scan_node_id": 0, - "time_range_node_id": 121, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 40, - "node_id": 122, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1860000 + }, + { + "included": -1800000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2520000 + "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 }, - { - "included": -2460000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2460000, - "scan_node_id": 0, - "time_range_node_id": 124, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 41, - "node_id": 125, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2580000 + "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 }, - { - "included": -2520000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2520000, - "scan_node_id": 0, - "time_range_node_id": 127, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 42, - "node_id": 128, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -1980000 + }, + { + "included": -1920000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2640000 - }, - { - "included": -2580000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2580000, - "scan_node_id": 0, - "time_range_node_id": 130, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 43, - "node_id": 131, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1920000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2700000 + "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 }, - { - "included": -2640000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2640000, - "scan_node_id": 0, - "time_range_node_id": 133, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 44, - "node_id": 134, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2040000 + }, + { + "included": -1980000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2760000 - }, - { - "included": -2700000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2700000, - "scan_node_id": 0, - "time_range_node_id": 136, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 45, - "node_id": 137, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1980000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2820000 + "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 }, - { - "included": -2760000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2760000, - "scan_node_id": 0, - "time_range_node_id": 139, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 46, - "node_id": 140, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2100000 + }, + { + "included": -2040000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2880000 + "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 }, - { - "included": -2820000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2820000, - "scan_node_id": 0, - "time_range_node_id": 142, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 47, - "node_id": 143, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2160000 + }, + { + "included": -2100000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2940000 + "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 }, - { - "included": -2880000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2880000, - "scan_node_id": 0, - "time_range_node_id": 145, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 48, - "node_id": 146, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2220000 + }, + { + "included": -2160000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3000000 + "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 }, - { - "included": -2940000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2940000, - "scan_node_id": 0, - "time_range_node_id": 148, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 49, - "node_id": 149, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2280000 + }, + { + "included": -2220000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3060000 + "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 }, - { - "included": -3000000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3000000, - "scan_node_id": 0, - "time_range_node_id": 151, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 50, - "node_id": 152, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2340000 + }, + { + "included": -2280000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3120000 + "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 }, - { - "included": -3060000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3060000, - "scan_node_id": 0, - "time_range_node_id": 154, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 51, - "node_id": 155, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2400000 + }, + { + "included": -2340000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3180000 + "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 }, - { - "included": -3120000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3120000, - "scan_node_id": 0, - "time_range_node_id": 157, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 52, - "node_id": 158, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3240000 - }, - { - "included": -3180000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3180000, - "scan_node_id": 0, - "time_range_node_id": 160, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 53, - "node_id": 161, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2400000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3300000 + "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 }, - { - "included": -3240000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3240000, - "scan_node_id": 0, - "time_range_node_id": 163, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 54, - "node_id": 164, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2520000 + }, + { + "included": -2460000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3360000 - }, - { - "included": -3300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3300000, - "scan_node_id": 0, - "time_range_node_id": 166, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 55, - "node_id": 167, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2460000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3420000 + "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 }, - { - "included": -3360000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3360000, - "scan_node_id": 0, - "time_range_node_id": 169, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 56, - "node_id": 170, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2580000 + }, + { + "included": -2520000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3480000 - }, - { - "included": -3420000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3420000, - "scan_node_id": 0, - "time_range_node_id": 172, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 57, - "node_id": 173, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2520000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3540000 + "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 }, - { - "included": -3480000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3480000, - "scan_node_id": 0, - "time_range_node_id": 175, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 58, - "node_id": 176, - "retention_ms": 7200000, - "stage2_node_id": 1 + } + ], + "relative_time": [ + { + "excluded": -2640000 + }, + { + "included": -2580000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6fea1c63a2fdd67d8f43d0106be9d627", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3600000 - }, - { - "included": -3540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3540000, - "scan_node_id": 0, - "time_range_node_id": 178, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 59, - "node_id": 179, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2580000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -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 }, - { - "included": 0 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 0, - "scan_node_id": 184, - "time_range_node_id": 185, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 0, - "node_id": 186, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -2700000 + }, + { + "included": -2640000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -120000 - }, - { - "included": -60000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 60000, - "scan_node_id": 184, - "time_range_node_id": 188, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 1, - "node_id": 189, - "retention_ms": 7200000, - "stage2_node_id": 7 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2640000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -180000 + "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 }, - { - "included": -120000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 120000, - "scan_node_id": 184, - "time_range_node_id": 191, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 2, - "node_id": 192, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -2760000 + }, + { + "included": -2700000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -240000 + "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 }, - { - "included": -180000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 180000, - "scan_node_id": 184, - "time_range_node_id": 194, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 3, - "node_id": 195, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -2820000 + }, + { + "included": -2760000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -300000 + "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 }, - { - "included": -240000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 240000, - "scan_node_id": 184, - "time_range_node_id": 197, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 4, - "node_id": 198, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -2880000 + }, + { + "included": -2820000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -360000 - }, - { - "included": -300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 300000, - "scan_node_id": 184, - "time_range_node_id": 200, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 5, - "node_id": 201, - "retention_ms": 7200000, - "stage2_node_id": 7 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2820000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -420000 + "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 }, - { - "included": -360000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 360000, - "scan_node_id": 184, - "time_range_node_id": 203, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 6, - "node_id": 204, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -2940000 + }, + { + "included": -2880000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -480000 - }, - { - "included": -420000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 420000, - "scan_node_id": 184, - "time_range_node_id": 206, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 7, - "node_id": 207, - "retention_ms": 7200000, - "stage2_node_id": 7 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2880000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -540000 + "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 }, - { - "included": -480000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 480000, - "scan_node_id": 184, - "time_range_node_id": 209, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 8, - "node_id": 210, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3000000 + }, + { + "included": -2940000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -600000 + "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 }, - { - "included": -540000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 540000, - "scan_node_id": 184, - "time_range_node_id": 212, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 9, - "node_id": 213, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3060000 + }, + { + "included": -3000000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -660000 + "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 }, - { - "included": -600000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 600000, - "scan_node_id": 184, - "time_range_node_id": 215, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 10, - "node_id": 216, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3120000 + }, + { + "included": -3060000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -720000 + "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 }, - { - "included": -660000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 660000, - "scan_node_id": 184, - "time_range_node_id": 218, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 11, - "node_id": 219, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3180000 + }, + { + "included": -3120000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -780000 + "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 }, - { - "included": -720000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 720000, - "scan_node_id": 184, - "time_range_node_id": 221, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 12, - "node_id": 222, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3240000 + }, + { + "included": -3180000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -840000 + "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 }, - { - "included": -780000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 780000, - "scan_node_id": 184, - "time_range_node_id": 224, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 13, - "node_id": 225, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3300000 + }, + { + "included": -3240000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -900000 + "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 }, - { - "included": -840000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 840000, - "scan_node_id": 184, - "time_range_node_id": 227, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 14, - "node_id": 228, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -960000 - }, - { - "included": -900000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 900000, - "scan_node_id": 184, - "time_range_node_id": 230, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 15, - "node_id": 231, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3360000 + }, + { + "included": -3300000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1020000 - }, - { - "included": -960000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 960000, - "scan_node_id": 184, - "time_range_node_id": 233, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 16, - "node_id": 234, - "retention_ms": 7200000, - "stage2_node_id": 7 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1080000 + "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 }, - { - "included": -1020000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1020000, - "scan_node_id": 184, - "time_range_node_id": 236, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 17, - "node_id": 237, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3420000 + }, + { + "included": -3360000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1140000 - }, - { - "included": -1080000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1080000, - "scan_node_id": 184, - "time_range_node_id": 239, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 18, - "node_id": 240, - "retention_ms": 7200000, - "stage2_node_id": 7 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1200000 + "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 }, - { - "included": -1140000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1140000, - "scan_node_id": 184, - "time_range_node_id": 242, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 19, - "node_id": 243, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3480000 + }, + { + "included": -3420000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1260000 - }, - { - "included": -1200000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1200000, - "scan_node_id": 184, - "time_range_node_id": 245, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 20, - "node_id": 246, - "retention_ms": 7200000, - "stage2_node_id": 7 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1320000 + "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 }, - { - "included": -1260000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1260000, - "scan_node_id": 184, - "time_range_node_id": 248, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 21, - "node_id": 249, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3540000 + }, + { + "included": -3480000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1380000 - }, - { - "included": -1320000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1320000, - "scan_node_id": 184, - "time_range_node_id": 251, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 22, - "node_id": 252, - "retention_ms": 7200000, - "stage2_node_id": 7 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1440000 + "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 }, - { - "included": -1380000 + "constraint": { + "in": [ + { + "Utf8": "payment-service" + } + ] } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1380000, - "scan_node_id": 184, - "time_range_node_id": 254, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 23, - "node_id": 255, - "retention_ms": 7200000, - "stage2_node_id": 7 + } + ], + "relative_time": [ + { + "excluded": -3600000 + }, + { + "included": -3540000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1500000 - }, - { - "included": -1440000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1440000, - "scan_node_id": 184, - "time_range_node_id": 257, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 24, - "node_id": 258, - "retention_ms": 7200000, - "stage2_node_id": 7 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1560000 - }, - { - "included": -1500000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1500000, - "scan_node_id": 184, - "time_range_node_id": 260, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 25, - "node_id": 261, - "retention_ms": 7200000, - "stage2_node_id": 7 + "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" + } }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1620000 + "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" }, - { - "included": -1560000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1560000, - "scan_node_id": 184, - "time_range_node_id": 263, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 26, - "node_id": 264, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1680000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -1620000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1620000, - "scan_node_id": 184, - "time_range_node_id": 266, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 27, - "node_id": 267, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1740000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1680000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1680000, - "scan_node_id": 184, - "time_range_node_id": 269, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 28, - "node_id": 270, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1800000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1740000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1740000, - "scan_node_id": 184, - "time_range_node_id": 272, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 29, - "node_id": 273, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1860000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1800000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1800000, - "scan_node_id": 184, - "time_range_node_id": 275, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, - "installed_count": 60, - "installed_position": 30, - "node_id": 276, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1920000 + { + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -1860000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1860000, - "scan_node_id": 184, - "time_range_node_id": 278, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 31, - "node_id": 279, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -1980000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] }, - { - "included": -1920000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1920000, - "scan_node_id": 184, - "time_range_node_id": 281, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 32, - "node_id": 282, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2040000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1980000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1980000, - "scan_node_id": 184, - "time_range_node_id": 284, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 33, - "node_id": 285, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2100000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2040000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2040000, - "scan_node_id": 184, - "time_range_node_id": 287, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 34, - "node_id": 288, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2160000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2100000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2100000, - "scan_node_id": 184, - "time_range_node_id": 290, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 35, - "node_id": 291, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2220000 + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2160000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2160000, - "scan_node_id": 184, - "time_range_node_id": 293, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 36, - "node_id": 294, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2280000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] }, - { - "included": -2220000 - } + "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 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2220000, - "scan_node_id": 184, - "time_range_node_id": 296, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 37, - "node_id": 297, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2340000 + { + "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" }, - { - "included": -2280000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2280000, - "scan_node_id": 184, - "time_range_node_id": 299, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 38, - "node_id": 300, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2400000 + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Increase", + "Increase" + ] }, - { - "included": -2340000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2340000, - "scan_node_id": 184, - "time_range_node_id": 302, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 39, - "node_id": 303, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] + "weight_domain": { + "kind": "unknown_or_signed" } - } - ], - "relative_time": [ - { - "excluded": -2460000 }, - { - "included": -2400000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2400000, - "scan_node_id": 184, - "time_range_node_id": 305, - "width_ms": 60000 + "pane_count": 60, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 40, - "node_id": 306, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2520000 + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2460000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2460000, - "scan_node_id": 184, - "time_range_node_id": 308, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 41, - "node_id": 309, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2580000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Increase", + "Increase" + ] }, - { - "included": -2520000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2520000, - "scan_node_id": 184, - "time_range_node_id": 311, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 42, - "node_id": 312, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2640000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2580000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2580000, - "scan_node_id": 184, - "time_range_node_id": 314, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 43, - "node_id": 315, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2700000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2640000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2640000, - "scan_node_id": 184, - "time_range_node_id": 317, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 44, - "node_id": 318, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2760000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2700000 - } + "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 + ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2700000, - "scan_node_id": 184, - "time_range_node_id": 320, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 45, - "node_id": 321, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2820000 + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2760000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2760000, - "scan_node_id": 184, - "time_range_node_id": 323, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 46, - "node_id": 324, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -2880000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -2820000 - } + "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 + } } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2820000, - "scan_node_id": 184, - "time_range_node_id": 326, - "width_ms": 60000 - } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 47, - "node_id": 327, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null + { + "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" }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] + "weight_domain": { + "kind": "unknown_or_signed" } - } - ], - "relative_time": [ - { - "excluded": -2940000 }, - { - "included": -2880000 + "reduction": { + "Reduce": [] } - ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2880000, - "scan_node_id": 184, - "time_range_node_id": 329, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 48, - "node_id": 330, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3000000 + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -2940000 - } - ] + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2940000, - "scan_node_id": 184, - "time_range_node_id": 332, - "width_ms": 60000 + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 49, - "node_id": 333, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] + }, + "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" + } } - } - ], - "relative_time": [ - { - "excluded": -3060000 + ], + "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 + ] + ] }, - { - "included": -3000000 + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3000000, - "scan_node_id": 184, - "time_range_node_id": 335, - "width_ms": 60000 + } } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 50, - "node_id": 336, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null + { + "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" }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] + "weight_domain": { + "kind": "unknown_or_signed" } - } - ], - "relative_time": [ - { - "excluded": -3120000 }, - { - "included": -3060000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3060000, - "scan_node_id": 184, - "time_range_node_id": 338, - "width_ms": 60000 + "pane_count": 60, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 51, - "node_id": 339, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3180000 + { + "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" }, - { - "included": -3120000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3120000, - "scan_node_id": 184, - "time_range_node_id": 341, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 52, - "node_id": 342, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3240000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3180000 - } + "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 + ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3180000, - "scan_node_id": 184, - "time_range_node_id": 344, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 53, - "node_id": 345, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3300000 + }, + "id": 9, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -3240000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3240000, - "scan_node_id": 184, - "time_range_node_id": 347, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 54, - "node_id": 348, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3360000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -3300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3300000, - "scan_node_id": 184, - "time_range_node_id": 350, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 55, - "node_id": 351, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3420000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3360000 - } + "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 + } } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3360000, - "scan_node_id": 184, - "time_range_node_id": 353, - "width_ms": 60000 - } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 56, - "node_id": 354, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null + { + "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" }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] + "weight_domain": { + "kind": "unknown_or_signed" } - } - ], - "relative_time": [ - { - "excluded": -3480000 }, - { - "included": -3420000 + "reduction": { + "Reduce": [] } - ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3420000, - "scan_node_id": 184, - "time_range_node_id": 356, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 57, - "node_id": 357, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3540000 + }, + "id": 11, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -3480000 - } - ] + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 10 + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3480000, - "scan_node_id": 184, - "time_range_node_id": 359, - "width_ms": 60000 + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 58, - "node_id": 360, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "6e0a4719202a0469f55a3a8469d009cc", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null + }, + "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" }, - "constraint": { - "in": [ - { - "Utf8": "payment-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3600000 + "vector_match": null }, - { - "included": -3540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3540000, - "scan_node_id": 184, - "time_range_node_id": 362, - "width_ms": 60000 + "return_bool": false, + "rhs": 11 + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 59, - "node_id": 363, - "retention_ms": 7200000, - "stage2_node_id": 7 - } - ] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null + } } - } + ], + "roots": [ + 12 + ], + "scalar_roots": [] }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "sum(increase(http_requests_total{job=\"payment-service\",status=~\"5..\"}[1h])) / sum(increase(http_requests_total{job=\"payment-service\"}[1h]))" - } - ] + "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 index 30cf9da22..fa6086fe5 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q20.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q20.json @@ -1,71 +1,267 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ + "materialized_views": [], + "pane_retention_ms": {}, + "proven_optimal": true, + "query": "sum(process_resident_memory_bytes)", + "selected": { + "accepted": [ { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" - ] - }, - { - "family": "Kll", - "readouts": [ - "Quantile" - ] - }, - { - "family": "Cms", - "readouts": [ - "Total" - ] - }, - { - "family": "Hll", - "readouts": [ - "Distinct" - ] - }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" - ] - }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" - ] - }, - { - "family": "Kmv", - "readouts": [ - "Distinct" - ] + "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" + } }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] + "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 } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { + }, "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": null, + "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", - "operator": { + "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": [], @@ -112,9 +308,30 @@ } } } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } }, - "result_kind": "instant_vector", - "schema": { + "id": 1, + "materialization": "NotMaterialized", + "output_schema": { "closed": true, "fields": [ { @@ -150,12 +367,11 @@ ] ] }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { "NonASAP": { "TimeRange": { "child": 0, @@ -166,72 +382,84 @@ } } } - }, - "result_kind": "instant_vector", - "schema": { + } + }, + { + "guarantee": null, + "id": 2, + "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" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, - "unique_keys": [ - [ - 2, - 0 - ] - ] + "time_index": null, + "unique_keys": [] }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "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" + } + } }, - "result_kind": "instant_vector", - "schema": { + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { "closed": true, "fields": [ { @@ -246,967 +474,24 @@ "time_index": null, "unique_keys": [] }, - "timing": null - } - ], - "roots": [ - { - "Operator": 2 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "instant", - "range": { - "nanos": 0, - "secs": 1 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": [] - } - } - } - }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 3 - } - ] - }, - "display_name": "Q1 Sum acc", - "id": "joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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", - "from_logical": "joint-logical-1", - "id": "joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "joint-plan-1": { - "cost_per_second": 0.00630435009456525, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 6.304349999999999e-6, - "per_node": { - "0": { - "cost_per_second": 0.0042700000252174, - "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.0010166666918840666, - "cpu_core_seconds_per_second": 1.0166666666666663e-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", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "2": { - "cost_per_second": 0.0010166667107971163, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0007565219999999999, - "cpu_ops_per_second": 3051.016666666667, - "disk_bytes": 32000, - "latency_per_query": [ - { - "compaction_ms": 0.0, - "query_ms": 0.006201 + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } } - ], - "peak_cpu_cores": 1, - "peak_memory_bytes": 120, - "scanned_bytes_per_second": 32533.333333333332 - } - } - }, - "front": [], - "pane_retention_ms": {}, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": null, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 3, - "direct_cost_best_validated_cost": 0.00630435009456525, - "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 1, - "direct_cost_validated_plans": 1, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": null, - "full_catalog_completed": true, - "groups": 3, - "immediate_candidates": 4, - "independent_components": 1, - "inventory_pane_width_domain": "Complete", - "joint_price_solve_calls": 1, - "logical_candidates": 3, - "lower_bound": 0.00630435009456525, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "Complete" - ], - "pane_widths_pending": false, - "peak_milp_constraints": 89, - "peak_milp_variables": 40, - "physical_configurations": 4, - "refinements": 1, - "relative_gap": 0.0, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 3, - "status": "optimal", - "stored_supplier_ids": 3, - "structurally_removed_candidates": 4, - "structurally_removed_connections": 3, - "supplier_sets": 3, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 1, - "incumbent_cost": 0.00630435009456525, - "runner_up_cost_per_second": null - }, - "search_rejected": [], - "selected": "joint-plan-1", - "stored_outputs": [] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null + } } - } + ], + "roots": [ + 3 + ], + "scalar_roots": [] }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "sum(process_resident_memory_bytes)" - } - ] + "display_name": "Q1 Sum acc" } } diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q21.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q21.json deleted file mode 100644 index 3fd426642..000000000 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q21.json +++ /dev/null @@ -1,2370 +0,0 @@ -{ - "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" - ] - }, - { - "family": "Kll", - "readouts": [ - "Quantile" - ] - }, - { - "family": "Cms", - "readouts": [ - "Total" - ] - }, - { - "family": "Hll", - "readouts": [ - "Distinct" - ] - }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" - ] - }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" - ] - }, - { - "family": "Kmv", - "readouts": [ - "Distinct" - ] - }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 3600000 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 1, - "kind": "range", - "range": { - "nanos": 0, - "secs": 300 - } - } - } - }, - "result_kind": "range_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 4 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 3600000 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "PaneChain": { - "child": 1, - "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" - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 2 - ] - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryAgg": { - "child": 4, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [] - } - } - } - }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 5 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 6 - } - ] - }, - "display_name": "Q1 Sum acc + Rate acc ×5 panes", - "id": "pane-round-9-joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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": "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": 1, - "role": "Input", - "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" - }, - { - "consumer": 3, - "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": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "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": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "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": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "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": 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": "$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": { - "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": "ingestion_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 3600000 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "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": 1, - "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": 3, - "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": [ - 2 - ] - } - } - } - }, - { - "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": 4, - "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": 3 - } - } - } - }, - { - "guarantee": null, - "id": 5, - "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": 4, - "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": 6, - "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": 5 - } - } - } - } - ], - "roots": [ - 6 - ], - "scalar_roots": [] - }, - "display_name": "Q1 Sum acc + Rate acc ×5 panes · ingestion time: Rate acc ×5 panes", - "from_logical": "pane-round-9-joint-logical-1", - "id": "pane-round-9-joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "pane-round-9-joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "pane-round-9-joint-plan-1": { - "cost_per_second": 0.8969177332069405, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 0.000014917683333333333, - "per_node": { - "0": { - "cost_per_second": 0.0058, - "cpu_core_seconds_per_second": 5.7999999999999995e-6, - "detail": "scan 1000 samples; x 1.0000/s", - "multiplier": 1, - "operator": "Scan", - "price_source": "analytical", - "timing": "ingestion_time" - }, - "1": { - "cost_per_second": 0.0, - "cpu_core_seconds_per_second": 0.0, - "detail": "time shift: pass 1000 rows, free; x 1.0000/s", - "multiplier": 1, - "operator": "TimeShift", - "price_source": "analytical", - "timing": "ingestion_time" - }, - "2": { - "cost_per_second": 0.884, - "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 7056000 bytes", - "multiplier": 1, - "operator": "PaneChain", - "price_source": "analytical", - "timing": "ingestion_time" - }, - "3": { - "cost_per_second": 0.005083383157116666, - "cpu_core_seconds_per_second": 5.083333333333333e-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" - }, - "4": { - "cost_per_second": 0.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "5": { - "cost_per_second": 0.00101666671649045, - "cpu_core_seconds_per_second": 1.0166666666666663e-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" - }, - "6": { - "cost_per_second": 1.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-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": 7056000.398988857, - "cpu_ops_per_second": 10117.683333333332, - "disk_bytes": 0, - "latency_per_query": [ - { - "compaction_ms": 0.0, - "query_ms": 0.007001 - } - ], - "peak_cpu_cores": 2, - "peak_memory_bytes": 7112104, - "scanned_bytes_per_second": 48000.0 - } - } - }, - "front": [], - "pane_retention_ms": { - "2": 7500000 - }, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 334, - "direct_cost_best_validated_cost": null, - "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 0, - "direct_cost_validated_plans": 0, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 5, - "immediate_candidates": 171, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 0, - "logical_candidates": 46, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }", - "Expanding { max_parts: 1024 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 1181, - "peak_milp_variables": 844, - "physical_configurations": 254, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 131, - "status": "time_or_evaluation_limit_with_validated_incumbent", - "stored_supplier_ids": 253, - "structurally_removed_candidates": 129, - "structurally_removed_connections": 211, - "supplier_sets": 171, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 128, - "incumbent_cost": 0.8969177332069405, - "runner_up_cost_per_second": null - }, - "search_rejected": [], - "selected": "pane-round-9-joint-plan-1", - "stored_outputs": [ - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3660000 - }, - { - "included": -3600000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3600000, - "scan_node_id": 0, - "time_range_node_id": 2, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 0, - "node_id": 3, - "retention_ms": 7500000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3720000 - }, - { - "included": -3660000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3660000, - "scan_node_id": 0, - "time_range_node_id": 5, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 1, - "node_id": 6, - "retention_ms": 7500000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3780000 - }, - { - "included": -3720000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3720000, - "scan_node_id": 0, - "time_range_node_id": 8, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 2, - "node_id": 9, - "retention_ms": 7500000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3840000 - }, - { - "included": -3780000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3780000, - "scan_node_id": 0, - "time_range_node_id": 11, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 3, - "node_id": 12, - "retention_ms": 7500000, - "stage2_node_id": 2 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -3900000 - }, - { - "included": -3840000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3840000, - "scan_node_id": 0, - "time_range_node_id": 14, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 4, - "node_id": 15, - "retention_ms": 7500000, - "stage2_node_id": 2 - } - ] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - } - } - }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "sum(rate(http_requests_total{job=\"order-service\"}[5m] offset 1h))" - } - ] - } -} diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json index 626e6c8f2..f149338cc 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q22.json @@ -1,143 +1,369 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" + "materialized_views": [ + { + "coverage": { + "definition_id": "b167c0953f55d24c1c15591dddb42cb4", + "selection": [ + { + "columns": [ + { + "column": { + "name": "job", + "table": null + }, + "constraint": { + "in": [ + { + "Utf8": "order-service" + } + ] + } + } + ], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } ] }, - { - "family": "Kll", - "readouts": [ - "Quantile" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Cms", - "readouts": [ - "Total" + "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 + } + ] + } ] }, - { - "family": "Hll", - "readouts": [ - "Distinct" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" + "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 + } + ] + } ] }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Kmv", - "readouts": [ - "Distinct" + "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 + } + ] + } ] }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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 - }, + }, + "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": [ { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "Utf8": "order-service" } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } } } - } + ], + "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" }, - "result_kind": "instant_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -181,25 +407,18 @@ ] ] }, - "timing": null + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 300 - } - } - } + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" }, - "result_kind": "range_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -212,9 +431,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -243,31 +465,18 @@ ] ] }, - "timing": null + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" }, - "result_kind": "instant_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -280,9 +489,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -311,1785 +523,572 @@ ] ] }, - "timing": null + "producer": 2, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } - } - } + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" }, - "result_kind": "instant_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "float64" }, - "name": "sum", + "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": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, { - "Operator": 3 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 1 - ] - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - }, - "result_kind": "instant_vector", - "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 + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": [] - } - } - } - }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + }, + "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" }, - "timing": null - } - ], - "roots": [ - { - "Operator": 5 + "failure_probability": { + "op": "zero" + } } - ] - }, - "display_name": "Q1 Sum acc + Rate acc ×5 panes", - "id": "pane-round-9-joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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" + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null }, - "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" - } - } + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null }, - "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": [ { - "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 + "Compare": { + "left": { + "Column": 2 + }, + "op": "Eq", + "right": { + "Literal": { + "Utf8": "order-service" } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + }, + "semantics": "promql" } } - } - } - }, - { - "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" + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "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": "ts", + "nullable": false, + "table": null }, - "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" - ] + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" + { + "dtype": { + "Plain": "utf8" }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "job", + "nullable": true, + "table": null }, - "reduction": { - "Reduce": [] + { + "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": { - "provenance": [ - { - "kind": "exact", - "reason": "exact accumulator over exact input" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } + } + } + }, + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, - "id": 5, - "materialization": "NotMaterialized", - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - ], - "roots": [ - 5 - ], - "scalar_roots": [] - }, - "display_name": "Q1 Sum acc + Rate acc ×5 panes · ingestion time: Rate acc ×5 panes", - "from_logical": "pane-round-9-joint-logical-1", - "id": "pane-round-9-joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "pane-round-9-joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "pane-round-9-joint-plan-1": { - "cost_per_second": 0.4769177332069405, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 0.000014917683333333333, - "per_node": { - "0": { - "cost_per_second": 0.0058, - "cpu_core_seconds_per_second": 5.7999999999999995e-6, - "detail": "scan 1000 samples; x 1.0000/s", - "multiplier": 1, - "operator": "Scan", - "price_source": "analytical", - "timing": "ingestion_time" + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] }, - "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", + "output_state": { + "primitive": "SummaryState", "timing": "ingestion_time" }, - "2": { - "cost_per_second": 0.005083383157116666, - "cpu_core_seconds_per_second": 5.083333333333333e-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.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "4": { - "cost_per_second": 0.00101666671649045, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.398988857, - "cpu_ops_per_second": 10117.683333333332, - "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 - } - } - }, - "front": [], - "pane_retention_ms": { - "1": 3900000 - }, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 251, - "direct_cost_best_validated_cost": 0.4769177332069405, - "direct_cost_fallback_reasons": [ - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=5.002001000000001e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.342001000000001e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5020010000000002e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=4.842001000000001e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.2520009999999998e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.5920010000000005e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9670010000000004e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.642001e-3, rate_weight=1e0, request=0e0" - ], - "direct_cost_solve_calls": 7, - "direct_cost_validated_plans": 7, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 4, - "immediate_candidates": 129, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 20, - "logical_candidates": 45, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }", - "Expanding { max_parts: 1024 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 1730, - "peak_milp_variables": 722, - "physical_configurations": 171, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 139, - "status": "time_or_evaluation_limit_with_validated_incumbent", - "stored_supplier_ids": 170, - "structurally_removed_candidates": 128, - "structurally_removed_connections": 210, - "supplier_sets": 88, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 128, - "incumbent_cost": 0.4769177332069405, - "runner_up_cost_per_second": null - }, - "search_rejected": [], - "selected": "pane-round-9-joint-plan-1", - "stored_outputs": [ - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] + "weight_domain": { + "kind": "unknown_or_signed" } - } - ], - "relative_time": [ - { - "excluded": -60000 }, - { - "included": 0 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 0, - "scan_node_id": 0, - "time_range_node_id": 1, - "width_ms": 60000 + "pane_count": 5, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } } - ], - "stored_outputs": [] + } }, - "installed_count": 5, - "installed_position": 0, - "node_id": 2, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -120000 + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -60000 - } + "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 + ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 60000, - "scan_node_id": 0, - "time_range_node_id": 4, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 1, - "node_id": 5, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -180000 + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -120000 - } + "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 + } } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 120000, - "scan_node_id": 0, - "time_range_node_id": 7, - "width_ms": 60000 - } - ], - "stored_outputs": [] + } }, - "installed_count": 5, - "installed_position": 2, - "node_id": 8, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null + { + "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" }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] + "weight_domain": { + "kind": "unknown_or_signed" } - } - ], - "relative_time": [ - { - "excluded": -240000 }, - { - "included": -180000 + "reduction": { + "Reduce": [] } - ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 180000, - "scan_node_id": 0, - "time_range_node_id": 10, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 3, - "node_id": 11, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "b167c0953f55d24c1c15591dddb42cb4", - "selection": [ - { - "columns": [ - { - "column": { - "name": "job", - "table": null - }, - "constraint": { - "in": [ - { - "Utf8": "order-service" - } - ] - } - } - ], - "relative_time": [ - { - "excluded": -300000 + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -240000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 240000, - "scan_node_id": 0, - "time_range_node_id": 13, - "width_ms": 60000 + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 4, - "node_id": 14, - "retention_ms": 3900000, - "stage2_node_id": 1 - } - ] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null + } } - } + ], + "roots": [ + 5 + ], + "scalar_roots": [] }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "sum(rate(http_requests_total{job=\"order-service\"}[5m]))" - } - ] + "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 index 6140e4a2e..6be0b5b7c 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q23.json @@ -1,143 +1,299 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" + "materialized_views": [ + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } ] }, - { - "family": "Kll", - "readouts": [ - "Quantile" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Cms", - "readouts": [ - "Total" + "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 + } + ] + } ] }, - { - "family": "Hll", - "readouts": [ - "Distinct" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" + "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 + } + ] + } ] }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Kmv", - "readouts": [ - "Distinct" + "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 + } + ] + } ] }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" + "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 }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { + "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": { - "nodes": [ + "edges": [ { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" }, - "result_kind": "instant_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -181,25 +337,18 @@ ] ] }, - "timing": null + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 300 - } - } - } + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" }, - "result_kind": "range_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -212,9 +361,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -243,31 +395,76 @@ ] ] }, - "timing": null + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "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" }, - "result_kind": "instant_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -311,41 +508,28 @@ ] ] }, - "timing": null + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } - } - } + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" }, - "result_kind": "instant_vector", - "schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "sum", + "name": "state", "nullable": false, "table": null } @@ -353,1673 +537,488 @@ "time_index": null, "unique_keys": [] }, - "timing": null + "producer": 4, + "role": "Input", + "window": "NotApplicable" } ], - "roots": [ + "nodes": [ { - "Operator": 3 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "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": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 1 - ] - } - } - }, - "result_kind": "state", - "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 - ] - ] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": [] - } - } - } - }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 5 + "failure_probability": { + "op": "zero" + } } - ] - }, - "display_name": "Q1 Sum acc + Rate acc ×5 panes", - "id": "pane-round-9-joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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" + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null }, - "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" - } - } + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null }, - "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": [ { - "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 + "Compare": { + "left": { + "Column": 2 + }, + "op": "Regex", + "right": { + "Literal": { + "Utf8": "user-service|order-service|payment-service" } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + }, + "semantics": "promql" } } - } - } - }, - { - "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" + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "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": "ts", + "nullable": false, + "table": null }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null }, - "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 + { + "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": { - "provenance": [ - { - "kind": "exact", - "reason": "exact accumulator over exact input" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } + } + } + }, + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, - "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 + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" ] - ] - }, - "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": [] + }, + "name": "state", + "nullable": false, + "table": null }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null }, - "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": [] - } - } - } + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact accumulator over exact input" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" + ], + "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" }, - "failure_probability": { - "op": "zero" - } - } - }, - "id": 5, - "materialization": "NotMaterialized", - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "time_index": null, - "unique_keys": [] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } + }, + "pane_count": 5, + "pane_width_ms": 60000, + "reduction": "PerEntity" } } - ], - "roots": [ - 5 - ], - "scalar_roots": [] + } }, - "display_name": "Q1 Sum acc + Rate acc ×5 panes · ingestion time: Rate acc ×5 panes", - "from_logical": "pane-round-9-joint-logical-1", - "id": "pane-round-9-joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "pane-round-9-joint-plan-1": [ { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "pane-round-9-joint-plan-1": { - "cost_per_second": 0.4769177332069405, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 0.000014917683333333333, - "per_node": { - "0": { - "cost_per_second": 0.0058, - "cpu_core_seconds_per_second": 5.7999999999999995e-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.005083383157116666, - "cpu_core_seconds_per_second": 5.083333333333333e-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.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" + "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 + ] + ] }, - "4": { - "cost_per_second": 0.00101666671649045, - "cpu_core_seconds_per_second": 1.0166666666666663e-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", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "5": { - "cost_per_second": 1.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-9, - "detail": "finalize 1 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 1 + ] + } + } } }, - "source": "analytical-cost-v2 (illustrative statistics)", - "usage": { - "average_memory_bytes": 3696000.398988857, - "cpu_ops_per_second": 10117.683333333332, - "disk_bytes": 0, - "latency_per_query": [ - { - "compaction_ms": 0.0, - "query_ms": 0.007001 + { + "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" + } } - ], - "peak_cpu_cores": 2, - "peak_memory_bytes": 3752104, - "scanned_bytes_per_second": 48000.0 - } - } - }, - "front": [], - "pane_retention_ms": { - "1": 3900000 - }, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 251, - "direct_cost_best_validated_cost": 0.4769177332069405, - "direct_cost_fallback_reasons": [ - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=5.002001000000001e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.342001000000001e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.5020010000000002e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=4.842001000000001e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.2520009999999998e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.5920010000000005e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9670010000000004e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.642001e-3, rate_weight=1e0, request=0e0" - ], - "direct_cost_solve_calls": 7, - "direct_cost_validated_plans": 7, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 4, - "immediate_candidates": 129, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 20, - "logical_candidates": 45, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }", - "Expanding { max_parts: 1024 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 1730, - "peak_milp_variables": 722, - "physical_configurations": 171, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 139, - "status": "time_or_evaluation_limit_with_validated_incumbent", - "stored_supplier_ids": 170, - "structurally_removed_candidates": 128, - "structurally_removed_connections": 210, - "supplier_sets": 88, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 128, - "incumbent_cost": 0.4769177332069405, - "runner_up_cost_per_second": null - }, - "search_rejected": [], - "selected": "pane-round-9-joint-plan-1", - "stored_outputs": [ - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -60000 + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": 0 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 0, - "scan_node_id": 0, - "time_range_node_id": 1, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 0, - "node_id": 2, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -120000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -60000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 60000, - "scan_node_id": 0, - "time_range_node_id": 4, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 1, - "node_id": 5, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -180000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -120000 - } + "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 + } } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 120000, - "scan_node_id": 0, - "time_range_node_id": 7, - "width_ms": 60000 - } - ], - "stored_outputs": [] + } }, - "installed_count": 5, - "installed_position": 2, - "node_id": 8, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -240000 + { + "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" + ] }, - { - "included": -180000 + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] } - ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 180000, - "scan_node_id": 0, - "time_range_node_id": 10, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 3, - "node_id": 11, - "retention_ms": 3900000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -300000 + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -240000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 240000, - "scan_node_id": 0, - "time_range_node_id": 13, - "width_ms": 60000 + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } } - ], - "stored_outputs": [] - }, - "installed_count": 5, - "installed_position": 4, - "node_id": 14, - "retention_ms": 3900000, - "stage2_node_id": 1 - } - ] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null + } } - } + ], + "roots": [ + 5 + ], + "scalar_roots": [] }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "sum(rate(http_requests_total{job=~\"user-service|order-service|payment-service\"}[5m]))" - } - ] + "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 index 0ff33e45f..5cf02606f 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q25.json @@ -1,7970 +1,6379 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" + "materialized_views": [ + { + "coverage": { + "definition_id": "0e9e6da224697c324f6268c4637236dd", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } ] }, - { - "family": "Kll", - "readouts": [ - "Quantile" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Cms", - "readouts": [ - "Total" + "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 + } + ] + } ] }, - { - "family": "Hll", - "readouts": [ - "Distinct" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" + "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 + } + ] + } ] }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Kmv", - "readouts": [ - "Distinct" + "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 + } + ] + } ] }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -300000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, + "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": [ { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null + "excluded": -360000 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "status", - "nullable": true, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -360000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 3600 - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "range_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -480000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, + "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": [ { - "dtype": { - "Plain": "utf8" - }, - "name": "status", - "nullable": true, - "table": null + "excluded": -600000 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -540000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, + }, + "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": [ { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "excluded": -660000 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, + "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": [ { - "dtype": { - "Plain": "utf8" - }, - "name": "status", - "nullable": true, - "table": null + "excluded": -720000 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -660000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 4, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 660000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null + "excluded": -780000 + }, + { + "included": -720000 } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 720000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -840000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -900000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 4, - "kind": "range", - "range": { - "nanos": 0, - "secs": 3600 - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 900000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "range_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -1020000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -1080000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 5, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1080000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -1200000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -1260000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 6, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1260000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null + "excluded": -1380000 + }, + { + "included": -1320000 } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "BinaryOp": { - "lhs": 3, - "operator": { - "checked_finite_division": false, - "checked_relative_division": false, - "kind": { - "Arithmetic": "Div" - }, - "vector_match": null - }, - "return_bool": false, - "rhs": 7 + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1320000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null + "excluded": -1440000 + }, + { + "included": -1380000 } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 8 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } + ] + } + ] + }, + "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 }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } + { + "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 }, - "result_kind": "instant_vector", - "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 - ] - ] + { + "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 }, - "timing": null + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1560000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } + "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 }, - "result_kind": "state", - "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 - ] - ] + { + "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 }, - "timing": null + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1680000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 1 - ] - } - } + "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 }, - "result_kind": "state", - "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 - ] - ] + { + "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 }, - "timing": null + { + "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" + } }, - { - "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" - } - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } + { + "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 }, - "result_kind": "instant_vector", - "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 - ] - ] + { + "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 }, - "timing": null + { + "included": -2940000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2940000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": [] - } - } - } + "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 }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "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 }, - "timing": null + { + "included": -3060000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3060000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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" - } - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } + { + "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 }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "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 }, - "timing": null + { + "included": -3240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } + { + "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 }, - "result_kind": "instant_vector", - "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 - ] - ] + { + "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 }, - "timing": null + { + "included": -3420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } + "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 }, - "result_kind": "state", - "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 - ] - ] + { + "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 }, - "timing": null + { + "included": -3540000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 7 - ] - } - } - }, - "result_kind": "state", - "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 - ] - ] + "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 }, - "timing": null + { + "included": 0 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 8 - } - } + "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 }, - "result_kind": "instant_vector", - "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 - ] - ] + { + "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 }, - "timing": null + { + "included": -120000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": [] - } - } - } + "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 }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "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 }, - "timing": null + { + "included": -240000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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" - } - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 10 - } - } + { + "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 }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "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 }, - "timing": null + { + "included": -420000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 420000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } + "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 }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "BinaryOp": { - "lhs": 5, - "operator": { - "checked_finite_division": false, - "checked_relative_division": false, - "kind": { - "Arithmetic": "Div" - }, - "vector_match": null - }, - "return_bool": false, - "rhs": 11 - } - } + { + "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 }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "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 }, - "timing": null - } - ], - "roots": [ - { - "Operator": 12 - } - ] - }, - "display_name": "Q1 Sum acc + Rate acc ×60 panes", - "id": "pane-round-8-joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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 - ] - ] + { + "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 }, - "producer": 0, - "role": "Input", - "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 660000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 720000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 780000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 840000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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": [] + "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 }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 900000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 6, - "role": "Input", - "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 960000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1020000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1140000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1200000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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": [] + "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 }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1320000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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": [] + "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 }, - "producer": 5, - "role": "Left", - "window": "NotApplicable" + { + "included": -1380000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1380000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } }, - { - "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 - ] - ] + "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 }, - "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" - } - } - } - } + { + "included": -1440000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1440000, + "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 - ] - ] + "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 }, - "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" - } - } + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1500000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "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" + "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 }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 1 - ] - } - } + { + "included": -1560000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1560000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "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 - ] - ] + "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 }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" + { + "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 }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } + { + "included": -1680000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1680000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "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": [] - } - } - } + "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" } }, - { - "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" - } - } + "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 }, - "id": 5, - "materialization": "NotMaterialized", - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + { + "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 }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" + { + "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 }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } + { + "included": -1920000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1920000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "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 - ] - ] + "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 }, - "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" - } - } - } - } + { + "included": -1980000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1980000, + "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 - ] - ] + "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 }, - "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" - } - } + { + "included": -2040000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2040000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "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" + "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 }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 7 - ] - } - } + { + "included": -2100000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2100000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "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" + "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 }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 8 - } - } + { + "included": -2160000 } - }, - { - "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": [] - } - } - } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2160000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "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" + "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 }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 10 - } - } + { + "included": -2220000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2220000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } + "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 }, - "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 - } - } + { + "included": -2280000 } - } - ], - "roots": [ - 12 - ], - "scalar_roots": [] - }, - "display_name": "Q1 Sum acc + Rate acc ×60 panes · ingestion time: Rate acc ×60 panes, Rate acc ×60 panes", - "from_logical": "pane-round-8-joint-logical-1", - "id": "pane-round-8-joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "pane-round-8-joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "pane-round-8-joint-plan-1": { - "cost_per_second": 1.8372714835337456, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 0.00014326971666666667, - "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.0010166675491546833, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-9, - "detail": "finalize 1 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "12": { - "cost_per_second": 1.0167927363833333e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.06100088248801666, - "cpu_core_seconds_per_second": 0.00006099999999999999, - "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.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "4": { - "cost_per_second": 0.0010166675491546833, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.7999999999999995e-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.06100088248801666, - "cpu_core_seconds_per_second": 0.00006099999999999999, - "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.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.134936633, - "cpu_ops_per_second": 132069.71666666665, - "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 - } - } - }, - "front": [], - "pane_retention_ms": { - "1": 7200000, - "7": 7200000 + ] + }, + "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 }, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 444, - "direct_cost_best_validated_cost": 1.8372714835337456, - "direct_cost_fallback_reasons": [ - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.0004003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.21924003e-1, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.0004002999999994e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=9.1924003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.5004003e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.692400299999999e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.204003e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.912400299999999e-2, rate_weight=1e0, request=0e0" - ], - "direct_cost_solve_calls": 3, - "direct_cost_validated_plans": 3, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 9, - "immediate_candidates": 229, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 512 }", - "joint_price_solve_calls": 18, - "logical_candidates": 81, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 1500, - "peak_milp_variables": 1052, - "physical_configurations": 303, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 132, - "status": "time_or_evaluation_limit_with_validated_incumbent", - "stored_supplier_ids": 302, - "structurally_removed_candidates": 227, - "structurally_removed_connections": 372, - "supplier_sets": 158, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 128, - "incumbent_cost": 1.8372714835337456, - "runner_up_cost_per_second": null + { + "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 }, - "search_rejected": [], - "selected": "pane-round-8-joint-plan-1", - "stored_outputs": [ - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -60000 - }, - { - "included": 0 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 0, - "scan_node_id": 0, - "time_range_node_id": 1, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 0, - "node_id": 2, - "retention_ms": 7200000, - "stage2_node_id": 1 + { + "coverage": { + "definition_id": "983f5e2904acda1d575c27b0861b6380", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -2460000 + }, + { + "included": -2400000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -120000 - }, - { - "included": -60000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 60000, - "scan_node_id": 0, - "time_range_node_id": 4, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 1, - "node_id": 5, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2400000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -180000 - }, - { - "included": -120000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 120000, - "scan_node_id": 0, - "time_range_node_id": 7, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 2, - "node_id": 8, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -240000 - }, - { - "included": -180000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 180000, - "scan_node_id": 0, - "time_range_node_id": 10, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 3, - "node_id": 11, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2460000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -300000 - }, - { - "included": -240000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 240000, - "scan_node_id": 0, - "time_range_node_id": 13, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 4, - "node_id": 14, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -360000 - }, - { - "included": -300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 300000, - "scan_node_id": 0, - "time_range_node_id": 16, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 5, - "node_id": 17, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2520000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -420000 - }, - { - "included": -360000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 360000, - "scan_node_id": 0, - "time_range_node_id": 19, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 6, - "node_id": 20, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -480000 - }, - { - "included": -420000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 420000, - "scan_node_id": 0, - "time_range_node_id": 22, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 7, - "node_id": 23, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2580000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -540000 - }, - { - "included": -480000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 480000, - "scan_node_id": 0, - "time_range_node_id": 25, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 8, - "node_id": 26, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -600000 - }, - { - "included": -540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 540000, - "scan_node_id": 0, - "time_range_node_id": 28, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 9, - "node_id": 29, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2640000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -660000 - }, - { - "included": -600000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 600000, - "scan_node_id": 0, - "time_range_node_id": 31, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 10, - "node_id": 32, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -720000 - }, - { - "included": -660000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 660000, - "scan_node_id": 0, - "time_range_node_id": 34, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 11, - "node_id": 35, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2700000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -780000 - }, - { - "included": -720000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 720000, - "scan_node_id": 0, - "time_range_node_id": 37, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 12, - "node_id": 38, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -840000 - }, - { - "included": -780000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 780000, - "scan_node_id": 0, - "time_range_node_id": 40, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 13, - "node_id": 41, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2760000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -900000 - }, - { - "included": -840000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 840000, - "scan_node_id": 0, - "time_range_node_id": 43, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 14, - "node_id": 44, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -960000 - }, - { - "included": -900000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 900000, - "scan_node_id": 0, - "time_range_node_id": 46, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 15, - "node_id": 47, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2820000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1020000 - }, - { - "included": -960000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 960000, - "scan_node_id": 0, - "time_range_node_id": 49, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 16, - "node_id": 50, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1080000 - }, - { - "included": -1020000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1020000, - "scan_node_id": 0, - "time_range_node_id": 52, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 17, - "node_id": 53, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2880000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1140000 - }, - { - "included": -1080000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1080000, - "scan_node_id": 0, - "time_range_node_id": 55, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 18, - "node_id": 56, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1200000 - }, - { - "included": -1140000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1140000, - "scan_node_id": 0, - "time_range_node_id": 58, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 19, - "node_id": 59, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2940000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1260000 - }, - { - "included": -1200000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1200000, - "scan_node_id": 0, - "time_range_node_id": 61, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 20, - "node_id": 62, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1320000 - }, - { - "included": -1260000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1260000, - "scan_node_id": 0, - "time_range_node_id": 64, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 21, - "node_id": 65, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3000000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1380000 - }, - { - "included": -1320000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1320000, - "scan_node_id": 0, - "time_range_node_id": 67, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 22, - "node_id": 68, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1440000 - }, - { - "included": -1380000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1380000, - "scan_node_id": 0, - "time_range_node_id": 70, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 23, - "node_id": 71, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3060000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1500000 - }, - { - "included": -1440000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1440000, - "scan_node_id": 0, - "time_range_node_id": 73, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 24, - "node_id": 74, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1560000 - }, - { - "included": -1500000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1500000, - "scan_node_id": 0, - "time_range_node_id": 76, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 25, - "node_id": 77, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3120000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1620000 - }, - { - "included": -1560000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1560000, - "scan_node_id": 0, - "time_range_node_id": 79, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 26, - "node_id": 80, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1680000 - }, - { - "included": -1620000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1620000, - "scan_node_id": 0, - "time_range_node_id": 82, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 27, - "node_id": 83, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3180000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1740000 - }, - { - "included": -1680000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1680000, - "scan_node_id": 0, - "time_range_node_id": 85, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 28, - "node_id": 86, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1800000 - }, - { - "included": -1740000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1740000, - "scan_node_id": 0, - "time_range_node_id": 88, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 29, - "node_id": 89, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3240000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1860000 - }, - { - "included": -1800000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1800000, - "scan_node_id": 0, - "time_range_node_id": 91, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 30, - "node_id": 92, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1920000 - }, - { - "included": -1860000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1860000, - "scan_node_id": 0, - "time_range_node_id": 94, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 31, - "node_id": 95, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3300000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1980000 - }, - { - "included": -1920000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1920000, - "scan_node_id": 0, - "time_range_node_id": 97, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 32, - "node_id": 98, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2040000 - }, - { - "included": -1980000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1980000, - "scan_node_id": 0, - "time_range_node_id": 100, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 33, - "node_id": 101, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3360000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2100000 - }, - { - "included": -2040000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2040000, - "scan_node_id": 0, - "time_range_node_id": 103, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 34, - "node_id": 104, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2160000 - }, - { - "included": -2100000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2100000, - "scan_node_id": 0, - "time_range_node_id": 106, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 35, - "node_id": 107, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2220000 - }, - { - "included": -2160000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2160000, - "scan_node_id": 0, - "time_range_node_id": 109, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 36, - "node_id": 110, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3480000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2280000 - }, - { - "included": -2220000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2220000, - "scan_node_id": 0, - "time_range_node_id": 112, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 37, - "node_id": 113, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2340000 - }, - { - "included": -2280000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2280000, - "scan_node_id": 0, - "time_range_node_id": 115, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 38, - "node_id": 116, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3540000, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2400000 - }, - { - "included": -2340000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2340000, - "scan_node_id": 0, - "time_range_node_id": 118, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 39, - "node_id": 119, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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" + } }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2460000 + "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" }, - { - "included": -2400000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2400000, - "scan_node_id": 0, - "time_range_node_id": 121, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 40, - "node_id": 122, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2520000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -2460000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2460000, - "scan_node_id": 0, - "time_range_node_id": 124, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 41, - "node_id": 125, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2580000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2520000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2520000, - "scan_node_id": 0, - "time_range_node_id": 127, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 42, - "node_id": 128, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2640000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2580000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2580000, - "scan_node_id": 0, - "time_range_node_id": 130, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 43, - "node_id": 131, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2700000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2640000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2640000, - "scan_node_id": 0, - "time_range_node_id": 133, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, - "installed_count": 60, - "installed_position": 44, - "node_id": 134, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2760000 + { + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2700000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2700000, - "scan_node_id": 0, - "time_range_node_id": 136, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 45, - "node_id": 137, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2820000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - { - "included": -2760000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2760000, - "scan_node_id": 0, - "time_range_node_id": 139, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 46, - "node_id": 140, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2880000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2820000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2820000, - "scan_node_id": 0, - "time_range_node_id": 142, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 47, - "node_id": 143, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2940000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2880000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2880000, - "scan_node_id": 0, - "time_range_node_id": 145, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 48, - "node_id": 146, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3000000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2940000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2940000, - "scan_node_id": 0, - "time_range_node_id": 148, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 49, - "node_id": 149, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3060000 + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -3000000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3000000, - "scan_node_id": 0, - "time_range_node_id": 151, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 50, - "node_id": 152, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3120000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - { - "included": -3060000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3060000, - "scan_node_id": 0, - "time_range_node_id": 154, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 51, - "node_id": 155, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3180000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3120000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3120000, - "scan_node_id": 0, - "time_range_node_id": 157, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 52, - "node_id": 158, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3240000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3180000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3180000, - "scan_node_id": 0, - "time_range_node_id": 160, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 53, - "node_id": 161, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3300000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3240000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3240000, - "scan_node_id": 0, - "time_range_node_id": 163, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 54, - "node_id": 164, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3360000 + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -3300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3300000, - "scan_node_id": 0, - "time_range_node_id": 166, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 55, - "node_id": 167, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3420000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -3360000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3360000, - "scan_node_id": 0, - "time_range_node_id": 169, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 56, - "node_id": 170, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3480000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3420000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3420000, - "scan_node_id": 0, - "time_range_node_id": 172, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 57, - "node_id": 173, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3540000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3480000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3480000, - "scan_node_id": 0, - "time_range_node_id": 175, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 58, - "node_id": 176, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "0e9e6da224697c324f6268c4637236dd", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3600000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3540000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3540000, - "scan_node_id": 0, - "time_range_node_id": 178, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 59, - "node_id": 179, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -60000 + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - { - "included": 0 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 0, - "scan_node_id": 184, - "time_range_node_id": 185, - "width_ms": 60000 - } - ], - "stored_outputs": [] + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 0, - "node_id": 186, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -120000 + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -60000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 60000, - "scan_node_id": 184, - "time_range_node_id": 188, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 1, - "node_id": 189, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -180000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -120000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 120000, - "scan_node_id": 184, - "time_range_node_id": 191, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 2, - "node_id": 192, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -240000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -180000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 180000, - "scan_node_id": 184, - "time_range_node_id": 194, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 3, - "node_id": 195, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -300000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -240000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 240000, - "scan_node_id": 184, - "time_range_node_id": 197, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, - "installed_count": 60, - "installed_position": 4, - "node_id": 198, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -360000 + { + "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" + ] }, - { - "included": -300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 300000, - "scan_node_id": 184, - "time_range_node_id": 200, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 5, - "node_id": 201, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -420000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -360000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 360000, - "scan_node_id": 184, - "time_range_node_id": 203, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 6, - "node_id": 204, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -480000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -420000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 420000, - "scan_node_id": 184, - "time_range_node_id": 206, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 7, - "node_id": 207, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -540000 + { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -480000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 480000, - "scan_node_id": 184, - "time_range_node_id": 209, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 8, - "node_id": 210, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -600000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - { - "included": -540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 540000, - "scan_node_id": 184, - "time_range_node_id": 212, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 9, - "node_id": 213, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -660000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -600000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 600000, - "scan_node_id": 184, - "time_range_node_id": 215, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 10, - "node_id": 216, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -720000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -660000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 660000, - "scan_node_id": 184, - "time_range_node_id": 218, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 11, - "node_id": 219, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -780000 + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -720000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 720000, - "scan_node_id": 184, - "time_range_node_id": 221, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 12, - "node_id": 222, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -840000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -780000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 780000, - "scan_node_id": 184, - "time_range_node_id": 224, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 13, - "node_id": 225, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -900000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -840000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 840000, - "scan_node_id": 184, - "time_range_node_id": 227, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 14, - "node_id": 228, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -960000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -900000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 900000, - "scan_node_id": 184, - "time_range_node_id": 230, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 15, - "node_id": 231, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1020000 + { + "consumer": 11, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - { - "included": -960000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 960000, - "scan_node_id": 184, - "time_range_node_id": 233, - "width_ms": 60000 - } - ], - "stored_outputs": [] + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 16, - "node_id": 234, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1080000 + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -1020000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1020000, - "scan_node_id": 184, - "time_range_node_id": 236, - "width_ms": 60000 - } - ], - "stored_outputs": [] + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "producer": 5, + "role": "Left", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 17, - "node_id": 237, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1140000 + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -1080000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1080000, - "scan_node_id": 184, - "time_range_node_id": 239, - "width_ms": 60000 + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 18, - "node_id": 240, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1200000 + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -1140000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1140000, - "scan_node_id": 184, - "time_range_node_id": 242, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 19, - "node_id": 243, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1260000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -1200000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1200000, - "scan_node_id": 184, - "time_range_node_id": 245, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 20, - "node_id": 246, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1320000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1260000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1260000, - "scan_node_id": 184, - "time_range_node_id": 248, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 21, - "node_id": 249, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1380000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1320000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1320000, - "scan_node_id": 184, - "time_range_node_id": 251, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 22, - "node_id": 252, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1440000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1380000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1380000, - "scan_node_id": 184, - "time_range_node_id": 254, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 23, - "node_id": 255, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1500000 + ] + }, + "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 + ] + ] }, - { - "included": -1440000 + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1440000, - "scan_node_id": 184, - "time_range_node_id": 257, - "width_ms": 60000 + } } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 24, - "node_id": 258, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1560000 + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -1500000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1500000, - "scan_node_id": 184, - "time_range_node_id": 260, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 25, - "node_id": 261, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1620000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - { - "included": -1560000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1560000, - "scan_node_id": 184, - "time_range_node_id": 263, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 26, - "node_id": 264, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1680000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1620000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1620000, - "scan_node_id": 184, - "time_range_node_id": 266, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 27, - "node_id": 267, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1740000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1680000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1680000, - "scan_node_id": 184, - "time_range_node_id": 269, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 28, - "node_id": 270, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1800000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1740000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 4, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1740000, - "scan_node_id": 184, - "time_range_node_id": 272, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 29, - "node_id": 273, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1860000 + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - { - "included": -1800000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1800000, - "scan_node_id": 184, - "time_range_node_id": 275, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 30, - "node_id": 276, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1920000 + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } }, - { - "included": -1860000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1860000, - "scan_node_id": 184, - "time_range_node_id": 278, - "width_ms": 60000 + "pane_count": 60, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 31, - "node_id": 279, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1980000 + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -1920000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1920000, - "scan_node_id": 184, - "time_range_node_id": 281, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 32, - "node_id": 282, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2040000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - { - "included": -1980000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1980000, - "scan_node_id": 184, - "time_range_node_id": 284, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 33, - "node_id": 285, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2100000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2040000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2040000, - "scan_node_id": 184, - "time_range_node_id": 287, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 34, - "node_id": 288, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2160000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2100000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2100000, - "scan_node_id": 184, - "time_range_node_id": 290, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 35, - "node_id": 291, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2220000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2160000 - } + "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 + ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2160000, - "scan_node_id": 184, - "time_range_node_id": 293, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 36, - "node_id": 294, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2280000 + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2220000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2220000, - "scan_node_id": 184, - "time_range_node_id": 296, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 37, - "node_id": 297, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2340000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -2280000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2280000, - "scan_node_id": 184, - "time_range_node_id": 299, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 38, - "node_id": 300, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2400000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2340000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2340000, - "scan_node_id": 184, - "time_range_node_id": 302, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 39, - "node_id": 303, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2460000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2400000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2400000, - "scan_node_id": 184, - "time_range_node_id": 305, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 40, - "node_id": 306, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2520000 + "name": "status", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2460000 - } + "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 + } } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2460000, - "scan_node_id": 184, - "time_range_node_id": 308, - "width_ms": 60000 - } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 41, - "node_id": 309, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2580000 + { + "guarantee": null, + "id": 4, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - { - "included": -2520000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2520000, - "scan_node_id": 184, - "time_range_node_id": 311, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 42, - "node_id": 312, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2640000 + "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" + } }, - { - "included": -2580000 + "reduction": { + "Reduce": [] } - ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2580000, - "scan_node_id": 184, - "time_range_node_id": 314, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 43, - "node_id": 315, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2700000 + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -2640000 - } - ] + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2640000, - "scan_node_id": 184, - "time_range_node_id": 317, - "width_ms": 60000 + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 44, - "node_id": 318, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2760000 + }, + "id": 6, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2700000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2700000, - "scan_node_id": 184, - "time_range_node_id": 320, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 45, - "node_id": 321, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2820000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -2760000 - } + "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 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2760000, - "scan_node_id": 184, - "time_range_node_id": 323, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 46, - "node_id": 324, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2880000 + ] + }, + "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 + ] + ] }, - { - "included": -2820000 + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2820000, - "scan_node_id": 184, - "time_range_node_id": 326, - "width_ms": 60000 + } } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 47, - "node_id": 327, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2940000 + { + "guarantee": null, + "id": 7, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2880000 - } + "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" + } } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2880000, - "scan_node_id": 184, - "time_range_node_id": 329, - "width_ms": 60000 - } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 48, - "node_id": 330, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3000000 + { + "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" }, - { - "included": -2940000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2940000, - "scan_node_id": 184, - "time_range_node_id": 332, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 49, - "node_id": 333, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3060000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3000000 - } + "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 + ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3000000, - "scan_node_id": 184, - "time_range_node_id": 335, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 50, - "node_id": 336, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3120000 + }, + "id": 9, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -3060000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3060000, - "scan_node_id": 184, - "time_range_node_id": 338, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 51, - "node_id": 339, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3180000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -3120000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3120000, - "scan_node_id": 184, - "time_range_node_id": 341, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 52, - "node_id": 342, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3240000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3180000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3180000, - "scan_node_id": 184, - "time_range_node_id": 344, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 53, - "node_id": 345, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3300000 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3240000 - } + "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 + } } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3240000, - "scan_node_id": 184, - "time_range_node_id": 347, - "width_ms": 60000 - } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 54, - "node_id": 348, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3360000 + { + "guarantee": null, + "id": 10, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - { - "included": -3300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3300000, - "scan_node_id": 184, - "time_range_node_id": 350, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 55, - "node_id": 351, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3420000 + "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" + ] }, - { - "included": -3360000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3360000, - "scan_node_id": 184, - "time_range_node_id": 353, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 56, - "node_id": 354, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3480000 + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } }, - { - "included": -3420000 + "reduction": { + "Reduce": [] } - ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3420000, - "scan_node_id": 184, - "time_range_node_id": 356, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 57, - "node_id": 357, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3540000 + }, + "id": 11, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -3480000 - } - ] + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 10 + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3480000, - "scan_node_id": 184, - "time_range_node_id": 359, - "width_ms": 60000 + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 58, - "node_id": 360, - "retention_ms": 7200000, - "stage2_node_id": 7 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "983f5e2904acda1d575c27b0861b6380", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3600000 + }, + "id": 12, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -3540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3540000, - "scan_node_id": 184, - "time_range_node_id": 362, - "width_ms": 60000 + "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 + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 59, - "node_id": 363, - "retention_ms": 7200000, - "stage2_node_id": 7 - } - ] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null + } } - } + ], + "roots": [ + 12 + ], + "scalar_roots": [] }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "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]))" - } - ] + "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 index 6843f53c5..44b9907e5 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q26.json @@ -1,3761 +1,3027 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ - { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" + "materialized_views": [ + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -60000 + }, + { + "included": 0 + } + ] + } ] }, - { - "family": "Kll", - "readouts": [ - "Quantile" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 0, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Cms", - "readouts": [ - "Total" + "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 + } + ] + } ] }, - { - "family": "Hll", - "readouts": [ - "Distinct" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 60000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" + "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 + } + ] + } ] }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 120000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } ] }, - { - "family": "Kmv", - "readouts": [ - "Distinct" + "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 + } + ] + } ] }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] - } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { - "dag": { - "nodes": [ - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 180000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -300000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -300000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 2, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 3600 - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 300000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" } - } - }, - "result_kind": "range_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -420000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -420000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 2, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 420000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null + "excluded": -540000 }, { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null + "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 }, { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "included": -540000 } - ], - "time_index": 0, - "unique_keys": [ - [ - 2, - 0 - ] ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [] - } + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 540000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ + }, + "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": [ { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 3 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] + "excluded": -660000 }, - "timing": null + { + "included": -600000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 600000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - }, - "result_kind": "state", - "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 - ] - ] + "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 }, - "timing": null + { + "included": -660000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 660000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "SummaryMerge": { - "children": [ - 1 - ] - } - } - }, - "result_kind": "state", - "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 - ] - ] + "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 }, - "timing": null + { + "included": -720000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 720000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] + "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 }, - "timing": null + { + "included": -780000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 780000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": [] - } - } - } - }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] + "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 }, - "timing": null + { + "included": -840000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 840000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 5 - } - ] - }, - "display_name": "Q1 Sum acc + Rate acc ×60 panes", - "id": "pane-round-9-joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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 - ] - ] + "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 }, - "producer": 0, - "role": "Input", - "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + { + "included": -900000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 900000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" + { + "included": -960000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 960000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" + { + "included": -1020000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1020000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } }, - { - "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 - ] - ] + "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 }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" + { + "included": -1080000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1080000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } }, - { - "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 - ] - ] + "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 }, - "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" - } - } - } - } + { + "included": -1140000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1140000, + "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 - ] - ] + "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 }, - "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" - } - } + { + "included": -1200000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1200000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" } }, - { - "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 - ] - ] + "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 }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + { + "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 }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 1 - ] - } - } + { + "included": -1320000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1320000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" } }, - { - "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" - } - } + "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 }, - "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 - ] - ] + { + "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 }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" + { + "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 }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } + { + "included": -1500000 + } + ] + } + ] + }, + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1500000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" } }, - { - "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": [] - } - } - } + "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" } }, - { - "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" - } - } + "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 }, - "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 - } - } + { + "included": -1620000 } - } - ], - "roots": [ - 5 - ], - "scalar_roots": [] - }, - "display_name": "Q1 Sum acc + Rate acc ×60 panes · ingestion time: Rate acc ×60 panes", - "from_logical": "pane-round-9-joint-logical-1", - "id": "pane-round-9-joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "pane-round-9-joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] + ] + } + ] + }, + "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 }, - "costs": { - "pane-round-9-joint-plan-1": { - "cost_per_second": 0.9162347916816904, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 0.00006923434999999999, - "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.06100044124044999, - "cpu_core_seconds_per_second": 0.00006099999999999999, - "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.0010166666666666666, - "cpu_core_seconds_per_second": 1.0166666666666663e-6, - "detail": "finalize 1000 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" - }, - "4": { - "cost_per_second": 0.0010166671079071166, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-9, - "detail": "finalize 1 accumulators; x 1.0167/s", - "multiplier": 1, - "operator": "FinalizeExactAccumulator", - "price_source": "analytical", - "timing": "query_time" + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1740000 + }, + { + "included": -1680000 + } + ] } - }, - "source": "analytical-cost-v2 (illustrative statistics)", - "usage": { - "average_memory_bytes": 6776003.533453524, - "cpu_ops_per_second": 66034.34999999999, - "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 - } - } + ] + }, + "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 }, - "front": [], - "pane_retention_ms": { - "1": 7200000 + { + "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 }, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": false, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 251, - "direct_cost_best_validated_cost": 0.9162347916816904, - "direct_cost_fallback_reasons": [ - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=6.0002001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=8.2322001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.0002001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=5.2322001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=1.5002000999999997e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=3.7322001e-2, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=7.502001e-3, rate_weight=1e0, request=0e0", - "normalized latency terms are below the supported held-memory numerical range: minimum=Some(9.999999999999999e-10), maximum=2.9822001e-2, rate_weight=1e0, request=0e0" - ], - "direct_cost_solve_calls": 4, - "direct_cost_validated_plans": 4, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": false, - "full_catalog_completed": false, - "groups": 4, - "immediate_candidates": 129, - "independent_components": 1, - "inventory_pane_width_domain": "Expanding { max_parts: 1024 }", - "joint_price_solve_calls": 20, - "logical_candidates": 45, - "lower_bound": null, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "SeedGrids", - "Expanding { max_parts: 4 }", - "Expanding { max_parts: 8 }", - "Expanding { max_parts: 16 }", - "Expanding { max_parts: 32 }", - "Expanding { max_parts: 64 }", - "Expanding { max_parts: 128 }", - "Expanding { max_parts: 256 }", - "Expanding { max_parts: 512 }", - "Expanding { max_parts: 1024 }" - ], - "pane_widths_pending": true, - "peak_milp_constraints": 852, - "peak_milp_variables": 595, - "physical_configurations": 171, - "refinements": 128, - "relative_gap": null, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 136, - "status": "time_or_evaluation_limit_with_validated_incumbent", - "stored_supplier_ids": 170, - "structurally_removed_candidates": 128, - "structurally_removed_connections": 210, - "supplier_sets": 88, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 128, - "incumbent_cost": 0.9162347916816904, - "runner_up_cost_per_second": null + { + "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 }, - "search_rejected": [], - "selected": "pane-round-9-joint-plan-1", - "stored_outputs": [ - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -60000 - }, - { - "included": 0 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 0, - "scan_node_id": 0, - "time_range_node_id": 1, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 0, - "node_id": 2, - "retention_ms": 7200000, - "stage2_node_id": 1 + { + "coverage": { + "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", + "selection": [ + { + "columns": [], + "relative_time": [ + { + "excluded": -1920000 + }, + { + "included": -1860000 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -120000 - }, - { - "included": -60000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 60000, - "scan_node_id": 0, - "time_range_node_id": 4, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 1, - "node_id": 5, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1860000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -180000 - }, - { - "included": -120000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 120000, - "scan_node_id": 0, - "time_range_node_id": 7, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 2, - "node_id": 8, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -240000 - }, - { - "included": -180000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 180000, - "scan_node_id": 0, - "time_range_node_id": 10, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 3, - "node_id": 11, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1920000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -300000 - }, - { - "included": -240000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 240000, - "scan_node_id": 0, - "time_range_node_id": 13, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 4, - "node_id": 14, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -360000 - }, - { - "included": -300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 300000, - "scan_node_id": 0, - "time_range_node_id": 16, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 5, - "node_id": 17, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 1980000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -420000 - }, - { - "included": -360000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 360000, - "scan_node_id": 0, - "time_range_node_id": 19, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 6, - "node_id": 20, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -480000 - }, - { - "included": -420000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 420000, - "scan_node_id": 0, - "time_range_node_id": 22, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 7, - "node_id": 23, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2040000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -540000 - }, - { - "included": -480000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 480000, - "scan_node_id": 0, - "time_range_node_id": 25, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 8, - "node_id": 26, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -600000 - }, - { - "included": -540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 540000, - "scan_node_id": 0, - "time_range_node_id": 28, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 9, - "node_id": 29, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2100000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -660000 - }, - { - "included": -600000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 600000, - "scan_node_id": 0, - "time_range_node_id": 31, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 10, - "node_id": 32, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -720000 - }, - { - "included": -660000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 660000, - "scan_node_id": 0, - "time_range_node_id": 34, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 11, - "node_id": 35, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2160000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -780000 - }, - { - "included": -720000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 720000, - "scan_node_id": 0, - "time_range_node_id": 37, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 12, - "node_id": 38, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -840000 - }, - { - "included": -780000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 780000, - "scan_node_id": 0, - "time_range_node_id": 40, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 13, - "node_id": 41, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2220000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -900000 - }, - { - "included": -840000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 840000, - "scan_node_id": 0, - "time_range_node_id": 43, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 14, - "node_id": 44, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -960000 - }, - { - "included": -900000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 900000, - "scan_node_id": 0, - "time_range_node_id": 46, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 15, - "node_id": 47, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2280000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1020000 - }, - { - "included": -960000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 960000, - "scan_node_id": 0, - "time_range_node_id": 49, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 16, - "node_id": 50, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1080000 - }, - { - "included": -1020000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1020000, - "scan_node_id": 0, - "time_range_node_id": 52, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 17, - "node_id": 53, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2340000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1140000 - }, - { - "included": -1080000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1080000, - "scan_node_id": 0, - "time_range_node_id": 55, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 18, - "node_id": 56, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1200000 - }, - { - "included": -1140000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1140000, - "scan_node_id": 0, - "time_range_node_id": 58, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 19, - "node_id": 59, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 2400000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1260000 - }, - { - "included": -1200000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1200000, - "scan_node_id": 0, - "time_range_node_id": 61, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 20, - "node_id": 62, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1320000 - }, - { - "included": -1260000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1260000, - "scan_node_id": 0, - "time_range_node_id": 64, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 21, - "node_id": 65, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1380000 - }, - { - "included": -1320000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1320000, - "scan_node_id": 0, - "time_range_node_id": 67, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 22, - "node_id": 68, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1440000 - }, - { - "included": -1380000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1380000, - "scan_node_id": 0, - "time_range_node_id": 70, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 23, - "node_id": 71, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3360000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1500000 - }, - { - "included": -1440000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1440000, - "scan_node_id": 0, - "time_range_node_id": 73, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 24, - "node_id": 74, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1560000 - }, - { - "included": -1500000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1500000, - "scan_node_id": 0, - "time_range_node_id": 76, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 25, - "node_id": 77, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3420000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1620000 - }, - { - "included": -1560000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1560000, - "scan_node_id": 0, - "time_range_node_id": 79, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 26, - "node_id": 80, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1680000 - }, - { - "included": -1620000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1620000, - "scan_node_id": 0, - "time_range_node_id": 82, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 27, - "node_id": 83, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3480000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1740000 - }, - { - "included": -1680000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1680000, - "scan_node_id": 0, - "time_range_node_id": 85, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 28, - "node_id": 86, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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 + } + ] + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1800000 - }, - { - "included": -1740000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1740000, - "scan_node_id": 0, - "time_range_node_id": 88, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 29, - "node_id": 89, - "retention_ms": 7200000, - "stage2_node_id": 1 + "inputs": { + "materialized_views": [], + "raw_data_windows": [ + { + "end_offset_ms": 3540000, + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } + }, + "width_ms": 60000 + } + ] }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1860000 - }, - { - "included": -1800000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1800000, - "scan_node_id": 0, - "time_range_node_id": 91, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 30, - "node_id": 92, - "retention_ms": 7200000, - "stage2_node_id": 1 + "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" + } }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1920000 + "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" }, - { - "included": -1860000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1860000, - "scan_node_id": 0, - "time_range_node_id": 94, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 31, - "node_id": 95, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -1980000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -1920000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1920000, - "scan_node_id": 0, - "time_range_node_id": 97, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 32, - "node_id": 98, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2040000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -1980000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 1980000, - "scan_node_id": 0, - "time_range_node_id": 100, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 0, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, - "installed_count": 60, - "installed_position": 33, - "node_id": 101, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2100000 + { + "consumer": 2, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2040000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2040000, - "scan_node_id": 0, - "time_range_node_id": 103, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 34, - "node_id": 104, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2160000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - { - "included": -2100000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2100000, - "scan_node_id": 0, - "time_range_node_id": 106, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 35, - "node_id": 107, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2220000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2160000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2160000, - "scan_node_id": 0, - "time_range_node_id": 109, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 36, - "node_id": 110, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2280000 + { + "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" + ] }, - { - "included": -2220000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2220000, - "scan_node_id": 0, - "time_range_node_id": 112, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 37, - "node_id": 113, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2340000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2280000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2280000, - "scan_node_id": 0, - "time_range_node_id": 115, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 38, - "node_id": 116, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2400000 + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2340000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2340000, - "scan_node_id": 0, - "time_range_node_id": 118, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 39, - "node_id": 119, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2460000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -2400000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2400000, - "scan_node_id": 0, - "time_range_node_id": 121, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 40, - "node_id": 122, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2520000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2460000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2460000, - "scan_node_id": 0, - "time_range_node_id": 124, - "width_ms": 60000 - } - ], - "stored_outputs": [] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, - "installed_count": 60, - "installed_position": 41, - "node_id": 125, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2580000 + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - { - "included": -2520000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2520000, - "scan_node_id": 0, - "time_range_node_id": 127, - "width_ms": 60000 + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 42, - "node_id": 128, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2640000 + }, + "id": 0, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2580000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2580000, - "scan_node_id": 0, - "time_range_node_id": 130, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 43, - "node_id": 131, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2700000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -2640000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2640000, - "scan_node_id": 0, - "time_range_node_id": 133, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 44, - "node_id": 134, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2760000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2700000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2700000, - "scan_node_id": 0, - "time_range_node_id": 136, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 45, - "node_id": 137, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2820000 + ] + }, + "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 + ] + ] }, - { - "included": -2760000 + "source": { + "TimeSeries": { + "metric": "process_cpu_seconds_total" + } } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2760000, - "scan_node_id": 0, - "time_range_node_id": 139, - "width_ms": 60000 + } } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 46, - "node_id": 140, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2880000 + { + "guarantee": null, + "id": 1, + "materialization": { + "MatAtIngestion": "Memory" + }, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -2820000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2820000, - "scan_node_id": 0, - "time_range_node_id": 142, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 47, - "node_id": 143, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -2940000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -2880000 - } + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 2, + 0 ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2880000, - "scan_node_id": 0, - "time_range_node_id": 145, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 48, - "node_id": 146, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3000000 + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "PaneChain": { + "child": 0, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - { - "included": -2940000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 2940000, - "scan_node_id": 0, - "time_range_node_id": 148, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 49, - "node_id": 149, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3060000 + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } }, - { - "included": -3000000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3000000, - "scan_node_id": 0, - "time_range_node_id": 151, - "width_ms": 60000 + "pane_count": 60, + "pane_width_ms": 60000, + "reduction": "PerEntity" + } } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 50, - "node_id": 152, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3120000 + { + "guarantee": null, + "id": 2, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -3060000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3060000, - "scan_node_id": 0, - "time_range_node_id": 154, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 51, - "node_id": 155, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3180000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - { - "included": -3120000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3120000, - "scan_node_id": 0, - "time_range_node_id": 157, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 52, - "node_id": 158, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3240000 + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3180000 - } + "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 + ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3180000, - "scan_node_id": 0, - "time_range_node_id": 160, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 53, - "node_id": 161, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3300000 + }, + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - { - "included": -3240000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3240000, - "scan_node_id": 0, - "time_range_node_id": 163, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 54, - "node_id": 164, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3360000 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - { - "included": -3300000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3300000, - "scan_node_id": 0, - "time_range_node_id": 166, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 55, - "node_id": 167, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3420000 + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - { - "included": -3360000 - } + "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 + } } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3360000, - "scan_node_id": 0, - "time_range_node_id": 169, - "width_ms": 60000 - } - ], - "stored_outputs": [] + } }, - "installed_count": 60, - "installed_position": 56, - "node_id": 170, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3480000 + { + "guarantee": null, + "id": 4, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - { - "included": -3420000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3420000, - "scan_node_id": 0, - "time_range_node_id": 172, - "width_ms": 60000 - } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 57, - "node_id": 173, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3540000 + "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" + ] }, - { - "included": -3480000 + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [] } - ] + } } - ] + } }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3480000, - "scan_node_id": 0, - "time_range_node_id": 175, - "width_ms": 60000 + { + "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" + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 58, - "node_id": 176, - "retention_ms": 7200000, - "stage2_node_id": 1 - }, - { - "built_at": "ingestion_run", - "coverage": { - "definition_id": "c2bdb67952bf1d139fefe57a0d6c2c78", - "selection": [ - { - "columns": [], - "relative_time": [ - { - "excluded": -3600000 + }, + "id": 5, + "materialization": "NotMaterialized", + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "float64" }, - { - "included": -3540000 - } - ] - } - ] - }, - "inputs": { - "raw_sample_windows": [ - { - "end_offset_ms": 3540000, - "scan_node_id": 0, - "time_range_node_id": 178, - "width_ms": 60000 + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } } - ], - "stored_outputs": [] - }, - "installed_count": 60, - "installed_position": 59, - "node_id": 179, - "retention_ms": 7200000, - "stage2_node_id": 1 - } - ] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null + } } - } + ], + "roots": [ + 5 + ], + "scalar_roots": [] }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "sum(rate(process_cpu_seconds_total[1h]))" - } - ] + "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 index 9d5afc698..5a891d56f 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/q27.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/q27.json @@ -1,71 +1,267 @@ { "accuracy_guarantees": "enforced", - "deployment_capabilities": { - "query_time_results_retained": false, - "raw_data_retained": true, - "supported_summaries": [ + "materialized_views": [], + "pane_retention_ms": {}, + "proven_optimal": true, + "query": "sum(up)", + "selected": { + "accepted": [ { - "family": "UnivMon", - "readouts": [ - "Total", - "Distinct", - "FrequencyL2", - "FrequencyEntropy" - ] - }, - { - "family": "Kll", - "readouts": [ - "Quantile" - ] - }, - { - "family": "Cms", - "readouts": [ - "Total" - ] - }, - { - "family": "Hll", - "readouts": [ - "Distinct" - ] - }, - { - "family": "DDSketch", - "readouts": [ - "Quantile" - ] - }, - { - "family": "CmsWithHeap", - "readouts": [ - "TopK" - ] - }, - { - "family": "Kmv", - "readouts": [ - "Distinct" - ] + "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" + } }, - { - "family": "CountSketchWithHeap", - "readouts": [ - "TopK" - ] + "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 } - ] - }, - "format": "asap-stage-pipeline/v1", - "search": "candidate-connections", - "stage0_query_language_frontends": { + }, "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": null, + "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", - "operator": { + "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": [], @@ -112,9 +308,30 @@ } } } + } + }, + { + "guarantee": { + "provenance": [ + { + "kind": "exact", + "reason": "exact over exact inputs" + } + ], + "spec": { + "accuracy_metric": "absolute", + "accuracy_scope": "per_value", + "error": { + "op": "zero" + }, + "failure_probability": { + "op": "zero" + } + } }, - "result_kind": "instant_vector", - "schema": { + "id": 1, + "materialization": "NotMaterialized", + "output_schema": { "closed": true, "fields": [ { @@ -150,12 +367,11 @@ ] ] }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { "NonASAP": { "TimeRange": { "child": 0, @@ -166,72 +382,84 @@ } } } - }, - "result_kind": "instant_vector", - "schema": { + } + }, + { + "guarantee": null, + "id": 2, + "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" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, - "unique_keys": [ - [ - 2, - 0 - ] - ] + "time_index": null, + "unique_keys": [] }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "Aggregate": { + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "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" + } + } }, - "result_kind": "instant_vector", - "schema": { + "id": 3, + "materialization": "NotMaterialized", + "output_schema": { "closed": true, "fields": [ { @@ -246,967 +474,24 @@ "time_index": null, "unique_keys": [] }, - "timing": null - } - ], - "roots": [ - { - "Operator": 2 - } - ] - } - }, - "stage1_logical_asap_optimization": { - "candidates": [ - { - "dag": { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "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" - } - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": { - "provenance": [ - { - "kind": "exact", - "reason": "exact over exact inputs" - } - ], - "spec": { - "accuracy_metric": "absolute", - "accuracy_scope": "per_value", - "error": { - "op": "zero" - }, - "failure_probability": { - "op": "zero" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "instant", - "range": { - "nanos": 0, - "secs": 1 - } - } - } - }, - "result_kind": "instant_vector", - "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 - ] - ] - }, - "timing": null - }, - { - "guarantee": null, - "materialization": "NotMaterialized", - "operator": { - "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": [] - } - } - } - }, - "result_kind": "state", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - }, - { - "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" - } - } - }, - "materialization": "NotMaterialized", - "operator": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - }, - "result_kind": "instant_vector", - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [] - }, - "timing": null - } - ], - "roots": [ - { - "Operator": 3 - } - ] - }, - "display_name": "Q1 Sum acc", - "id": "joint-logical-1" - } - ], - "capped": false, - "combinations": 1, - "pass1_pruned": [] - }, - "stage2_physical_asap_optimization": { - "candidates": [ - { - "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", - "from_logical": "joint-logical-1", - "id": "joint-plan-1" - } - ], - "pruned": [] - }, - "stage3_plan_selection": { - "accepted": { - "joint-plan-1": [ - { - "accepted_metric": null, - "accepted_regardless_of_guarantee": false, - "guarantee_check_rejection": null, - "sketches": [], - "summary": "metric not set; accepted exact", - "target_metric": null - } - ] - }, - "costs": { - "joint-plan-1": { - "cost_per_second": 0.00630435009456525, - "cost_unit": "cost_per_second", - "cpu_core_seconds_per_second": 6.304349999999999e-6, - "per_node": { - "0": { - "cost_per_second": 0.0042700000252174, - "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.0010166666918840666, - "cpu_core_seconds_per_second": 1.0166666666666663e-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", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "2": { - "cost_per_second": 0.0010166667107971163, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0166666666666663e-6, - "cpu_core_seconds_per_second": 1.0166666666666663e-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.0007565219999999999, - "cpu_ops_per_second": 3051.016666666667, - "disk_bytes": 32000, - "latency_per_query": [ - { - "compaction_ms": 0.0, - "query_ms": 0.006201 + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } } - ], - "peak_cpu_cores": 1, - "peak_memory_bytes": 120, - "scanned_bytes_per_second": 32533.333333333332 - } - } - }, - "front": [], - "pane_retention_ms": {}, - "rejected": [], - "rejected_by_cause": {}, - "search": { - "algorithm": "candidate-connections", - "candidate_connections": { - "calibration_factor": 1.0, - "calibration_scope": "not_required", - "catalog_exhausted": null, - "catalog_scope": "Pass 1, local panes, shared summary/pane states, exact and sketch rollups, compatible TopK ranking reuse, and scan widening; finite capacity, pane-width, horizon, materialization and execution-scope configurations", - "certified_query_cuts": 0, - "compatible_connections": 3, - "direct_cost_best_validated_cost": 0.00630435009456525, - "direct_cost_fallback_reasons": [], - "direct_cost_solve_calls": 1, - "direct_cost_validated_plans": 1, - "early_query_pruning_counts": { - "choices_checked": 0, - "choices_removed": 0, - "final_choices_retained": 0, - "non_summary_choices_retained": 0, - "queries_skipped": 1, - "shared_producer_choices_retained": 0 - }, - "early_query_pruning_examples": [], - "evaluation_complete": null, - "full_catalog_completed": true, - "groups": 3, - "immediate_candidates": 4, - "independent_components": 1, - "inventory_pane_width_domain": "Complete", - "joint_price_solve_calls": 1, - "logical_candidates": 3, - "lower_bound": 0.00630435009456525, - "max_refinements": 128, - "objective": "monetary_cost", - "output_references": 1, - "pane_width_rounds": [ - "Complete" - ], - "pane_widths_pending": false, - "peak_milp_constraints": 89, - "peak_milp_variables": 40, - "physical_configurations": 4, - "refinements": 1, - "relative_gap": 0.0, - "rounded_down_cost_bounds": 0, - "seed_fallback_reason": null, - "seed_selected": false, - "solve_calls": 3, - "status": "optimal", - "stored_supplier_ids": 3, - "structurally_removed_candidates": 4, - "structurally_removed_connections": 3, - "supplier_sets": 3, - "validation_rejection_counts": {}, - "validation_rejection_examples": [] - }, - "candidates_checked": 1, - "incumbent_cost": 0.00630435009456525, - "runner_up_cost_per_second": null - }, - "search_rejected": [], - "selected": "joint-plan-1", - "stored_outputs": [] - }, - "workload": { - "data_workload": { - "arrival": { - "ingesting": { - "rows_per_second": 7000.0 - } - }, - "sources": { - "http_request_duration_seconds_bucket": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "http_requests_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_cpu_seconds_total": { - "max_distinct_per_evaluation": null, - "metric_type": "counter", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "process_resident_memory_bytes": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_cache_refresh_lag_seconds": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "service_retry_queue_depth": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null - }, - "up": { - "max_distinct_per_evaluation": null, - "metric_type": "gauge", - "sample_interval": 1000, - "series_count": 1000, - "stream_norms": null + } } - } + ], + "roots": [ + 3 + ], + "scalar_roots": [] }, - "queries": [ - { - "id": "q1", - "language": "promql", - "predictability": { - "predictable": { - "known_at": null - } - }, - "recurrence": { - "repeated": { - "fixed_interval": 60000 - } - }, - "requirements": { - "accuracy": { - "accuracy_scope": "whole_result", - "failure_probability": 0.001, - "max_error": 0.01 - }, - "default_metric": "absolute", - "range_evaluation": { - "span_ms": 3600000, - "step_ms": 60000 - }, - "repeat_interval_ms": 60000 - }, - "text": "sum(up)" - } - ] + "display_name": "Q1 Sum acc" } } diff --git a/docs/develop_docs/planner-snapshots.md b/docs/develop_docs/planner-snapshots.md index 344696eaa..c701ed9fe 100644 --- a/docs/develop_docs/planner-snapshots.md +++ b/docs/develop_docs/planner-snapshots.md @@ -1,10 +1,10 @@ # Planner snapshots The planner has no reference answer to test against, so CI pins what it -produces. For each query in a corpus, the `stage_pipeline` document (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. +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 @@ -12,14 +12,36 @@ change is explained. - `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. -- `.json`: that query's snapshot. It is the `stage_pipeline` document, - pretty-printed with sorted keys and without the search report's timings. + with a stable `id`. Each query is planned on its own. A query with a + `known_slow` 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 is +left out: candidate ids (such as `pane-round-12-joint-plan-1`), the search +report's counters, bounds, status 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 as the `corpus-snapshots` artifact. +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: @@ -28,19 +50,19 @@ UPDATE_SNAPSHOTS=1 cargo test --release -p asap-devtools --test corpus_snapshots ``` Then list each changed query and why it changed under **Snapshot changes** in -the PR description. To inspect a plan, open the snapshot in -[`tools/dag-viewer`](../../tools/dag-viewer/README.md). +the PR description. The test also fails, instead of recording a snapshot, in these cases: -- A query's search was ended by the wall-clock time limit. Its plan would then +- A query's search was ended by a wall-clock budget: its status is + `time_limit`, or planning used the whole 120 s limit. Its plan would then depend on machine speed. -- A snapshot file has no matching query in `corpus.json`. +- 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 -the snapshots stay identical. Keep each query under about 10 s and 500 MB with -a release build. Heavier queries belong in a separate, non-blocking job. +it passes each time. Keep each query well under the 120 s limit on one core +with a release build; otherwise mark it `known_slow` with the reason. From b8791aaed92ab9be8a9b21493e7b87c4c07907fb Mon Sep 17 00:00:00 2001 From: zzylol <50204836+zzylol@users.noreply.github.com> Date: Thu, 29 Oct 2026 03:29:08 +0000 Subject: [PATCH 7/7] test(devtools): 240 s per query, skip_reason, document the final-round status check Co-Authored-By: Claude Opus 5.5 --- .github/workflows/rust.yml | 2 +- crates/devtools/tests/corpus_snapshots.rs | 15 ++++++++------- .../corpus_snapshots/o11y_bench/corpus.json | 4 ++-- docs/develop_docs/planner-snapshots.md | 17 +++++++++-------- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ff7e64d83..199d810c1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -157,7 +157,7 @@ jobs: 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 120 s. + # query stops at 240 s. timeout-minutes: 45 steps: - uses: actions/checkout@v4 diff --git a/crates/devtools/tests/corpus_snapshots.rs b/crates/devtools/tests/corpus_snapshots.rs index 4f59518d4..9ffb1627f 100644 --- a/crates/devtools/tests/corpus_snapshots.rs +++ b/crates/devtools/tests/corpus_snapshots.rs @@ -18,7 +18,7 @@ //! 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 marked `known_slow` in the manifest is +//! of being recorded, and a query with a `skip_reason` in the manifest is //! skipped. use std::path::{Path, PathBuf}; @@ -26,9 +26,9 @@ use std::process::Command; use serde_json::{json, Map, Value}; -/// Per query. The slowest kept query takes about 60 s on one core, so this +/// 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 = "120"; +const TIME_LIMIT_S: &str = "240"; fn corpora_dir() -> PathBuf { PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests/corpus_snapshots") @@ -70,8 +70,9 @@ fn plan(workload: &Value, args: &[String], scratch: &Path) -> Value { serde_json::from_str(&std::fs::read_to_string(output).unwrap()).unwrap() } -/// Whether the wall-clock budget ended the search: the report says so, or -/// planning used the whole budget. +/// 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" { @@ -214,12 +215,12 @@ fn corpus_plans_match_snapshots() { .unwrap(); let args: Vec = serde_json::from_value(corpus["stage_pipeline_args"].clone()).unwrap(); - // A `known_slow` query (its value says why) is not planned. + // A query with a `skip_reason` is not planned. let queries: Vec<&Value> = corpus["queries"] .as_array() .unwrap() .iter() - .filter(|q| q.get("known_slow").is_none()) + .filter(|q| q.get("skip_reason").is_none()) .collect(); let ids: Vec<&str> = queries.iter().map(|q| q["id"].as_str().unwrap()).collect(); diff --git a/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json b/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json index d2b5c5547..1b55ea4d7 100644 --- a/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json +++ b/crates/devtools/tests/corpus_snapshots/o11y_bench/corpus.json @@ -94,7 +94,7 @@ { "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))", - "known_slow": "planning runs past the time limit on main (#1023)" + "skip_reason": "planning runs past the time limit on main (#1023)" }, { "id": "q19", @@ -107,7 +107,7 @@ { "id": "q21", "query": "sum(rate(http_requests_total{job=\"order-service\"}[5m] offset 1h))", - "known_slow": "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" + "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", diff --git a/docs/develop_docs/planner-snapshots.md b/docs/develop_docs/planner-snapshots.md index c701ed9fe..2a690ed1b 100644 --- a/docs/develop_docs/planner-snapshots.md +++ b/docs/develop_docs/planner-snapshots.md @@ -13,7 +13,7 @@ and the change is explained. - `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 - `known_slow` entry (saying why) is skipped and has no snapshot. + `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 @@ -29,9 +29,9 @@ Only the plan, which must not change between runs: - 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 is -left out: candidate ids (such as `pane-round-12-joint-plan-1`), the search -report's counters, bounds, status and timings, the Stage 1 and Stage 2 +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. @@ -55,8 +55,9 @@ 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 120 s limit. Its plan would then - depend on machine speed. + `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. @@ -64,5 +65,5 @@ The test also fails, instead of recording a snapshot, in these cases: 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 120 s limit on one core -with a release build; otherwise mark it `known_slow` with the reason. +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`.