Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions control_plane/proto/control_plane.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,12 @@ message BackendCollectorConfig {
repeated string group_by = 2;
}

message PrecomputeJob {
string query_expr = 1;
google.protobuf.Duration granularity = 2;
string sketch_source = 3;
string store_path = 4;
}

message CollectionPlan {
AgentCollectorConfig agent_config = 1;
GatewayCollectorConfig gateway_config = 2;
BackendCollectorConfig backend_config = 3;
repeated PrecomputeJob precompute = 4;
reserved 4;
reserved "precompute";
google.protobuf.Timestamp valid_until = 5;
}

Expand Down
3 changes: 0 additions & 3 deletions control_plane/src/emit/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
//! | `config/backend.rs` | *retired — emitted YAML for a "backend-role" OTel merge collector tier that was never deployed; superseded by the typed L5's [`stage_config::emit_backend_streaming_config_json`] which posts to asapquery-backend's precompute engine over HTTP* |
//! | `config/asapquery_backend.rs` | *retired — `generate_streaming_config_yaml` was the legacy single-aggregation `CollectionPlan`-shaped emitter for `POST /api/v1/streaming-config`; under the data plane's atomic `handle.swap(new_config)` it would WIPE sibling `(metric, role)` aggregations on every fire. Replaced by [`backend_push::post_typed_backend_for_role`], which posts a cumulative typed `BackendStageConfig` derived from the shared per-`(metric, role)` cache* |
//! | *(new)* | [`backend_push`] |
//! | `config/precompute.rs` | [`precompute`] |
//! | `config/stage_config.rs` | [`stage_config`] (TODO: split into `opamp` + `streaming_config` + `inference_config` per design.md §5; deferred from refactor 2026-05 because the 3,020-line monolith mixes OTel-collector YAML emit, ASAPQuery-backend JSON emit, and shared internals — clean split needs ownership reorganisation, not file renames) |
//! | `config/stage_config_otap.rs` | [`otap`] |
//! | `config/stage_config_telegraf.rs` | [`telegraf`] |
Expand All @@ -20,7 +19,6 @@ pub mod agent;
pub mod backend_push;
pub mod monitor;
pub mod otap;
pub mod precompute;
pub mod stage_config;
pub mod telegraf;

Expand All @@ -29,7 +27,6 @@ pub use backend_push::{
post_typed_backend_for_role, repost_cumulative_backend_config, BackendRoutingCache, PushOutcome,
};
pub use otap::emit_otap_dag_yaml;
pub use precompute::{build_precompute_engine_jobs, should_precompute, PrecomputeClient};
pub use stage_config::{
emit_backend_storage_routing, emit_backend_storage_routing_for_tenant,
emit_backend_storage_routing_with_prometheus,
Expand Down
323 changes: 0 additions & 323 deletions control_plane/src/emit/precompute.rs

This file was deleted.

Loading
Loading