feat: distinguish UPSTREAM vs FORWARD in logs and stats #103
Reference in New Issue
Block a user
Delete Branch "feat/upstream-log-label"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
[[forwarding]]suffix rule keep logging asFORWARD; queries resolved via the default[upstream]pool now log asUPSTREAM. Previously both sharedFORWARD, making it impossible to tell from logs whether a rule matched.QueryPath::Upstream, aqueries.upstreamcounter in/stats, and matching dashboard filter / bar / tag.Test plan
cargo test --lib(285 pass, +1 new —pipeline_default_pool_reports_upstream_path)cargo clippy --all-targets(no new warnings)[[forwarding]]rule and one that doesn't; confirm log labels differ./statsexposesqueries.upstreamalongsidequeries.forwarded.Upstreamrow appears in the path chart;upstreamfilter works in Recent Queries.Out of scope
Items (1), (2), (4) from #102 — tracked separately.