omnigraph/crates/omnigraph-server/src
Ragnor Comerford dedb633c62
mr-668: emit info! for graph routing decision
`tracing::Span::current().record("graph_id", ...)` in the routing
middleware silently no-ops here: no upstream `#[tracing::instrument]`
on the handlers declares a `graph_id` field, and `TraceLayer::new_for_http`
doesn't either. The recorded value never lands anywhere visible.

Replace with an explicit `info!(graph_id = %handle.key.graph_id,
"graph routed")` event so operators can grep logs and correlate
requests with the active graph. In single mode the value is the
sentinel `"default"`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 12:04:31 +02:00
..
api.rs mr-668: comment cleanup and policy format style 2026-05-27 11:57:04 +02:00
auth.rs Add aws feature + SecretsManagerTokenSource backend 2026-04-18 03:48:51 +03:00
config.rs mr-668: remove POST /graphs and CLI graphs create (defer runtime graph mgmt) 2026-05-26 17:49:38 +02:00
graph_id.rs mr-668: add GraphId newtype + Cloud-mode forward identity stubs (PR 1/10) 2026-05-25 18:51:49 +02:00
identity.rs mr-668: add GraphId newtype + Cloud-mode forward identity stubs (PR 1/10) 2026-05-25 18:51:49 +02:00
lib.rs mr-668: emit info! for graph routing decision 2026-05-27 12:04:31 +02:00
main.rs Rename repo terminology to graph (#118) 2026-05-24 16:46:00 +01:00
policy.rs policy: chassis core — omnigraph-policy crate + Omnigraph::enforce() (MR-722) (#102) 2026-05-18 00:36:36 +03:00
registry.rs mr-668: derive any_per_graph_policy on RegistrySnapshot; simplify dup check 2026-05-27 12:02:51 +02:00
workload.rs server: drop unwired try_admit_rewrite / 503 admission surface 2026-05-09 20:58:17 +00:00