Interface SynchronousInstrument<B extends SynchronousInstrument.BoundInstrument>

    • Method Detail

      • bind

        B bind​(Labels labels)
        Returns a Bound Instrument associated with the specified labels. Multiples requests with the same set of labels may return the same Bound Instrument instance.

        It is recommended that callers keep a reference to the Bound Instrument instead of always calling this method for every operation.

        Parameters:
        labels - the set of labels, as key-value pairs.
        Returns:
        a Bound Instrument
        Throws:
        NullPointerException - if labelValues is null.