code: protected void remove(MetricsRecordImpl record) {
      String recordName = record.getRecordName();
      TagMap tagTable = record.getTagTable();
          
      RecordMap recordMap = getRecordMap(recordName);
      synchronized (recordMap) {
        Iterator<TagMap> it = recordMap.keySet().iterator();
        while (it.hasNext()) {
          TagMap rowTags = it.next();
          if (rowTags.containsAll(tagTable)) {
            it.remove();
          }
        }
      }
    }
docs: Called by MetricsRecordImpl.remove().  Removes all matching rows in
  the internal table of metric data.  A row matches if it has the same
  tag names and values as record, but it may also have additional
  tags.