Interface MeterBuilder

    • Method Detail

      • setSchemaUrl

        MeterBuilder setSchemaUrl​(java.lang.String schemaUrl)
        Set the scope schema URL of the resulting Meter. Schema URL is part of Meter identity.
        Parameters:
        schemaUrl - The schema URL.
        Returns:
        this
      • setInstrumentationVersion

        MeterBuilder setInstrumentationVersion​(java.lang.String instrumentationScopeVersion)
        Sets the instrumentation scope version of the resulting Meter. Version is part of Meter identity.
        Parameters:
        instrumentationScopeVersion - The instrumentation scope version.
        Returns:
        this
      • build

        Meter build()
        Gets or creates a Meter instance.
        Returns:
        a Meter instance configured with the provided options.