Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Language

Steps

Golang

Following code change is needed to pick environment variable over default configuration

Code Block
newrelic.NewApplication(
    newrelic.ConfigFromEnvironment(),
    ...
)

PHP

The PHP agent does not support NEW_RELIC_HOST environment variable.

Instead set the newrelic.daemon.collector_host value in newrelic.ini

Python / Javascript / NodeJS / Ruby

Works with environment variable setup described above.