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 Metric
getMetric(Clock clock)
Provides aMetric
with one or moreTimeSeries
.MetricDescriptor
getMetricDescriptor()
Provides aMetricDescriptor
.
-
-
-
Method Detail
-
getMetric
@Nullable Metric getMetric(Clock clock)
Provides aMetric
with one or moreTimeSeries
.- Parameters:
clock
- the clock used to get the time.- Returns:
- a
Metric
. - Throws:
java.lang.NullPointerException
- ifTimeSeries
is not present inMetric
.
-
getMetricDescriptor
MetricDescriptor getMetricDescriptor()
Provides aMetricDescriptor
.- Returns:
- a
MetricDescriptor
.
-
-