Class ViewSelectorModel
java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.ViewSelectorModel
@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator")
public class ViewSelectorModel
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanConfigure instrument name selection criteria.Configure instrument type selection criteria.Configure meter name selection criteria.Configure meter schema url selection criteria.Configure meter version selection criteria.getUnit()Configure the instrument unit selection criteria.inthashCode()toString()withInstrumentName(String instrumentName) withInstrumentType(InstrumentTypeModel instrumentType) withMeterName(String meterName) withMeterSchemaUrl(String meterSchemaUrl) withMeterVersion(String meterVersion)
-
Constructor Details
-
ViewSelectorModel
public ViewSelectorModel()
-
-
Method Details
-
getInstrumentName
Configure instrument name selection criteria.If omitted or null, all instrument names match.
-
withInstrumentName
-
getInstrumentType
Configure instrument type selection criteria.Values include:
* counter: Synchronous counter instruments.
* gauge: Synchronous gauge instruments.
* histogram: Synchronous histogram instruments.
* observable_counter: Asynchronous counter instruments.
* observable_gauge: Asynchronous gauge instruments.
* observable_up_down_counter: Asynchronous up down counter instruments.
* up_down_counter: Synchronous up down counter instruments.
If omitted, all instrument types match.
-
withInstrumentType
-
getUnit
Configure the instrument unit selection criteria.If omitted or null, all instrument units match.
-
withUnit
-
getMeterName
Configure meter name selection criteria.If omitted or null, all meter names match.
-
withMeterName
-
getMeterVersion
Configure meter version selection criteria.If omitted or null, all meter versions match.
-
withMeterVersion
-
getMeterSchemaUrl
Configure meter schema url selection criteria.If omitted or null, all meter schema URLs match.
-
withMeterSchemaUrl
-
toString
-
hashCode
public int hashCode() -
equals
-