Class NewRelicMetricsExportAutoConfiguration

java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.newrelic.NewRelicMetricsExportAutoConfiguration

Auto-configuration for exporting metrics to New Relic.
Since:
2.0.0
Author:
Jon Schneider, Andy Wilkinson, Artsiom Yudovin
  • Constructor Details

    • NewRelicMetricsExportAutoConfiguration

      public NewRelicMetricsExportAutoConfiguration(NewRelicProperties properties)
  • Method Details

    • newRelicConfig

      @Bean @ConditionalOnMissingBean public io.micrometer.newrelic.NewRelicConfig newRelicConfig()
    • newRelicClientProvider

      @Bean @ConditionalOnMissingBean public io.micrometer.newrelic.NewRelicClientProvider newRelicClientProvider(io.micrometer.newrelic.NewRelicConfig newRelicConfig)
    • newRelicMeterRegistry

      @Bean @ConditionalOnMissingBean public io.micrometer.newrelic.NewRelicMeterRegistry newRelicMeterRegistry(io.micrometer.newrelic.NewRelicConfig newRelicConfig, io.micrometer.core.instrument.Clock clock, io.micrometer.newrelic.NewRelicClientProvider newRelicClientProvider)