         [:label {:for "end-date"} "To: "]
         (html/text-field {:ref "end-date", :class "form-control"} "end-date" (get selected-date-range 1))]))))
 
-(defn metrics-filter [{:keys [metrics selected-filter]} owner]
+(defn metrics-regexp-filter [{:keys [metrics metrics-filter]} owner]
   (reify
     om/IRenderState
     (render-state [_ {:keys [event-channel]}]

                  (when (not= pre-query (extract-query)) (retrieve-alerts)))

                :filter-selected
                (route-update {:selected-filter message})

                :detector-selected
                (route-update {:selected-detector message

                         (select-keys state [:detectors :selected-detector])
                         {:init-state {:event-channel event-channel}})
               (om/build query-controls
                         (select-keys state [:metrics-filter
                                             :metrics
                                             :selected-metric
                                             :selected-date-range])
