Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed Workling instrumentation in favor of https://github.com/auror…

  • Loading branch information...
commit 22441d0d5d12fddb5cec39911addef609e9f5a2e 1 parent c96af4f
@samg samg authored
View
14 README.md
@@ -36,10 +36,16 @@ https://github.com/Viximo/newrelic-faraday
#### Riak-Client and Ripple
-Riak client and ripple instrumenatation are available at:
+Riak client and ripple instrumentation are available at:
https://github.com/alinpopa/newrelic-riak
+#### Workling
+
+Workling instrumenatation can be found at:
+
+https://github.com/aurorafeint/newrelic-workling
+
## Getting Started
@@ -190,12 +196,6 @@ This adds basic instrumentation to the `run` and `results` method of Ultrasphinx
You can disable it with `disable_ultrasphinx` in your newrelic.yml file.
-### Workling
-
-This adds instrumentation to the Workling::Base and all children, for all defined public methods not inherited from the Workling::Base class
-
-You can disable it with `disable_workling` in your newrelic.yml file.
-
### YAJL
This adds instrumentation to the YAJL json parser
View
27 lib/rpm_contrib/instrumentation/workling.rb
@@ -1,27 +0,0 @@
-# Workling instrumentation contributed by Chad Ingram of Aurora Feint
-#
-DependencyDetection.defer do
- @name = :workling
-
- depends_on do
- defined?(::Workling) and not ::NewRelic::Control.instance['disable_workling']
- end
-
- executes do
- NewRelic::Agent.logger.debug 'Installing Workling instrumentation'
- end
-
- executes do
- ::Workling::Base.class_eval do
- include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation
- end
-
- ::Workling::Discovery.discovered.each do |clazz|
- (clazz.public_instance_methods - ::Workling::Base.public_instance_methods).each do |method|
- puts "added method tracer Workling/#{clazz.name}/#{method}"
- clazz.send(:add_method_tracer, method, "Workling/#{clazz.name}/#{method}", :category => :task)
- end
- end
- end
-
-end
View
34 test/test_workling.rb
@@ -1,34 +0,0 @@
-require "#{File.dirname(__FILE__)}/helper"
-begin
- require 'redis'
- require 'ruby-debug'
-rescue LoadError
-end
-
-require "#{File.dirname(__FILE__)}/../lib/rpm_contrib/instrumentation/workling"
-
-if defined?(::Workling)
-
-
- class WorklingTest < Test::Unit::TestCase
-
- # Called before every test method runs. Can be used
- # to set up fixture information.
- def setup
- # Do nothing
- end
-
- # Called after every test method runs. Can be used to tear
- # down fixture information.
-
- def teardown
- # Do nothing
- end
-
- # Fake test
- def test_fail
-
-
- end
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.