Package io.opencensus.implcore.metrics
Interface Meter
- All Known Implementing Classes:
DerivedDoubleCumulativeImpl
,DerivedDoubleGaugeImpl
,DerivedLongCumulativeImpl
,DerivedLongGaugeImpl
,DoubleCumulativeImpl
,DoubleGaugeImpl
,LongCumulativeImpl
,LongGaugeImpl
interface Meter
-
Method Summary
Modifier and TypeMethodDescriptionProvides aMetric
with one or moreTimeSeries
.Provides aMetricDescriptor
.
-
Method Details
-
getMetric
Provides aMetric
with one or moreTimeSeries
.- Parameters:
clock
- the clock used to get the time.- Returns:
- a
Metric
. - Throws:
NullPointerException
- ifTimeSeries
is not present inMetric
.
-
getMetricDescriptor
MetricDescriptor getMetricDescriptor()Provides aMetricDescriptor
.- Returns:
- a
MetricDescriptor
.
-