Skip to content

Latest commit

 

History

History
 
 

NewRelic.OpenTelemetry

New Relic Trace Exporter for OpenTelemetry .NET

NuGet NuGet

The New Relic Trace Exporter for OpenTelemetry .NET supports .NET Framework (4.5.2+) and .NET Core applications.

Prerequisite

Installation

dotnet add package NewRelic.OpenTelemetry

Configuration

You can configure the exporter with the following options:

  • ApiKey: Your Insights Insert API key (required).
  • Endpoint: New Relic endpoint address.
  • ExportProcessorType: Whether the exporter should use Batch or Simple exporting processor. Defaults to the batch exporting processor which is recommended for most use cases.
  • BatchExportProcessorOptions: Configuration options for the batch exporter. Only used if ExportProcessorType is set to Batch.

Next Steps

Troubleshooting

The OpenTelemetry SDK uses EventSource for its internal logging, and this package also uses EventSource for its internal logging so that all of the relevant logs for troubleshooting your OpenTelemetry setup can be found in one place. For more information on how to enable and use this diagnostic logging you can follow the information provided in the OpenTelemetry Troubleshooting documentation.

References