swarm-controller: move the observability concern into its own module
Refs #6897
This commit is contained in:
parent
9b2ba275d8
commit
cd8feedf73
1 changed files with 32 additions and 27 deletions
|
|
@ -45,7 +45,6 @@ mod agent_status;
|
|||
mod agent_todos;
|
||||
mod agents_md;
|
||||
mod agents_md_initial;
|
||||
mod alerts;
|
||||
mod archetypes;
|
||||
mod archive_access;
|
||||
mod attic_copy;
|
||||
|
|
@ -63,7 +62,6 @@ mod egress_allow;
|
|||
mod egress_deny;
|
||||
mod forge;
|
||||
mod forge_events;
|
||||
mod held_deploys;
|
||||
mod inference;
|
||||
mod issue_report;
|
||||
mod jobq;
|
||||
|
|
@ -71,8 +69,8 @@ mod message_stream;
|
|||
mod meta_build;
|
||||
mod meta_fanout;
|
||||
mod meta_flake;
|
||||
mod observability;
|
||||
mod observability_grant;
|
||||
mod otel_http_client;
|
||||
mod pause_hold;
|
||||
mod pr_conflicts;
|
||||
mod pr_report;
|
||||
|
|
@ -92,15 +90,15 @@ mod tcp_tls;
|
|||
mod term_stream;
|
||||
#[cfg(test)]
|
||||
mod test_nats;
|
||||
mod vcs_metrics;
|
||||
mod wanted;
|
||||
mod webhook;
|
||||
|
||||
// The accounts and review modules keep their crate-root paths (`crate::matrix_account::…`).
|
||||
// The accounts, observability and review modules keep their crate-root paths (`crate::matrix_account::…`).
|
||||
use accounts::{
|
||||
forge_account, github_account, gitlab_account, link_egress, linked_accounts, matrix_account,
|
||||
};
|
||||
use jobq::{Late, WorkerDeps, spawn_jobq_worker};
|
||||
use observability::{alerts, held_deploys, otel_http_client, vcs_metrics};
|
||||
use review::{notify_flows, notify_router_api, request_reviewer, review_classifier};
|
||||
use routes::AppState;
|
||||
use startup::{
|
||||
|
|
|
|||
Loading…
Reference in a new issue