Sha256: 46695d26608d1b3148b0c768d80af7c417d87d335423b72859bb647c264c616a
Contents?: true
Size: 420 Bytes
Versions: 5
Compression:
Stored size: 420 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. module NewRelic module Agent module Hostname def self.get if (dyno_name = ENV['DYNO']) && ::NewRelic::Agent.config[:use_heroku_dyno_names] dyno_name else Socket.gethostname end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems