Package io.opencensus.metrics
@ExperimentalApi
package io.opencensus.metrics
This package describes the Metrics data model. Metrics are a data model for what stats exporters
take as input. This data model may eventually become the wire format for metrics.
WARNING: Currently all the public classes under this package are marked as ExperimentalApi
. The classes and APIs under io.opencensus.metrics
are likely to get backwards-incompatible updates in the future. DO NOT USE except for
experimental purposes.
Please see https://github.com/census-instrumentation/opencensus-specs/blob/master/stats/Metrics.md and https://github.com/census-instrumentation/opencensus-proto/blob/master/opencensus/proto/stats/metrics/metrics.proto for more details.
-
ClassesClassDescriptionDerived Double Cumulative metric, to report cumulative measurement of a double value.No-op implementations of DerivedDoubleCumulative class.Derived Double Gauge metric, to report instantaneous measurement of a double value.No-op implementations of DerivedDoubleGauge class.Derived Long Cumulative metric, to report cumulative measurement of an int64 value.No-op implementations of DerivedLongCumulative class.Derived Long Gauge metric, to report instantaneous measurement of an int64 value.No-op implementations of DerivedLongGauge class.Double Cumulative metric, to report instantaneous measurement of a double value.The value of a single point in the Cumulative.TimeSeries.No-op implementations of DoubleCumulative class.No-op implementations of DoublePoint class.Double Gauge metric, to report instantaneous measurement of a double value.The value of a single point in the Gauge.TimeSeries.No-op implementations of DoubleGauge class.No-op implementations of DoublePoint class.The key of a
Label
associated with aMetricDescriptor
.The value of aLabel
associated with aTimeSeries
.Long Cumulative metric, to report instantaneous measurement of an int64 value.The value of a single point in the Cumulative.TimeSeries.No-op implementations of LongCumulative class.No-op implementations of LongPoint class.Long Gauge metric, to report instantaneous measurement of an int64 value.The value of a single point in the Gauge.TimeSeries.No-op implementations of LongGauge class.No-op implementations of LongPoint class.Options for every metric added to theMetricRegistry
.Builder forMetricOptions
.Creates and manages your application's set of metrics.Class for accessing the defaultMetricsComponent
.Class that holds the implementation instance forExportComponent
.