lib/new_relic/agent/agent.rb in newrelic_rpm-2.9.5 vs lib/new_relic/agent/agent.rb in newrelic_rpm-2.9.6
- old
+ new
@@ -328,10 +328,12 @@
@agent_id ||= invoke_remote :start, @local_host, {
:pid => $$,
:launch_time => @launch_time.to_f,
:agent_version => NewRelic::VERSION::STRING,
:environment => control.local_env.snapshot,
- :settings => control.settings }
+ :settings => control.settings,
+ :validate_seed => ENV['NR_VALIDATE_SEED'],
+ :validate_token => ENV['NR_VALIDATE_TOKEN'] }
host = invoke_remote(:get_redirect_host) rescue nil
@collector = control.server_from_host(host) if host