Hi,
I am running the Rails application on the container of Kubernates.
I set APM monitoring for this application as following site.
https://docs.newrelic.com/docs/agents/ruby-agent/installation/install-new-relic-ruby-agent
However, instead of installing it to the host OS with the ‘bundle install’ command, gem was installed in the folder under the project with the ‘bundle install --path vendor/bundle’ command.
However, I could not see the application on the APM web UI.
So, as it is a question, when using a container, does APM Agent(newrelic_rpm gem) need to be installed on the host OS with the “bundle install” command?
Gem and other Details
Ruby 2.5.1
Rails 5.2.1
newrelic_rpm 5.5.0.348
newrelic_agent.log
INFO : Doing deferred dependency-detection before Rack startup
ERROR : Error establishing connection with New Relic Service at collector.newrelic.com:0:
ERROR : NewRelic::Agent::ServerConnectionException: Recoverable error talking to collector.newrelic.com:0 after 2 attempts: execution expired
INFO : Will re-attempt in 60 seconds
ERROR : Error establishing connection with New Relic Service at collector.newrelic.com:0:
ERROR : NewRelic::Agent::ServerConnectionException: Recoverable error talking to collector.newrelic.com:0 after 2 attempts: execution expired
INFO : Will re-attempt in 120 seconds
ERROR : Error establishing connection with New Relic Service at collector.newrelic.com:0:
ERROR : NewRelic::Agent::ServerConnectionException: Recoverable error talking to collector.newrelic.com:0 after 2 attempts: execution expired
Sincerely