org.springframework.boot.actuate.metrics.GaugeService Java Examples

The following examples show how to use org.springframework.boot.actuate.metrics.GaugeService. 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: MetricsActuatorAutoConfiguration.java    From sofa-lookout with Apache License 2.0 5 votes vote down vote up
@Bean
@ConditionalOnMissingBean({ LookoutSpringBootMetricsImpl.class, CounterService.class,
        GaugeService.class })
public LookoutSpringBootMetricsImpl lookoutMetricServices(Registry lookoutMetricRegistry) {
    logger.info("Spring Boot Metrics binding to SOFALookout Implementation!");
    return new LookoutSpringBootMetricsImpl(lookoutMetricRegistry);
}
 
Example #2
Source File: TimerAspect.java    From jigsaw-payment with Apache License 2.0 5 votes vote down vote up
@Autowired
public TimerAspect(GaugeService gaugeService,
		CounterService counterService, ObjectMapper mapper) {
	this.counterService = counterService;
	this.gaugeService = gaugeService;
	this.mapper = mapper;
}
 
Example #3
Source File: SearchRestController.java    From Microservices-Building-Scalable-Software with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #4
Source File: InMemoryDiscoveryServer.java    From Ratel with Apache License 2.0 4 votes vote down vote up
@Autowired
public InMemoryDiscoveryServer(GaugeService gaugeService, StatisticsHolder statisticsHolder) {
    this.gaugeService = gaugeService;
    this.statisticsHolder = statisticsHolder;
}
 
Example #5
Source File: ExampleService.java    From building-microservices with Apache License 2.0 4 votes vote down vote up
public ExampleService(CounterService counterService, GaugeService gaugeService) {
	this.counterService = counterService;
	this.gaugeService = gaugeService;
}
 
Example #6
Source File: MetricsController.java    From find with MIT License 4 votes vote down vote up
@Autowired
public MetricsController(final GaugeService gaugeService,
                         @Value(FIND_METRICS_TYPE_PROPERTY) final String metricType) {
    this.gaugeService = gaugeService;
    this.metricType = metricType;
}
 
Example #7
Source File: PerformanceMonitoringAspect.java    From find with MIT License 4 votes vote down vote up
@Autowired
public PerformanceMonitoringAspect(final GaugeService gaugeService,
                                   @Value(FIND_METRICS_TYPE_PROPERTY) final String metricType) {
    this.gaugeService = gaugeService;
    this.metricType = metricType;
}
 
Example #8
Source File: SearchRestController.java    From Spring-Microservices with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #9
Source File: SearchRestController.java    From Spring-Microservices with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #10
Source File: SearchRestController.java    From Spring-Microservices with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #11
Source File: SearchRestController.java    From Spring-Microservices with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #12
Source File: SearchRestController.java    From Spring-Microservices with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #13
Source File: Application.java    From Spring-Microservices with MIT License 4 votes vote down vote up
@Autowired
GreetingController(TPSHealth health,CounterService counterService, GaugeService gaugeService){
	this.health = health;
	this.counterService = counterService;
	this.gaugeService = gaugeService;
}
 
Example #14
Source File: SearchRestController.java    From Microservices-Building-Scalable-Software with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #15
Source File: SearchRestController.java    From Microservices-Building-Scalable-Software with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #16
Source File: SearchRestController.java    From Learning-Path-Spring-5-End-to-End-Programming with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #17
Source File: SearchRestController.java    From Microservices-Building-Scalable-Software with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #18
Source File: SearchRestController.java    From Microservices-Building-Scalable-Software with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #19
Source File: Application.java    From Microservices-Building-Scalable-Software with MIT License 4 votes vote down vote up
@Autowired
GreetingController(TPSHealth health,CounterService counterService, GaugeService gaugeService){
	this.health = health;
	this.counterService = counterService;
	this.gaugeService = gaugeService;
}
 
Example #20
Source File: ESMessageListener.java    From elastic-rabbitmq with MIT License 4 votes vote down vote up
public ESMessageListener(ConfigurableApplicationContext context) {
    this.counterService = context.getBean("counterService", CounterService.class);
    this.gaugeService = context.getBean("gaugeService", GaugeService.class);
    this.context = context;
    //handlerManager.initHandler(context);
}
 
Example #21
Source File: SearchRestController.java    From if1007 with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #22
Source File: TimerAutoConfiguration.java    From jigsaw-payment with Apache License 2.0 4 votes vote down vote up
@Bean
public TimerAspect timerAspect(GaugeService gaugeService,
		CounterService counterService, ObjectMapper mapper) {
	return new TimerAspect(gaugeService, counterService, mapper);
}
 
Example #23
Source File: TimerAspect.java    From jigsaw-payment with Apache License 2.0 4 votes vote down vote up
public ExecutionTimer(GaugeService gaugeService,
		CounterService counterService, String name, Logger logger) {
	this.name = name;
	this.logger = logger;
	this.histogram = new Histogram();
}
 
Example #24
Source File: SearchRestController.java    From Learning-Path-Spring-5-End-to-End-Programming with MIT License 4 votes vote down vote up
@Autowired
public SearchRestController(SearchComponent searchComponent, GaugeService gaugeService){
	this.gaugeService = gaugeService;
	this.searchComponent = searchComponent;
}
 
Example #25
Source File: Application.java    From Learning-Path-Spring-5-End-to-End-Programming with MIT License 4 votes vote down vote up
@Autowired
GreetingController(TPSHealth health,CounterService counterService, GaugeService gaugeService){
	this.health = health;
	this.counterService = counterService;
	this.gaugeService = gaugeService;
}