lib/appsignal/transmitter.rb in appsignal-1.2.5 vs lib/appsignal/transmitter.rb in appsignal-1.3.0.beta.1
- old
+ new
@@ -33,10 +33,10 @@
@uri ||= URI("#{config[:endpoint]}/1/#{action}").tap do |uri|
uri.query = ::Rack::Utils.build_query({
:api_key => config[:push_api_key],
:name => config[:name],
:environment => config.env,
- :hostname => Socket.gethostname,
+ :hostname => config[:hostname],
:gem_version => Appsignal::VERSION
})
end
end