[GraphQL] use official skylight support
This commit is contained in:
parent
f7128e81da
commit
7478a51846
3 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -73,5 +73,4 @@ class Api::V2::Schema < GraphQL::Schema
|
|||
end
|
||||
|
||||
use GraphQL::Batch
|
||||
use GraphQL::Tracing::SkylightTracing
|
||||
end
|
||||
|
|
|
@ -49,5 +49,7 @@ module TPS
|
|||
debounce_delay: 3000,
|
||||
status_visible_duration: 6000
|
||||
}
|
||||
|
||||
config.skylight.probes += [:graphql]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue