Sha256: f4adbdde591df8e04c277eb991873aaa55a00ced5bc8e300d891780f5b550377
Contents?: true
Size: 621 Bytes
Versions: 3
Compression:
Stored size: 621 Bytes
Contents
namespace :newrelic do desc "compare routes with recent new relic usage" task :compare_with_routes => :environment do file = 'tmp/controller_summary.csv' unless File.exist?(file) raise "You must have #{file} to run this task please export that csv from new relic (web transactions -> table view -> last 7 days -> export as csv)" end new_relic_controller_actions = NewrelicRouteCheck.actions_from_new_relic(file) formatted_routes_actions = NewrelicRouteCheck.actions_from_routes NewrelicRouteCheck.routes_diff_output(new_relic_controller_actions, formatted_routes_actions) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
newrelic_route_check-0.0.3 | lib/newrelic_route_check/tasks.rb |
newrelic_route_check-0.0.2 | lib/newrelic_route_check/tasks.rb |
newrelic_route_check-0.0.1 | lib/newrelic_route_check/tasks.rb |