New Relic Agent

The Kloudfuse platform can ingest span and trace data sent by New Relic agents and SDK. The configuration steps vary depending on the programming language.

Common Configuration

To point the New Relic agent / SDK to Kloudfuse, set the NEW_RELIC_HOST environment variable:

NEW_RELIC_HOST=<domain for Kloudfuse ingestion>

By default, the SDK connects to Kloudfuse ingestion endpoint over an https protocol.

Kloudfuse supports ingestion of APM data, both spans and traces, from New Relic agents. We do not support data payloads at this time. We recommend that you disable these to prevent errors on the agent side logs.

Language-Specific configuration

New Relic agents behave differently for some languages, and may require additional configuration steps.

Python, Javascript, and Node.js, and Ruby languages work well wth Common Configuration, .

You must make an adjustment for Golang and PHP languages.

Golang

To pick the environment variable over the default configuration, make the following change:

newrelic.NewApplication(
    newrelic.ConfigFromEnvironment(),
    ...
)
yaml

PHP

The PHP agent does not support the NEW_RELIC_HOST environment variable.

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