You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use yabeda-graphql and yabeda-prometheus on ruby on rails application with graphql. The problem is there is no grapphql metrics appears.
I am using graphql version "1.12.21" but when it is upgraded from "1.10.9" to "1.12.21", there was problem of deprecated behaviours, for that reason we added these 2 lines to our schema as workaround till we rework all deprecated code:
use GraphQL::Execution::Execute use GraphQL::Analysis
When I tried to use graphql "1.10.9" and remove those 2 lines, the yabeda-graphql works and start to add graphql metrics from running queries.
My Question: Do you think there is an workaround that makes it works without downgrade graphql?
I am not familiar about exactly what these 2 lines do and why they cause that issue. Appreciate your help!
Thanks!
The text was updated successfully, but these errors were encountered:
That's weird. It seems that you upgrade to 1.12 and then switch off newer Interpreter mode (which became the default in 1.12) and using legacy executor instead (the same is in 1.10). yabeda-graphql worked both with and without interpreter, but we stopped to test against non-interpreter mode a while ago.
I can confirm that adding these two use directives makes yabeda-graphql tests to fail. So at least it is reproducible.
Hi There,
I tried to use yabeda-graphql and yabeda-prometheus on ruby on rails application with graphql. The problem is there is no grapphql metrics appears.
I am using graphql version "1.12.21" but when it is upgraded from "1.10.9" to "1.12.21", there was problem of deprecated behaviours, for that reason we added these 2 lines to our schema as workaround till we rework all deprecated code:
use GraphQL::Execution::Execute
use GraphQL::Analysis
When I tried to use graphql "1.10.9" and remove those 2 lines, the yabeda-graphql works and start to add graphql metrics from running queries.
My Question: Do you think there is an workaround that makes it works without downgrade graphql?
I am not familiar about exactly what these 2 lines do and why they cause that issue. Appreciate your help!
Thanks!
The text was updated successfully, but these errors were encountered: