Class NewRelicMetricsExportAutoConfiguration
- java.lang.Object
-
- io.micrometer.spring.autoconfigure.export.newrelic.NewRelicMetricsExportAutoConfiguration
-
@Configuration @ConditionalOnBean(io.micrometer.core.instrument.Clock.class) @ConditionalOnClass(io.micrometer.newrelic.NewRelicMeterRegistry.class) @ConditionalOnProperty(prefix="management.metrics.export.newrelic", name="enabled", havingValue="true", matchIfMissing=true) @EnableConfigurationProperties(NewRelicProperties.class) @Import(StringToDurationConverter.class) public class NewRelicMetricsExportAutoConfiguration extends java.lang.Object
Configuration for exporting metrics to New Relic.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description NewRelicMetricsExportAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micrometer.newrelic.NewRelicConfig
newRelicConfig(NewRelicProperties props)
io.micrometer.newrelic.NewRelicMeterRegistry
newRelicMeterRegistry(io.micrometer.newrelic.NewRelicConfig config, io.micrometer.core.instrument.Clock clock)
-
-
-
Method Detail
-
newRelicConfig
@Bean @ConditionalOnMissingBean public io.micrometer.newrelic.NewRelicConfig newRelicConfig(NewRelicProperties props)
-
newRelicMeterRegistry
@Bean @ConditionalOnMissingBean public io.micrometer.newrelic.NewRelicMeterRegistry newRelicMeterRegistry(io.micrometer.newrelic.NewRelicConfig config, io.micrometer.core.instrument.Clock clock)
-
-