<selectclass="input-large"ng-options="obj.value as obj.name for obj in datasources"ng-model="panel.datasource"ng-change="datasourceChanged()"></select>
<selectclass="input-medium grafana-target-segment-input"ng-change="get_data()"ng-model="target.function"ng-options="f for f in ['mean', 'sum', 'min', 'max', 'median', 'derivative', 'stddev']"></select>
function
</li>
</a>
<liclass="grafana-target-segment">
group by time
</li>
</li>
<li>
<li>
<selectclass="input-small grafana-target-segment-input"ng-model="target.function"ng-options="f for f in ['mean', 'sum']"></select>
<inputtype="text"
class="input-mini grafana-target-segment-input"
ng-model="target.interval"
placeholder="{{interval}}"
bs-tooltip="'Leave blank for auto handling based on time range and panel width'"