@Bean @ExportMetricReader @ConditionalOnMissingBean public BufferMetricReader actuatorMetricReader(CounterBuffers counters, GaugeBuffers gauges) { return new BufferMetricReader(counters, gauges); }
@Bean @ConditionalOnMissingBean public GaugeBuffers gaugeBuffers() { return new GaugeBuffers(); }
@Bean @ConditionalOnMissingBean(GaugeService.class) public BufferGaugeService gaugeService(GaugeBuffers writer) { return new BufferGaugeService(writer); }