def connect_settings
sanitize_environment_report
{
:pid => $$,
:host => local_host,
:display_host => Agent.config['process_host.display_name''process_host.display_name'],
:app_name => Agent.config.app_names,
:language => 'ruby',
:labels => Agent.config.parsed_labels,
:agent_version => NewRelic::VERSION::STRING,
:environment => @environment_report,
:settings => Agent.config.to_collector_hash,
:high_security => Agent.config[:high_security],
:utilization => UtilizationData.new.to_collector_hash
}
end