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)
RichGaugeReader
findOne
in interface RichGaugeReader
name
- the name of the gaugepublic Iterable<RichGauge> findAll()
RichGaugeReader
findAll
in interface RichGaugeReader
public long count()
count
in interface RichGaugeReader
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.