Merge pull request #10265 from tchak/yabeda-graphql

chore(yabeda): add graphql metrics
This commit is contained in:
Paul Chavard 2024-04-22 08:21:51 +00:00 committed by GitHub
commit 7d4148202c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 32 additions and 1 deletions

View file

@ -147,6 +147,7 @@ class API::V2::Schema < GraphQL::Schema
use Timeout, max_seconds: 30
use GraphQL::Batch
use GraphQL::Backtrace
use Yabeda::GraphQL
if Rails.env.development?
class LogQueryDepth < GraphQL::Analysis::AST::QueryDepth