class Rake::Task

Public Instance Methods

invoke(*args) click to toggle source
   # File lib/capistrano/datadog/v3.rb
15 def invoke(*args)
16   reporter = Capistrano::Datadog.reporter
17   event_filter = Capistrano::Configuration.env.fetch(:datadog_event_filter)
18   if event_filter
19     reporter.event_filter = event_filter
20   end
21   task_name = name
22   stage = Capistrano::Configuration.env.fetch(:stage)
23   application = Capistrano::Configuration.env.fetch(:application)
24   reporter.record_task(task_name, roles, stage, application) do
25     old_invoke(*args)
26   end
27 end
Also aliased as: old_invoke
old_invoke(*args)
Alias for: invoke