Package io.opencensus.implcore.stats
Class MetricUtils
java.lang.Object
io.opencensus.implcore.stats.MetricUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Function
<Aggregation, MetricDescriptor.Type> (package private) static final String
private static final Function
<Object, MetricDescriptor.Type> private static final Function
<Object, MetricDescriptor.Type> private static final Function
<Object, MetricDescriptor.Type> private static final Function
<Object, MetricDescriptor.Type> private static final Function
<Object, MetricDescriptor.Type> private static final Function
<Object, MetricDescriptor.Type> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static MetricDescriptor.Type
getType
(Measure measure, Aggregation aggregation) private static String
getUnit
(Measure measure, Aggregation aggregation) (package private) static List
<LabelValue> tagValuesToLabelValues
(List<TagValue> tagValues) toStringAttachments
(Map<String, AttachmentValue> attachments) (package private) static MetricDescriptor
viewToMetricDescriptor
(View view)
-
Field Details
-
COUNT_UNIT
- See Also:
-
TYPE_CUMULATIVE_DOUBLE_FUNCTION
-
TYPE_CUMULATIVE_INT64_FUNCTION
-
TYPE_CUMULATIVE_DISTRIBUTION_FUNCTION
-
TYPE_GAUGE_DOUBLE_FUNCTION
-
TYPE_GAUGE_INT64_FUNCTION
-
TYPE_UNRECOGNIZED_FUNCTION
-
AGGREGATION_TYPE_DEFAULT_FUNCTION
-
-
Constructor Details
-
MetricUtils
private MetricUtils()
-
-
Method Details
-
viewToMetricDescriptor
-
getType
-
getUnit
-
tagValuesToLabelValues
-
toStringAttachments
-