Polish "Bind StatsD queue gauges"

Closes gh-12124
pull/12083/merge
Andy Wilkinson 7 years ago
parent 53e872bf4c
commit 22bac1b54e

@ -75,4 +75,5 @@ public class StatsdMetricsExportAutoConfiguration {
public StatsdMetrics statsdMetrics() {
return new StatsdMetrics();
}
}

@ -56,12 +56,13 @@ public class StatsdMetricsExportAutoConfigurationTests {
}
@Test
public void autoConfiguresItsConfigMeterRegistryAndNameMapper() {
public void autoConfiguresItsConfigMeterRegistryNameMapperAndMetrics() {
this.contextRunner.withUserConfiguration(BaseConfiguration.class)
.run((context) -> assertThat(context)
.hasSingleBean(StatsdMeterRegistry.class)
.hasSingleBean(StatsdConfig.class)
.hasSingleBean(HierarchicalNameMapper.class));
.hasSingleBean(HierarchicalNameMapper.class)
.hasSingleBean(StatsdMetrics.class));
}
@Test

Loading…
Cancel
Save