Sha256: 02782fff9054d1f4dea054ae090c6ac96d44a7338cd09723e7d575d5b59ff1b8
Contents?: true
Size: 872 Bytes
Versions: 35
Compression:
Stored size: 872 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/graphql/configuration/settings' require 'ddtrace/contrib/graphql/patcher' module Datadog module Contrib module GraphQL # Description of GraphQL integration class Integration include Contrib::Integration register_as :graphql, auto_patch: true def self.version Gem.loaded_specs['graphql'] && Gem.loaded_specs['graphql'].version end def self.present? super && defined?(::GraphQL) end def self.compatible? super \ && defined?(::GraphQL::Tracing::DataDogTracing) \ && version >= Gem::Version.new('1.7.9') end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end
Version data entries
35 entries across 35 versions & 2 rubygems