Package | Description |
---|---|
com.yahoo.metrics.simple |
A metrics API with declarable metric, and also an implementation of the
JDisc Metrics API where the newest state is made continously available.
|
Modifier and Type | Field and Description |
---|---|
private Point |
Gauge.defaultPosition |
private Point |
Counter.defaultPosition |
private Point |
Identifier.location |
private static Point |
Point.theEmptyPoint |
Modifier and Type | Field and Description |
---|---|
private Map<String,LinkedHashMap<Point,DimensionCache.TimeStampedMetric>> |
DimensionCache.persistentData |
Modifier and Type | Method and Description |
---|---|
Point |
PointBuilder.build()
Create a new Point instance using the settings stored in this
PointBuilder.
|
static Point |
Point.emptyPoint()
the canonical 0-dimensional Point.
|
Point |
Identifier.getLocation() |
Point |
MetricReceiver.MockReceiver.point(String dim,
String val)
utility method for testing
|
Modifier and Type | Method and Description |
---|---|
private LinkedHashMap<Point,DimensionCache.TimeStampedMetric> |
DimensionCache.getCachedMetric(String metricName) |
Map<Point,UntypedMetric> |
Bucket.getMapForMetric(String metricName) |
Map<String,List<Map.Entry<Point,UntypedMetric>>> |
Bucket.getValuesByMetricName() |
Collection<Map.Entry<Point,UntypedMetric>> |
Bucket.getValuesForMetric(String metricName) |
private AbstractMap.SimpleImmutableEntry<Point,UntypedMetric> |
Bucket.locationValuePair(Map.Entry<Identifier,UntypedMetric> entry) |
Modifier and Type | Method and Description |
---|---|
void |
MetricReceiver.NullCounter.add(long n,
Point p) |
void |
Counter.add(long n,
Point p)
Add to this metric at the given point.
|
void |
MetricReceiver.NullCounter.add(Point p) |
void |
Counter.add(Point p)
Increase this metric at the given point by 1.
|
Counter |
MetricReceiver.declareCounter(String name,
Point boundDimensions)
Declare a counter metric, with default dimension values as given.
|
Counter |
MetricReceiver.NullReceiver.declareCounter(String name,
Point boundDimensions) |
Gauge |
MetricReceiver.declareGauge(String name,
Point boundDimensions)
Declare a gauge metric, with default dimension values as given.
|
Gauge |
MetricReceiver.NullReceiver.declareGauge(String name,
Point boundDimensions) |
void |
Gauge.sample(double x,
Point p)
Record a sample at the given position.
|
void |
MetricReceiver.NullGauge.sample(double x,
Point p) |
Modifier and Type | Method and Description |
---|---|
Gauge |
MetricReceiver.declareGauge(String name,
Optional<Point> boundDimensions,
MetricSettings customSettings)
Declare a gauge metric, with default dimension values as given.
|
Gauge |
MetricReceiver.NullReceiver.declareGauge(String name,
Optional<Point> boundDimensions,
MetricSettings customSettings) |
Constructor and Description |
---|
Counter(String name,
Point defaultPosition,
MetricReceiver receiver) |
Gauge(String name,
Point defaultPosition,
MetricReceiver receiver) |
Identifier(String name,
Point location) |
PointBuilder(Point p) |
Copyright © 2018. All rights reserved.