Java 类org.springframework.boot.actuate.autoconfigure.ExportMetricWriter 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SampleOpenTsdbExportApplication.java   
@Bean
@ConfigurationProperties("metrics.export")
@ExportMetricWriter
public GaugeWriter openTsdbMetricWriter() {
    OpenTsdbGaugeWriter writer = new OpenTsdbGaugeWriter();
    writer.setNamingStrategy(namingStrategy());
    return writer;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SampleRedisExportApplication.java   
@Bean
@ExportMetricWriter
public RedisMetricRepository redisMetricWriter(
        RedisConnectionFactory connectionFactory) {
    return new RedisMetricRepository(connectionFactory,
            this.export.getRedis().getPrefix(), this.export.getRedis().getKey());
}
项目:spring-boot-concourse    文件:SampleOpenTsdbExportApplication.java   
@Bean
@ConfigurationProperties("metrics.export")
@ExportMetricWriter
public GaugeWriter openTsdbMetricWriter() {
    OpenTsdbGaugeWriter writer = new OpenTsdbGaugeWriter();
    writer.setNamingStrategy(namingStrategy());
    return writer;
}
项目:spring-boot-concourse    文件:SampleRedisExportApplication.java   
@Bean
@ExportMetricWriter
public RedisMetricRepository redisMetricWriter(
        RedisConnectionFactory connectionFactory) {
    return new RedisMetricRepository(connectionFactory,
            this.export.getRedis().getPrefix(), this.export.getRedis().getKey());
}
项目:contestparser    文件:SampleOpenTsdbExportApplication.java   
@Bean
@ConfigurationProperties("metrics.export")
@ExportMetricWriter
public MetricWriter openTsdbMetricWriter() {
    OpenTsdbMetricWriter writer = new OpenTsdbMetricWriter();
    writer.setNamingStrategy(namingStrategy());
    return writer;
}
项目:contestparser    文件:SampleRedisExportApplication.java   
@Bean
@ExportMetricWriter
public RedisMetricRepository redisMetricWriter(
        RedisConnectionFactory connectionFactory) {
    return new RedisMetricRepository(connectionFactory,
            this.export.getRedis().getPrefix(), this.export.getRedis().getKey());
}
项目:cloudbreak    文件:AppConfig.java   
@Bean
@ExportMetricWriter
/*
 * Prometheus is not capable to scrape json metrics so we need to expose the actuator metrics to jmx. Every
 * counter and gauge metrics are exposed too.
 */
public MetricWriter metricWriter(MBeanExporter exporter) {
    return new JmxMetricWriter(exporter);
}
项目:jhipster-microservices-example    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:jhipster-microservices-example    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:jhipster-microservices-example    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:xm-ms-balance    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:Armory    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:Armory    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:xm-ms-dashboard    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:xm-gate    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:xm-ms-entity    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:spring-io    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:spring-io    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:spring-io    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:security-karate    文件:Application.java   
@Bean
@ExportMetricWriter
public LogstashMetricWriter metricWriter() {
    return new LogstashMetricWriter();
}
项目:xm-ms-timeline    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:devoxxus-jhipster-microservices-demo    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:devoxxus-jhipster-microservices-demo    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:devoxxus-jhipster-microservices-demo    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:xm-ms-config    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:Microservices-with-JHipster-and-Spring-Boot    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:Microservices-with-JHipster-and-Spring-Boot    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:Microservices-with-JHipster-and-Spring-Boot    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:secrets-proxy    文件:MgmtConfig.java   
/**
 * Exports actuator metrics to JMX.
 */
@Bean
@ExportMetricWriter
public MetricWriter metricWriter(MBeanExporter exporter) {
    return new JmxMetricWriter(exporter);
}
项目:statful-client-springboot    文件:SpringbootClientConfiguration.java   
/**
 * Export a new {@link StatfulMetricWriter} metrics writer.
 * @return {@link MetricWriter}
 */
@Bean
@ExportMetricWriter
MetricWriter metricWriter() {
    return new StatfulMetricWriter();
}
项目:cat-boot    文件:ClusterMetricsConfig.java   
@Bean
@ExportMetricWriter
public MetricWriter metricWriter(MetricExportProperties export) {
    return new RedisMetricRepository(redisConnectionFactory,
            export.getRedis().getPrefix(), export.getRedis().getKey());
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SampleRedisExportApplication.java   
@Bean
@ExportMetricWriter
public JmxMetricWriter jmxMetricWriter(
        @Qualifier("mbeanExporter") MBeanExporter exporter) {
    return new JmxMetricWriter(exporter);
}
项目:Thesis-JHipster    文件:_MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:Thesis-JHipster    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:queue-master    文件:PrometheusEndpointContextConfiguration.java   
@Bean
@ExportMetricWriter
MetricWriter prometheusMetricWriter(CollectorRegistry registry) {
    return new PrometheusMetricWriter(registry);
}
项目:jhipster-registry    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:spring-boot-concourse    文件:SampleRedisExportApplication.java   
@Bean
@ExportMetricWriter
public JmxMetricWriter jmxMetricWriter(
        @Qualifier("mbeanExporter") MBeanExporter exporter) {
    return new JmxMetricWriter(exporter);
}
项目:spring-cloud-stream-app-starters    文件:CounterSinkStoreConfiguration.java   
@Bean
@ExportMetricWriter
public MetricRepository metricRepository() {
    return new RedisMetricRepository(redisConnectionFactory);
}
项目:trivor    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}
项目:trivor    文件:MetricsConfiguration.java   
@Bean
@ConditionalOnProperty("jhipster.logging.spectator-metrics.enabled")
@ExportMetricWriter
MetricWriter metricWriter() {
    return new SpectatorLogMetricWriter();
}