java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.ViewSelectorModel

@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator") public class ViewSelectorModel extends Object
  • Constructor Details

    • ViewSelectorModel

      public ViewSelectorModel()
  • Method Details

    • getInstrumentName

      @Nullable public String getInstrumentName()
      Configure instrument name selection criteria.

      If omitted or null, all instrument names match.

    • withInstrumentName

      public ViewSelectorModel withInstrumentName(String instrumentName)
    • getInstrumentType

      @Nullable public InstrumentTypeModel 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

      public ViewSelectorModel withInstrumentType(InstrumentTypeModel instrumentType)
    • getUnit

      @Nullable public String getUnit()
      Configure the instrument unit selection criteria.

      If omitted or null, all instrument units match.

    • withUnit

      public ViewSelectorModel withUnit(String unit)
    • getMeterName

      @Nullable public String getMeterName()
      Configure meter name selection criteria.

      If omitted or null, all meter names match.

    • withMeterName

      public ViewSelectorModel withMeterName(String meterName)
    • getMeterVersion

      @Nullable public String getMeterVersion()
      Configure meter version selection criteria.

      If omitted or null, all meter versions match.

    • withMeterVersion

      public ViewSelectorModel withMeterVersion(String meterVersion)
    • getMeterSchemaUrl

      @Nullable public String getMeterSchemaUrl()
      Configure meter schema url selection criteria.

      If omitted or null, all meter schema URLs match.

    • withMeterSchemaUrl

      public ViewSelectorModel withMeterSchemaUrl(String meterSchemaUrl)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object