You mean to just remove the elasticSearchResource from our version, rename
hostedGraphiteResource as elasticSearchResource, and then just ensure the
calls are compatible?


On Thu, May 15, 2014 at 1:38 PM, rmca <notifications@github.com> wrote:

> In src/app/controllers/dashLoader.js:
>
> > @@ -14,7 +14,8 @@ function (angular, _, moment) {
> >      $scope.init = function() {
> >        $scope.gist_pattern = /(^\d{5,}$)|(^[a-z0-9]{10,}$)|(gist.github.com(\/*.*)\/[a-z0-9]{5,}\/*$)/;
> >        $scope.gist = $scope.gist || {};
> > -      $scope.elasticsearch = $scope.elasticsearch || {};
> > +      $scope.elasticsearch  = $scope.elasticsearch || {};
>
> Will we ever be using elasticsearch? Can we override this functionality
> here for our own ends. That would mean that whereever we refer to
> loading/saving to ES we actually mean to HG.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/metricfire/grafana/pull/2/files#r12702626>
> .
>