APM New Relic Integration

Kloudfuse platform has the ability to ingest span and trace data sent by New Relic agents/SDK. The setup steps vary based on programming language used.

Common configuration

To point the New Relic agent / SDK to cloudfuse, the following environment variable needs to be set:

NEW_RELIC_HOST=<domain for Kloudfuse ingesterion, eg. pisco.kloudfuse.io>

By default, the SDK connects to Kloudfuse ingest endpoint over https.

Note: Kloudfuse supports ingestion of APM data - spans and traces from New Relic agents. Other data payloads are not currently supported. Some agents send additional payloads (eg. metrics, logs) and these may have to be disabled in case errors are seen on the agent side logs.

Language specific configuration

New Relic agents behave differently for some languages, and additional configuration steps are needed

Language

Steps

Language

Steps

Golang

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

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

Works with environment variable setup described above.