code: public void setTags(Map<String, String> tags) {
      	TSDBEntity.validateTags(tags);
      	
          _tags.clear();
          if (tags != null) {
              _tags.putAll(tags);
          }
      }
docs: Replaces the tags for a metric. Tags cannot use any of the reserved tag names.
  
  @param  tags  The new tags for the metric.