Skip to content

Commit

Permalink
remove datadog tracing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed May 20, 2019
1 parent b597186 commit e456486
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ gem 'graphql', '~> 1.9', '>= 1.9.4'
gem 'graphql-errors', '~> 0.3.0'
gem 'graphql-batch', '~> 0.4.0'
gem 'graphql-cache', '~> 0.6.0', git: "https://github.com/stackshareio/graphql-cache"
gem 'ddtrace', '~> 0.23.3'
# gem 'ddtrace', '~> 0.23.3'

group :development, :test do
gem 'rspec-rails', '~> 3.8', '>= 3.8.2'
Expand Down
9 changes: 1 addition & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,13 @@ GEM
builder (3.2.3)
byebug (11.0.1)
cancancan (2.3.0)
capybara (3.20.1)
capybara (3.20.2)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.2)
uglifier
xpath (~> 3.2)
case_transform (0.2)
activesupport
Expand Down Expand Up @@ -176,8 +175,6 @@ GEM
addressable
dalli (2.7.10)
database_cleaner (1.7.0)
ddtrace (0.23.3)
msgpack
debug_inspector (0.0.3)
diff-lcs (1.3)
diffy (3.3.0)
Expand Down Expand Up @@ -211,7 +208,6 @@ GEM
nokogiri (>= 1.4.3)
erubi (1.8.0)
excon (0.64.0)
execjs (2.7.0)
facets (3.1.0)
factory_bot (4.11.1)
activesupport (>= 3.0.0)
Expand Down Expand Up @@ -514,8 +510,6 @@ GEM
tilt (>= 1.4, < 3)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (4.1.20)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.6)
Expand Down Expand Up @@ -558,7 +552,6 @@ DEPENDENCIES
country_select (~> 3.1)
dalli (~> 2.7, >= 2.7.6)
database_cleaner
ddtrace (~> 0.23.3)
diffy (~> 3.2, >= 3.2.1)
dotenv
elasticsearch-extensions (~> 0.0.29)
Expand Down
10 changes: 5 additions & 5 deletions config/initializers/datadog.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# frozen_string_literal: true

require "ddtrace"
# require "ddtrace"

Datadog.configure do |c|
# This will activate auto-instrumentation for Rails
c.use :rails, service_name: "client-api"
end
# Datadog.configure do |c|
# # This will activate auto-instrumentation for Rails
# c.use :rails, service_name: "client-api"
# end

0 comments on commit e456486

Please sign in to comment.