Class NewRelicMetricsExportAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.newrelic.NewRelicMetricsExportAutoConfiguration
@AutoConfiguration(before={CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class},
after=MetricsAutoConfiguration.class)
@ConditionalOnBean(io.micrometer.core.instrument.Clock.class)
@ConditionalOnClass(io.micrometer.newrelic.NewRelicMeterRegistry.class)
@ConditionalOnEnabledMetricsExport("newrelic")
@EnableConfigurationProperties(NewRelicProperties.class)
public class NewRelicMetricsExportAutoConfiguration
extends Object
Auto-configuration
for exporting metrics to New Relic.- Since:
- 2.0.0
- Author:
- Jon Schneider, Andy Wilkinson, Artsiom Yudovin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.newrelic.NewRelicClientProvider
newRelicClientProvider
(io.micrometer.newrelic.NewRelicConfig newRelicConfig) io.micrometer.newrelic.NewRelicConfig
io.micrometer.newrelic.NewRelicMeterRegistry
newRelicMeterRegistry
(io.micrometer.newrelic.NewRelicConfig newRelicConfig, io.micrometer.core.instrument.Clock clock, io.micrometer.newrelic.NewRelicClientProvider newRelicClientProvider)
-
Constructor Details
-
NewRelicMetricsExportAutoConfiguration
-
-
Method Details
-
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)
-