Class AutoValue_MetricDescriptor
java.lang.Object
io.opentelemetry.sdk.metrics.internal.descriptor.MetricDescriptor
io.opentelemetry.sdk.metrics.internal.descriptor.AutoValue_MetricDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final String
private final InstrumentDescriptor
private final View
-
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_MetricDescriptor
(String name, String description, View view, InstrumentDescriptor sourceInstrument) -
Method Summary
Modifier and TypeMethodDescriptionThe description of the descriptor, equal toView.getDescription()
if not null, elseInstrumentDescriptor.getDescription()
.getName()
The name of the descriptor, equal toView.getName()
if not null, elseInstrumentDescriptor.getName()
.The instrument which lead to the creation of this metric.getView()
The view that lead to the creation of this metric.toString()
Methods inherited from class io.opentelemetry.sdk.metrics.internal.descriptor.MetricDescriptor
create, create, equals, getAggregationName, getViewSourceInfo, hashCode
-
Field Details
-
name
-
description
-
view
-
sourceInstrument
-
-
Constructor Details
-
AutoValue_MetricDescriptor
AutoValue_MetricDescriptor(String name, String description, View view, InstrumentDescriptor sourceInstrument)
-
-
Method Details
-
getName
Description copied from class:MetricDescriptor
The name of the descriptor, equal toView.getName()
if not null, elseInstrumentDescriptor.getName()
.- Specified by:
getName
in classMetricDescriptor
-
getDescription
Description copied from class:MetricDescriptor
The description of the descriptor, equal toView.getDescription()
if not null, elseInstrumentDescriptor.getDescription()
.- Specified by:
getDescription
in classMetricDescriptor
-
getView
Description copied from class:MetricDescriptor
The view that lead to the creation of this metric.- Specified by:
getView
in classMetricDescriptor
-
getSourceInstrument
Description copied from class:MetricDescriptor
The instrument which lead to the creation of this metric.- Specified by:
getSourceInstrument
in classMetricDescriptor
-
toString
-