Uses of Class
io.opencensus.metrics.MetricOptions.Builder
Packages that use MetricOptions.Builder
-
Uses of MetricOptions.Builder in io.opencensus.metrics
Subclasses of MetricOptions.Builder in io.opencensus.metricsModifier and TypeClassDescription(package private) static final class
Methods in io.opencensus.metrics that return MetricOptions.BuilderModifier and TypeMethodDescriptionstatic MetricOptions.Builder
MetricOptions.builder()
Returns a newMetricOptions.Builder
with default options.AutoValue_MetricOptions.Builder.setConstantLabels
(Map<LabelKey, LabelValue> constantLabels) abstract MetricOptions.Builder
MetricOptions.Builder.setConstantLabels
(Map<LabelKey, LabelValue> constantLabels) Sets the map of constant labels (they will be added to all the TimeSeries) for the Metric.AutoValue_MetricOptions.Builder.setDescription
(String description) abstract MetricOptions.Builder
MetricOptions.Builder.setDescription
(String description) Sets the description of the Metric.AutoValue_MetricOptions.Builder.setLabelKeys
(List<LabelKey> labelKeys) abstract MetricOptions.Builder
MetricOptions.Builder.setLabelKeys
(List<LabelKey> labelKeys) Sets the list of label keys for the Metric.abstract MetricOptions.Builder
Sets the unit of the Metric.