public class ServoMetricServices extends Object implements org.springframework.boot.actuate.metrics.CounterService, org.springframework.boot.actuate.metrics.GaugeService
CounterService and GaugeService implementation
backed by Servo.| Constructor and Description |
|---|
ServoMetricServices(com.netflix.servo.MonitorRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
decrement(String name) |
void |
increment(String name) |
void |
reset(String name) |
protected static String |
stripMetricName(String metricName) |
void |
submit(String name,
double dValue) |
public ServoMetricServices(com.netflix.servo.MonitorRegistry registry)
public void increment(String name)
increment in interface org.springframework.boot.actuate.metrics.CounterServicepublic void decrement(String name)
decrement in interface org.springframework.boot.actuate.metrics.CounterServicepublic void reset(String name)
reset in interface org.springframework.boot.actuate.metrics.CounterServicepublic void submit(String name, double dValue)
submit in interface org.springframework.boot.actuate.metrics.GaugeServiceCopyright © 2017 Pivotal Software, Inc.. All rights reserved.