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