apollographql / federation

🌐  Build and scale a single data graph across multiple services with Apollo's federation gateway.
https://apollographql.com/docs/federation/
Other
666 stars 251 forks source link

Tracing breaks query plan viewing #352

Open fernandobandeira opened 5 years ago

fernandobandeira commented 5 years ago

If tracing is enabled, then the query plan isn't returned by the gateway.

Steps to reproduce

  1. Clone https://github.com/apollographql/federation-demo;
  2. Change gateway.js#L16 to const server = new ApolloServer({ schema, executor, tracing: true });;
  3. The query plan doesn't appear anymore on Playground.
Other issues

Tracing only shows the request and response ms, it's not displaying per field, query, type and so on =/

jhampton commented 5 years ago

Do you know if this still an issue @abernix and @jbaxleyiii? I may have encountered an instance of this today, but I'm not sure and I don't understand the cause.

Bellk17 commented 5 years ago

I am currently having this issue as well.

image

dncrews commented 4 years ago

This has been a problem with us since day 1 of federation. We can either use tracing or we can use the Query Plan, and ~we need tracing for Apollo Engine to work, I believe~(looks like this isn't true anymore, but I missed that in the migration).

brockgibson commented 4 years ago

Any updates on this one?

harbolaez commented 4 years ago

any update on this issue?

Glen-Moonpig commented 4 years ago

Any Up Dates On This ?

mmuth commented 4 years ago

That would still be a nice feature :)