Class 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.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NewRelicExporters

        public NewRelicExporters()
    • 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.