setTag(key, value) {
    // eslint-disable-next-line deprecation/deprecation
    this.tags = { ...this.tags, [key]: value };
    return this;
  }
Sets the data attribute on the current span
@param key Data key
@param value Data value
@deprecated Use `setAttribute()` instead.