lib/opentelemetry/trace/span.rb in opentelemetry-api-0.14.0 vs lib/opentelemetry/trace/span.rb in opentelemetry-api-0.15.0

- old
+ new

@@ -49,9 +49,12 @@ # documents} certain "standard attributes" that have prescribed semantic # meanings. # # @param [String] key # @param [String, Boolean, Numeric, Array<String, Numeric, Boolean>] value + # Values must be non-nil and (array of) string, boolean or numeric type. + # Array values must not contain nil elements and all elements must be of + # the same basic type (string, numeric, boolean). # # @return [self] returns itself def set_attribute(key, value) self end