Class NewRelicExporters
- java.lang.Object
-
- com.newrelic.telemetry.opentelemetry.export.NewRelicExporters
-
public class NewRelicExporters extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NewRelicExporters.Configuration
Basic Configuration options for the New Relic Exporters.
-
Constructor Summary
Constructors Constructor Description NewRelicExporters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
shutdown()
Shutdown the OpenTelemetry SDK and the NewRelic exporters.static void
start(NewRelicExporters.Configuration configuration)
Start up the New Relic Metric and Span exporters with the provided configuration.static void
start(java.lang.String apiKey, java.lang.String serviceName)
Start up the New Relic Metric and Span exporters with the provided API key and service name.
-
-
-
Method Detail
-
start
public static void start(java.lang.String apiKey, java.lang.String serviceName)
Start up the New Relic Metric and Span exporters with the provided API key and service name.
-
start
public static void start(NewRelicExporters.Configuration configuration)
Start up the New Relic Metric and Span exporters with the provided configuration.
-
shutdown
public static void shutdown()
Shutdown the OpenTelemetry SDK and the NewRelic exporters.
-
-