During the installation, it will automatically ask for license key, application name, language and its version. Then it will install the command line newrelic-collector-client-daemon as a service which you can find the configuration on /usr/local/etc/newrelic.service.

Configuration

Post Installation & Configuration can be found on New Relic - Configuring the Agent SDK, please note that NewRelic instance is configured as Daemon Mode which is highly recommended because the Embedded-mode is still experimental.

Constructor parameters:

webType: optional. true for WebTransaction and false for other. default is true.

category: optional. name of the transaction category, default is 'Uri'

name: optional. transaction name

url: optional. request url for a web transaction

attributes: optional. transaction attributes, pair of "name: value"

maxTraceSegments: optional. Set the maximum number of trace segments allowed in a transaction trace. By default, the maximum is set to 2000, which means the first 2000 segments in a transaction will create trace segments if the transaction exceeds the trace threshold (4 x apdex_t).