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 ViewBuilder
builder()
abstract Aggregation
The aggregation used for this view.abstract String
The name of the resulting metric to generate, ornull
if the same as the instrument.abstract String
getName()
The name of the resulting metric to generate, ornull
if the same as the instrument.
-
Method Details
-
builder
-
getName
The name of the resulting metric to generate, ornull
if the same as the instrument. -
getDescription
The name of the resulting metric to generate, ornull
if the same as the instrument. -
getAggregation
The aggregation used for this view.
-