org.springframework.boot.actuate.autoconfigure.ExportMetricWriter Java Examples

The following examples show how to use org.springframework.boot.actuate.autoconfigure.ExportMetricWriter. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MetricsConfiguration.java    From cubeai with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #2
Source File: MetricsConfiguration.java    From cubeai with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #3
Source File: MetricsConfiguration.java    From cubeai with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #4
Source File: MetricsConfiguration.java    From cubeai with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #5
Source File: MetricsConfiguration.java    From cubeai with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #6
Source File: MetricsConfiguration.java    From cubeai with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #7
Source File: MetricsConfiguration.java    From cubeai with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #8
Source File: MetricsConfiguration.java    From jhipster-microservices-example with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #9
Source File: MetricsConfiguration.java    From jhipster-microservices-example with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #10
Source File: MetricsConfiguration.java    From jhipster-microservices-example with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #11
Source File: MgmtConfig.java    From secrets-proxy with Apache License 2.0 4 votes vote down vote up
/** Exports actuator metrics to JMX. */
@Bean
@ExportMetricWriter
public MetricWriter metricWriter(MBeanExporter exporter) {
  return new JmxMetricWriter(exporter);
}
 
Example #12
Source File: CounterSinkStoreConfiguration.java    From spring-cloud-stream-app-starters with Apache License 2.0 4 votes vote down vote up
@Bean
@ExportMetricWriter
public MetricRepository metricRepository() {
	return new RedisMetricRepository(redisConnectionFactory);
}
 
Example #13
Source File: MetricsConfiguration.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #14
Source File: MetricsConfiguration.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
 
Example #15
Source File: MetricsConfiguration.java    From tutorials with MIT License 4 votes vote down vote up
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}