Added distribution phone home cluster stats url.

This commit is contained in:
Boaz Leskes 2014-01-06 22:37:46 +01:00
parent bc96c851a4
commit 4c75eb49ef
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ module.exports = function (grunt) {
},
statsReportUrl: {
dev: '"http://" + window.location.hostname + ":'+ (grunt.option('es_port') || 9200) +'/.marvel_cluster_report/report"',
dist: '""' //TODO: INSERT URL
dist: '"http://stats.marvel.elasticsearch.com/"'
},
defaultRoute: {
dev: '/dashboard/file/marvel.overview.json',

View file

@ -170,7 +170,7 @@ function (angular, app, _, kbn) {
};
var sendReport = function(data) {
if (!$scope.config.report_url) {
if (!$scope.config.stats_report_url) {
return;
}