mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
24 lines
698 B
JavaScript
24 lines
698 B
JavaScript
define([
|
|
'angular',
|
|
'./bucketAgg',
|
|
'./metricAgg',
|
|
],
|
|
function (angular) {
|
|
'use strict';
|
|
|
|
var module = angular.module('grafana.directives');
|
|
|
|
module.directive('metricQueryEditorElasticsearch', function() {
|
|
return {controller: 'ElasticQueryCtrl', templateUrl: 'app/plugins/datasource/elasticsearch/partials/query.editor.html'};
|
|
});
|
|
|
|
module.directive('metricQueryOptionsElasticsearch', function() {
|
|
return {templateUrl: 'app/plugins/datasource/elasticsearch/partials/query.options.html'};
|
|
});
|
|
|
|
module.directive('annotationsQueryEditorElasticsearch', function() {
|
|
return {templateUrl: 'app/plugins/datasource/elasticsearch/partials/annotations.editor.html'};
|
|
});
|
|
|
|
});
|