use of com.netflix.servo.util.ThreadCpuStats in project zuul by Netflix.
the class StartServer method initPlugins.
private void initPlugins() {
LOG.info("Registering Servo Monitor");
MonitorRegistry.getInstance().setPublisher(new ServoMonitor());
LOG.info("Starting Poller");
MetricPoller.startPoller();
LOG.info("Registering Servo Tracer");
TracerFactory.initialize(new Tracer());
LOG.info("Registering Servo Counter");
CounterFactory.initialize(new Counter());
LOG.info("Starting CPU stats");
final ThreadCpuStats stats = ThreadCpuStats.getInstance();
stats.start();
}
Aggregations