public class MultiMetricRichGaugeReader extends Object implements RichGaugeReader
RichGaugeReader that works by reading metric values from a
MultiMetricRepository where the group name is the RichGauge name. The format
used matches that in he RichGaugeExporter, so this reader can be used on a store that
has been populated using that exporter.| Constructor and Description |
|---|
MultiMetricRichGaugeReader(MultiMetricRepository repository) |
public MultiMetricRichGaugeReader(MultiMetricRepository repository)
public RichGauge findOne(String name)
RichGaugeReaderfindOne in interface RichGaugeReadername - the name of the gaugepublic Iterable<RichGauge> findAll()
RichGaugeReaderfindAll in interface RichGaugeReaderpublic long count()
count in interface RichGaugeReaderCopyright © 2014 Pivotal Software, Inc.. All rights reserved.