Skip to content
This repository has been archived by the owner on Mar 14, 2018. It is now read-only.

Commit

Permalink
remove AppSignal instrumentation, too
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Aug 21, 2016
1 parent caebaaf commit 57d5b88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bundler_api/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def json_payload(payload)
content_type 'application/octet-stream'

deps = with_metriks { get_cached_dependencies }
ActiveSupport::Notifications.instrument('marshal.deps') { Marshal.dump(deps) }
Marshal.dump(deps)
end

get "/api/v1/dependencies.json" do
Expand All @@ -112,7 +112,7 @@ def json_payload(payload)
content_type 'application/json;charset=UTF-8'

deps = with_metriks { get_cached_dependencies }
ActiveSupport::Notifications.instrument('json.deps') { deps.to_json }
deps.to_json
end

post "/api/v1/add_spec.json" do
Expand Down

0 comments on commit 57d5b88

Please sign in to comment.