code: func (e *Engine) deleteMeasurement(name []byte) error {
  	// Attempt to find the series keys.
  	itr, err := e.index.MeasurementSeriesIDIterator(name)
  	if err != nil {
  		return err
  	} else if itr == nil {
  		return nil
  	}
  	defer itr.Close()
  	return e.DeleteSeriesRange(tsdb.NewSeriesIteratorAdapter(e.sfile, itr), math.MinInt64, math.MaxInt64)
  }
docs: // DeleteMeasurement deletes a measurement and all related series.