Comments (3)
@samjcombs what would that metric actually represent? My understanding is that apollo_router_processing_time
does include time spent planning, but it only includes the time actually spent waiting for the plan to be ready for that specific request, which does seem to align with "exactly how much time requests are spent in Router". That seems like the important metric to track when it comes to overhead per request.
Edit: worth noting that even the planning_time is not exactly what we'd think it is at first glance: apollographql/federation-rs#455
from router.
Ahh, thanks for confirming that
time actually spent waiting for the plan to be ready
is included in processing_time
I got misled by looking at p99s instead of max for processing_time. Requests that wait for query plans are likely well below 1% of all requests, so I was "missing" it.
Thanks for the clarification here!
from router.
Closing this feature request as obsolete because time spent waiting for query planning is included in processing_time.
(Verified just now comparing max processing_time to max query planning time and they line up perfectly)
This would also catch any super-long query plans that require multiple requests to plan. Thanks, @xuorig, for the help here.
from router.
Related Issues (20)
- Include `request` span in spec_compliant mode HOT 14
- Support encryption for the entity redis cache
- External Coprocessor: Support for connections to be made with h2c (http2 cleartext/prior knowledge) and/or Unix Domain Sockets
- Extremely slow parse times can cause the router to stop serving requests
- http.server.response.body.size metric is not working properly
- Warm up query plan cache at boot using persisted queries
- rhai: `status_code` is not accessible for router, supergraph and execution services
- Error message for invalid 'content-type' in subgraph response doesn't provide enough information
- response formatting: add nullification in the errors field in case of invalid value
- MockSupergraph is not called during test HOT 2
- Consistent trace id HOT 2
- New propagation configuration
- Propagate errors from subgraph without hiding HOT 1
- Parsing Failure with Variables in Fragments of Non-Executed Queries in the Same Payload HOT 1
- Rhai: Allow setting or overriding request port
- telemetry: specific events attributes configured in custom telemetry won't be displayed if the trace is not sampled
- Using Grpc protocol in the router to communicate with the federated services
- Websocket protocol name is misnamed for subscription HOT 1
- Update Xcode to 15.1.0 or above
- Give to standard events the ability to be displayed conditionally
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from router.