use of org.springframework.boot.actuate.metrics.opentsdb.OpenTsdbGaugeWriter in project spring-boot by spring-projects.
the class SampleOpenTsdbExportApplication method openTsdbMetricWriter.
@Bean
@ConfigurationProperties("metrics.export")
@ExportMetricWriter
public GaugeWriter openTsdbMetricWriter() {
OpenTsdbGaugeWriter writer = new OpenTsdbGaugeWriter();
writer.setNamingStrategy(namingStrategy());
return writer;
}
Aggregations