lib/liberty_buildpack/framework/dynatrace_appmon_agent.rb
#-----------------------------------------------------------------------------------------
# Create the dynatrace agent options appended as java_opts.
#------------------------------------------------------------------------------------------
Create the dynatrace agent options appended as java_opts.
Create the dynatrace agent options appended as java_opts .
def release
      pwd = ENV['PWD']
      dt_home_dir = "#{pwd}/app/#{DT_HOME_DIR}"
      dt_agent = File.join(dt_home_dir, 'agent', agent_unpack_path, lib_name, 'libdtagent.so')
      @logger.debug("dt_agent: #{dt_agent}")
      @java_opts << "-agentpath:#{dt_agent}=#{get_service_options}"
      @java_opts << '-Xshare:off'
    end
def release pwd = ENV [ 'PWD' ] dt_home_dir = "#{pwd}/app/#{DT_HOME_DIR}" dt_agent = File . join ( dt_home_dir , 'agent' , agent_unpack_path , lib_name , 'libdtagent.so' ) @logger . debug ( "dt_agent: #{dt_agent}" ) @java_opts << "-agentpath:#{dt_agent}=#{get_service_options}" @java_opts << '-Xshare:off' end
Create the dynatrace agent options appended as java_opts.
Create the dynatrace agent options appended as java_opts .
# dynatrace paths within the droplet # create the dynatrace agent command as java_opts