-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphQL Apollo Server #14
Comments
Here is a PoC with using the Apollo Server |
According to @hekike if a request comes in on http, and apollo looks into a couple data stores (say mysql, a http api, and a mongodb) then isn't it sufficient to instrument the underlying transports? What value is gained in this case from instrumenting apollo directly? |
The mapping between GraphQL resolvers and data sources like MongoDB won't be 1:1 mapping. |
With a few nits, the PoC looks good. Is there anything I can do to help move it along? |
We're trying to move away from hosting all possible plugins in this repo. In the future we plan to have a |
I'm moving the issue on the contrib repository, if someone has a implementation feel free to open up a PR over there so we can merge it ! |
What's the status on this effort? I'm also looking at integrating OpenTelemetry into a GraphQL implementation using apollo-server. |
As far as I'm aware, nobody is working on this right now |
@jon-whit are you working on that ? |
ok it looks like no1 is working on that, I'm taking over it |
Hi @obecny just a suggestion, it would be great to support from GraphQL.js level, so it does not matter which GraphQL framework people are using. 😀 |
@hongbo-miao yes that's exactly what will be doing |
@obecny how's this work coming along? Anything that I can help with? My team and I are looking to expedite this process a bit. We really would love to have this. |
@jon-whit in progress (graphql first), FYI to be able to patch graphql I had to refactor plugin instrumentation too which was done, without this such plugin could not be done. |
Is your plugin request related to a problem? Please describe.
GraphQL batches multiple queries and entities as a data access protocol into a single HTTP request.
In the background, the GraphQL server will run multiple so-called resolvers that return data for a specific chunk of the graph to fulfill these GraphQL queries. Resolvers can run parallel and depend on each other while they usually fetch data from downstream services or from databases using data-loader concept which makes the data orchestration even more complex. Understanding this execution with timing and error is crucial to debug and optimize GraphQL servers.
Apollo Server is probably the most popular library to run GraphQL in production.
Commercial alternative for GraphQL Apollo Tracing
https://blog.apollographql.com/the-new-trace-view-in-apollo-engine-566b25bdfdb0
Is it applicable for Node or Browser or both
Node.js only.
Do you expect this plugin to be commonly used
Yes
Weekly Downloads: don't know the exact number
Additional context
The text was updated successfully, but these errors were encountered: