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 Stringprivate final Stringprivate final InstrumentDescriptorprivate 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:MetricDescriptorThe name of the descriptor, equal toView.getName()if not null, elseInstrumentDescriptor.getName().- Specified by:
getNamein classMetricDescriptor
-
getDescription
Description copied from class:MetricDescriptorThe description of the descriptor, equal toView.getDescription()if not null, elseInstrumentDescriptor.getDescription().- Specified by:
getDescriptionin classMetricDescriptor
-
getView
Description copied from class:MetricDescriptorThe view that lead to the creation of this metric.- Specified by:
getViewin classMetricDescriptor
-
getSourceInstrument
Description copied from class:MetricDescriptorThe instrument which lead to the creation of this metric.- Specified by:
getSourceInstrumentin classMetricDescriptor
-
toString
-