Good day. Can you please tell if it is possible to perform through the capistrano during a delay
before 'deploy: finished', 'newrelic: notice_deployment'
but that license_key would be taken not from my local newrelic.yml , but from production
so that I could, without having a file newrelic.yml on the local computer, do a warmup and run
before 'deploy: finished', 'newrelic: notice_deployment'
Gemfile: gem 'newrelic_rpm'
Capfile: require 'new_relic/recipes'
#deproy.rb set :linked_files, %w(config/database.yml config/secrets.yml config/newrelic.yml) set :newrelic_role, ['app'] before 'deploy:finished', 'newrelic:notice_deployment' Log
Unexpected error attempting to connect to rpm.newrelic.com:443 license_key was not set in newrelic.yml for production: /Users/lutsko/.rvm/gems/ruby-2.3.1@cargoport/gems/newrelic_rpm-3.17.1.326/lib/new_relic/cli/commands/deployments.rb:84:in `run' /Users/lutsko/.rvm/gems/ruby-2.3.1@cargoport/gems/newrelic_rpm-3.17.1.326/lib/new_relic/recipes/capistrano3.rb:55:in `send_deployment_notification_to_newrelic' /Users/lutsko/.rvm/gems/ruby-2.3.1@cargoport/gems/newrelic_rpm-3.17.1.326/lib/new_relic/recipes/capistrano3.rb:14:in `block (3 levels) in <top (required)>' /Users/lutsko/.rvm/gems/ruby-2.3.1@cargoport/gems/sshkit-1.11.4/lib/sshkit/backends/abstract.rb:29:in `instance_exec' /Users/lutsko/.rvm/gems/ruby-2.3.1@cargoport/gems/sshkit-1.11.4/lib/sshkit/backends/abstract.rb:29:in `run' /Users/lutsko/.rvm/gems/ruby-2.3.1@cargoport/gems/sshkit-1.11.4/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute' 00:00 newrelic:notice_deployment license_key was not set in newrelic.yml for production
noticeshould be sent via SSH from the server, but it seems that the designated task for Capistrano works locally. - D-side