public class ServoMetricReader extends Object implements org.springframework.boot.actuate.metrics.reader.MetricReader
MetricReader
implementation that registers a MetricObserver
with the
Netflix Servo library and exposes Servo metrics to the /metric
endpoint.Constructor and Description |
---|
ServoMetricReader() |
public org.springframework.boot.actuate.metrics.Metric<?> findOne(String metricName)
findOne
in interface org.springframework.boot.actuate.metrics.reader.MetricReader
public Iterable<org.springframework.boot.actuate.metrics.Metric<?>> findAll()
findAll
in interface org.springframework.boot.actuate.metrics.reader.MetricReader
public long count()
count
in interface org.springframework.boot.actuate.metrics.reader.MetricReader
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.