@Configuration @ConditionalOnClass(value={com.netflix.servo.monitor.Monitors.class,org.springframework.boot.actuate.metrics.reader.MetricReader.class}) @ConditionalOnMissingClass(value="com.netflix.spectator.api.Registry") @Import(value=MetricsInterceptorConfiguration.class) @ConditionalOnProperty(name="spring.metrics.servo.enabled", matchIfMissing=true) public class ServoMetricsAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ServoMetricsAutoConfiguration.MetricsTagConfiguration |
Constructor and Description |
---|
ServoMetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServoMonitorCache |
monitorCache(com.netflix.servo.MonitorRegistry monitorRegistry,
ServoMetricsConfigBean servoMetricsConfig) |
com.netflix.servo.MonitorRegistry |
monitorRegistry(ServoMetricsConfigBean servoMetricsConfig) |
ServoMetricNaming |
servoMetricNaming() |
ServoMetricReader |
servoMetricReader(com.netflix.servo.MonitorRegistry monitorRegistry,
ServoMetricNaming servoMetricNaming) |
ServoMetricsConfigBean |
servoMetricsConfig() |
ServoMetricServices |
servoMetricServices(com.netflix.servo.MonitorRegistry monitorRegistry) |
org.springframework.boot.actuate.endpoint.MetricReaderPublicMetrics |
servoPublicMetrics(ServoMetricReader reader) |
@Bean @ConditionalOnMissingBean public ServoMetricsConfigBean servoMetricsConfig()
@Bean @ConditionalOnMissingBean public ServoMetricNaming servoMetricNaming()
@Bean @ConditionalOnMissingBean public com.netflix.servo.MonitorRegistry monitorRegistry(ServoMetricsConfigBean servoMetricsConfig)
@Bean public ServoMonitorCache monitorCache(com.netflix.servo.MonitorRegistry monitorRegistry, ServoMetricsConfigBean servoMetricsConfig)
@Bean @ExportMetricReader public ServoMetricReader servoMetricReader(com.netflix.servo.MonitorRegistry monitorRegistry, ServoMetricNaming servoMetricNaming)
@Bean public org.springframework.boot.actuate.endpoint.MetricReaderPublicMetrics servoPublicMetrics(ServoMetricReader reader)
@Bean @ConditionalOnMissingBean(value={org.springframework.boot.actuate.metrics.CounterService.class,org.springframework.boot.actuate.metrics.GaugeService.class}) public ServoMetricServices servoMetricServices(com.netflix.servo.MonitorRegistry monitorRegistry)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.