Method: OneApm::Agent::Datastore.oneapm_product

Defined in:
lib/one_apm/agent/datastore.rb

.oneapm_product(*product) ⇒ Object



12
13
14
15
# File 'lib/one_apm/agent/datastore.rb', line 12

def self.oneapm_product *product
  return product[0] if product[1].nil?
  product.compact.join(":").gsub(LOCALHOST, LOCAL_127)
end