Interface InstrumentSelectorConfig

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
InstrumentSelectorConfig.BuilderBase.InstrumentSelectorConfigImpl

public interface InstrumentSelectorConfig extends Prototype.Api
Settings for OpenTelemetry instrument selectors.

OpenTelemetry allows all values to be null, so this blueprint declares all as optional.

See Also:
  • Method Details

    • builder

      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static InstrumentSelectorConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static InstrumentSelectorConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • type

      Optional<io.opentelemetry.sdk.metrics.InstrumentType> type()
      Instrument type.
      Returns:
      instrument type
    • name

      Optional<String> name()
      Instrument name.
      Returns:
      name
    • unit

      Optional<String> unit()
      Instrument unit.
      Returns:
      instrument unit
    • meterName

      Optional<String> meterName()
      Meter name.
      Returns:
      meter name
    • meterVersion

      Optional<String> meterVersion()
      Meter version.
      Returns:
      meter version
    • meterSchemaUrl

      Optional<String> meterSchemaUrl()
      Meter schema URL.
      Returns:
      meter schema URL