mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
21 lines
492 B
JavaScript
21 lines
492 B
JavaScript
define([
|
|
'./datasource',
|
|
],
|
|
function (PromDatasource) {
|
|
'use strict';
|
|
|
|
function metricsQueryEditor() {
|
|
return {controller: 'PrometheusQueryCtrl', templateUrl: 'public/app/plugins/datasource/prometheus/partials/query.editor.html'};
|
|
}
|
|
|
|
function configView() {
|
|
return {templateUrl: 'public/app/plugins/datasource/prometheus/partials/config.html'};
|
|
}
|
|
|
|
return {
|
|
Datasource: PromDatasource,
|
|
metricsQueryEditor: metricsQueryEditor,
|
|
configView: configView,
|
|
};
|
|
});
|