router
router copied to clipboard
A configurable, high-performance routing runtime for Apollo Federation 🚀
**Describe the bug** In production a router process serves hundreds of requests per second; when it hot reloads because the supergraph has been refreshed, a few requests get 502s from...
version 0.14 of cargo-scaffold no longer clones the entire git repository, [it only gets the latest state of the tree](https://github.com/iomentum/cargo-scaffold/pull/54) at the targeted reference. --- **Checklist** Complete the checklist (and...
This PR adds a new metric, `apollo_router_reload` to track when the router **actually** reloads, versus only having state change events. This metric has tags to verify which event caused the...
_Reopening https://github.com/apollographql/router/pull/4902 that was reverted in https://github.com/apollographql/router/pull/5068 because we wanted to ship a more coherent list of coprocessor changes_ Fix https://github.com/apollographql/router/issues/3297 This adds a new detached option at all coprocessor...
_Reopening https://github.com/apollographql/router/pull/5005 that was reverted in #5068 because we wanted to ship a more coherent list of coprocessor changes_ This makes it possible to have different coprocessor URLs per stage....
To prepare the migration to hyper 1.0, this PR isolates uses of hyper's types in the Router, to make sure that we do not get stuck updating it all over...
If a metric has too high a cardinality the following is currently output at error level: `OpenTelemetry metric error occurred: Metrics error: Warning: Maximum data points for metric stream exceeded/...
In https://github.com/apollographql/router/blob/dev/apollo-router/src/axum_factory/axum_http_server_factory.rs#L666-L681 we are returning non-graphql errors. This should never be the case inside `handle_graphql`. ``` if let Some(source_err) = err.source() { if source_err.is::() { return RateLimited::new().into_response(); } if source_err.is::()...
Adds a new experimental configuration to support enhanced signature generation. The changes are: Remove some hacks and quirks of the JS implementation related to properly sorting everything and using commas...
The latest Router version [v1.46.0](https://github.com/apollographql/router/releases/tag/v1.46.0) appears to be requiring high memory compared to previous versions. **To Reproduce** Steps to reproduce the behavior: ### Version 1.46.0 - High Memory Usage Brach...