[GraphQL] use official skylight support

This commit is contained in:
Paul Chavard 2019-12-05 08:48:51 +01:00 committed by Pierre de La Morinerie
parent f7128e81da
commit 7478a51846
3 changed files with 5 additions and 4 deletions

View file

@ -614,9 +614,9 @@ GEM
rack (~> 2.0)
rack-protection (= 2.0.5)
tilt (~> 2.0)
skylight (3.1.2)
skylight-core (= 3.1.2)
skylight-core (3.1.2)
skylight (4.2.1)
skylight-core (= 4.2.1)
skylight-core (4.2.1)
activesupport (>= 4.2.0)
smart_listing (1.2.2)
coffee-rails

View file

@ -73,5 +73,4 @@ class Api::V2::Schema < GraphQL::Schema
end
use GraphQL::Batch
use GraphQL::Tracing::SkylightTracing
end

View file

@ -49,5 +49,7 @@ module TPS
debounce_delay: 3000,
status_visible_duration: 6000
}
config.skylight.probes += [:graphql]
end
end