Skip to content

No metrics appeared on graphql version "1.12.21" with deprecated behaviours. #7

Open
@ngergis

Description

@ngergis

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions