Package io.opencensus.implcore.metrics
Interface Meter
-
- All Known Implementing Classes:
DerivedDoubleCumulativeImpl,DerivedDoubleGaugeImpl,DerivedLongCumulativeImpl,DerivedLongGaugeImpl,DoubleCumulativeImpl,DoubleGaugeImpl,LongCumulativeImpl,LongGaugeImpl
interface Meter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricgetMetric(Clock clock)Provides aMetricwith one or moreTimeSeries.MetricDescriptorgetMetricDescriptor()Provides aMetricDescriptor.
-
-
-
Method Detail
-
getMetric
@Nullable Metric getMetric(Clock clock)
Provides aMetricwith one or moreTimeSeries.- Parameters:
clock- the clock used to get the time.- Returns:
- a
Metric. - Throws:
java.lang.NullPointerException- ifTimeSeriesis not present inMetric.
-
getMetricDescriptor
MetricDescriptor getMetricDescriptor()
Provides aMetricDescriptor.- Returns:
- a
MetricDescriptor.
-
-