Package io.opentelemetry.sdk.metrics
Class View
java.lang.Object
io.opentelemetry.sdk.metrics.View
A configuration for a metric stream transformation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ViewBuilderbuilder()abstract AggregationThe aggregation used for this view.abstract StringThe name of the resulting metric to generate, ornullif the same as the instrument.abstract StringgetName()The name of the resulting metric to generate, ornullif the same as the instrument.
-
Method Details
-
builder
-
getName
The name of the resulting metric to generate, ornullif the same as the instrument. -
getDescription
The name of the resulting metric to generate, ornullif the same as the instrument. -
getAggregation
The aggregation used for this view.
-