Class InstrumentDescriptor
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.common.InstrumentDescriptor
-
@Immutable public abstract class InstrumentDescriptor extends Object
-
-
Constructor Summary
Constructors Constructor Description InstrumentDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static InstrumentDescriptorcreate(String name, String description, String unit, InstrumentType type, InstrumentValueType valueType)abstract StringgetDescription()abstract StringgetName()abstract InstrumentTypegetType()abstract StringgetUnit()abstract InstrumentValueTypegetValueType()abstract inthashCode()
-
-
-
Method Detail
-
create
public static InstrumentDescriptor create(String name, String description, String unit, InstrumentType type, InstrumentValueType valueType)
-
getName
public abstract String getName()
-
getDescription
public abstract String getDescription()
-
getUnit
public abstract String getUnit()
-
getType
public abstract InstrumentType getType()
-
getValueType
public abstract InstrumentValueType getValueType()
-
-