
<div class="query-editor-rows gf-form-group">
  <div ng-repeat="target in ctrl.panel.targets" ng-class="{'gf-form-disabled': target.hide}">
    <rebuild-on-change property="ctrl.panel.datasource || target.datasource" show-null="true">
      <plugin-component type="query-ctrl">
      </plugin-component>
    </rebuild-on-change>
  </div>
</div>

<metrics-ds-selector panel-ctrl="ctrl"></metrics-ds-selector>

<div class="gf-form-group">
  <rebuild-on-change property="ctrl.panel.datasource" show-null="true">
    <plugin-component type="query-options-ctrl">
    </plugin-component>
  </rebuild-on-change>
</div>

<div class="clearfix"></div>
