Interface AttributeBindings

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void apply​(io.opentelemetry.instrumentation.api.tracer.AttributeSetter setter, Object[] args)
      Applies the values of the method arguments as attributes on the span for the traced method.
      boolean isEmpty()
      Indicates that the traced method has no parameters bound to attributes.
    • Method Detail

      • isEmpty

        boolean isEmpty()
        Indicates that the traced method has no parameters bound to attributes.
        Returns:
        true if the traced method has no bound parameters; otherwise false
      • apply

        void apply​(io.opentelemetry.instrumentation.api.tracer.AttributeSetter setter,
                   Object[] args)
        Applies the values of the method arguments as attributes on the span for the traced method.
        Parameters:
        setter - the AttributeSetter for setting the attribute on the span
        args - the method arguments