' +
- '
' +
- '
' +
+ template: '
' + // chartElemt
+ '
' + // timeElem
+ '
' + // legendAnnContainer
+ '
' + // legendElem
+ '
' + // annElem
'
',
link: function (scope, elem, attrs, $compile) {
var chartElem = d3.select(elem.children()[0]);
@@ -2472,7 +2478,7 @@ bosunApp.directive('tsGraph', ['$window', 'nfmtFilter', function ($window, fmtfi
function datefmt(d) {
return moment(d).utc().format(mfmt);
}
- }
+ },
};
}]);
bosunControllers.controller('ErrorCtrl', ['$scope', '$http', '$location', '$route', function ($scope, $http, $location, $route) {
@@ -2494,7 +2500,8 @@ bosunControllers.controller('ErrorCtrl', ['$scope', '$http', '$location', '$rout
})
.error(function (data) {
$scope.error = "Error fetching data: " + data;
- })["finally"](function () { $scope.loading = false; });
+ })
+ .finally(function () { $scope.loading = false; });
$scope.click = function (err, event) {
event.stopPropagation();
};
@@ -2547,22 +2554,22 @@ bosunControllers.controller('ErrorCtrl', ['$scope', '$http', '$location', '$rout
};
}]);
///
-var TagSet = (function () {
+var TagSet = /** @class */ (function () {
function TagSet() {
}
return TagSet;
}());
-var TagV = (function () {
+var TagV = /** @class */ (function () {
function TagV() {
}
return TagV;
}());
-var RateOptions = (function () {
+var RateOptions = /** @class */ (function () {
function RateOptions() {
}
return RateOptions;
}());
-var Filter = (function () {
+var Filter = /** @class */ (function () {
function Filter(f) {
this.type = f && f.type || "auto";
this.tagk = f && f.tagk || "";
@@ -2571,12 +2578,12 @@ var Filter = (function () {
}
return Filter;
}());
-var FilterMap = (function () {
+var FilterMap = /** @class */ (function () {
function FilterMap() {
}
return FilterMap;
}());
-var Query = (function () {
+var Query = /** @class */ (function () {
function Query(filterSupport, q) {
this.aggregator = q && q.aggregator || 'sum';
this.metric = q && q.metric || '';
@@ -2674,7 +2681,7 @@ var Query = (function () {
};
return Query;
}());
-var GraphRequest = (function () {
+var GraphRequest = /** @class */ (function () {
function GraphRequest() {
this.start = '1h-ago';
this.queries = [];
@@ -2707,7 +2714,7 @@ var GraphRequest = (function () {
return GraphRequest;
}());
var graphRefresh;
-var Version = (function () {
+var Version = /** @class */ (function () {
function Version() {
}
return Version;
@@ -2761,7 +2768,7 @@ bosunControllers.controller('GraphCtrl', ['$scope', '$http', '$location', '$rout
"d": "d",
"w": "w",
"n": "M",
- "y": "y"
+ "y": "y",
};
var isRel = /^(\d+)(\w)-ago$/;
function RelToAbs(m) {
@@ -2799,7 +2806,7 @@ bosunControllers.controller('GraphCtrl', ['$scope', '$http', '$location', '$rout
$scope.error = error;
});
};
- $scope.deleteAnnotation = function () { return $http["delete"]('/api/annotation/' + $scope.annotation.Id)
+ $scope.deleteAnnotation = function () { return $http.delete('/api/annotation/' + $scope.annotation.Id)
.success(function (data) {
$scope.error = "";
$scope.annotations = _.without($scope.annotations, _.findWhere($scope.annotations, { Id: $scope.annotation.Id }));
@@ -3073,7 +3080,8 @@ bosunControllers.controller('GraphCtrl', ['$scope', '$http', '$location', '$rout
.error(function (error) {
$scope.error = error;
$scope.running = '';
- })["finally"](function () {
+ })
+ .finally(function () {
$scope.stop();
if ($scope.refresh) {
graphRefresh = $timeout(function () { get(true); }, 5000);
@@ -3088,7 +3096,7 @@ bosunApp.directive('tsPopup', function () {
return {
restrict: 'E',
scope: {
- url: '='
+ url: '=',
},
template: '
',
link: function (scope, elem, attrs) {
@@ -3099,15 +3107,15 @@ bosunApp.directive('tsPopup', function () {
}
var text = '
';
button.popover({
- content: text
+ content: text,
});
});
- }
+ },
};
});
bosunApp.directive('tsAlertHistory', function () {
return {
- templateUrl: '/partials/alerthistory.html'
+ templateUrl: '/partials/alerthistory.html',
};
});
bosunControllers.controller('HistoryCtrl', ['$scope', '$http', '$location', '$route', function ($scope, $http, $location, $route) {
@@ -3140,7 +3148,7 @@ bosunControllers.controller('HistoryCtrl', ['$scope', '$http', '$location', '$ro
}
});
selected_alerts[ak] = {
- History: v.Events.reverse()
+ History: v.Events.reverse(),
};
});
if (Object.keys(selected_alerts).length > 0) {
@@ -3197,7 +3205,7 @@ bosunControllers.controller('HostCtrl', ['$scope', '$http', '$location', '$route
new Query(false, {
metric: 'os.cpu',
derivative: 'counter',
- tags: { host: $scope.host }
+ tags: { host: $scope.host },
})
];
$http.get('/api/graph?' + 'json=' + encodeURIComponent(JSON.stringify(cpu_r)) + autods)
@@ -3212,11 +3220,11 @@ bosunControllers.controller('HostCtrl', ['$scope', '$http', '$location', '$route
mem_r.start = $scope.time;
mem_r.queries.push(new Query(false, {
metric: "os.mem.total",
- tags: { host: $scope.host }
+ tags: { host: $scope.host },
}));
mem_r.queries.push(new Query(false, {
metric: "os.mem.used",
- tags: { host: $scope.host }
+ tags: { host: $scope.host },
}));
$http.get('/api/graph?' + 'json=' + encodeURIComponent(JSON.stringify(mem_r)) + autods)
.success(function (data) {
@@ -3234,7 +3242,7 @@ bosunControllers.controller('HostCtrl', ['$scope', '$http', '$location', '$route
metric: "os.net.bytes",
rate: true,
rateOptions: { counter: true, resetValue: 1 },
- tags: { host: $scope.host, iface: "*", direction: "*" }
+ tags: { host: $scope.host, iface: "*", direction: "*" },
})
];
$http.get('/api/graph?' + 'json=' + encodeURIComponent(JSON.stringify(net_bytes_r)) + autods)
@@ -3264,11 +3272,11 @@ bosunControllers.controller('HostCtrl', ['$scope', '$http', '$location', '$route
fs_r.queries = [
new Query(false, {
metric: "os.disk.fs.space_total",
- tags: { host: $scope.host, disk: "*" }
+ tags: { host: $scope.host, disk: "*" },
}),
new Query(false, {
metric: "os.disk.fs.space_used",
- tags: { host: $scope.host, disk: "*" }
+ tags: { host: $scope.host, disk: "*" },
})
];
$http.get('/api/graph?' + 'json=' + encodeURIComponent(JSON.stringify(fs_r)) + autods)
@@ -3339,7 +3347,8 @@ bosunControllers.controller('IncidentCtrl', ['$scope', '$http', '$location', '$r
})
.error(function (error) {
v.error = error;
- })["finally"](function () {
+ })
+ .finally(function () {
v.doneLoading = true;
});
};
@@ -3398,7 +3407,7 @@ bosunControllers.controller('ItemsCtrl', ['$scope', '$http', function ($scope, $
});
}]);
///
-var LinkService = (function () {
+var LinkService = /** @class */ (function () {
function LinkService() {
}
LinkService.prototype.GetEditSilenceLink = function (silence, silenceId) {
@@ -3420,12 +3429,12 @@ var LinkService = (function () {
return LinkService;
}());
bosunApp.service("linkService", LinkService);
-var Tag = (function () {
+var Tag = /** @class */ (function () {
function Tag() {
}
return Tag;
}());
-var DP = (function () {
+var DP = /** @class */ (function () {
function DP() {
}
return DP;
@@ -3457,7 +3466,7 @@ bosunControllers.controller('PutCtrl', ['$scope', '$http', '$route', function ($
metric: $scope.metric,
timestamp: ts,
value: parseFloat(v.v),
- tags: tags
+ tags: tags,
});
}
});
@@ -3583,7 +3592,7 @@ bosunControllers.controller('SilenceCtrl', ['$scope', '$http', '$location', '$ro
tags: tags.join(','),
edit: $scope.edit,
forget: $scope.forget ? 'true' : null,
- message: $scope.message
+ message: $scope.message,
};
return data;
}
@@ -3625,7 +3634,8 @@ bosunControllers.controller('SilenceCtrl', ['$scope', '$http', '$location', '$ro
$http.post('/api/silence/set', state)
.error(function (error) {
$scope.error = error;
- })["finally"](get);
+ })
+ .finally(get);
};
$scope.clear = function (id) {
if (!window.confirm('Clear this silence?')) {
@@ -3635,7 +3645,8 @@ bosunControllers.controller('SilenceCtrl', ['$scope', '$http', '$location', '$ro
$http.post('/api/silence/clear?id=' + id, {})
.error(function (error) {
$scope.error = error;
- })["finally"](get);
+ })
+ .finally(get);
};
$scope.time = function (v) {
var m = moment(v).utc();
@@ -3651,7 +3662,7 @@ bosunApp.directive('tsAckGroup', ['$location', '$timeout', function ($location,
ack: '=',
groups: '=tsAckGroup',
schedule: '=',
- timeanddate: '='
+ timeanddate: '=',
},
templateUrl: '/partials/ackgroup.html',
link: function (scope, elem, attrs) {
@@ -3748,7 +3759,7 @@ bosunApp.directive('tsAckGroup', ['$location', '$timeout', function ($location,
});
return url;
};
- }
+ },
};
}]);
bosunApp.directive('tsState', ['$sce', '$http', function ($sce, $http) {
@@ -3811,60 +3822,60 @@ bosunApp.directive('tsState', ['$sce', '$http', function ($sce, $http) {
scope.state.RuleUrl += '&template_group=' + encodeURIComponent(groups.join(','));
}
scope.state.Body = $sce.trustAsHtml(scope.state.Body);
- }
+ },
};
}]);
bosunApp.directive('tsNote', function () {
return {
restrict: 'E',
- templateUrl: '/partials/note.html'
+ templateUrl: '/partials/note.html',
};
});
bosunApp.directive('tsAck', function () {
return {
restrict: 'E',
- templateUrl: '/partials/ack.html'
+ templateUrl: '/partials/ack.html',
};
});
bosunApp.directive('tsClose', function () {
return {
restrict: 'E',
- templateUrl: '/partials/close.html'
+ templateUrl: '/partials/close.html',
};
});
bosunApp.directive('tsCancelClose', function () {
return {
restrict: 'E',
- templateUrl: '/partials/cancelClose.html'
+ templateUrl: '/partials/cancelClose.html',
};
});
bosunApp.directive('tsForget', function () {
return {
restrict: 'E',
- templateUrl: '/partials/forget.html'
+ templateUrl: '/partials/forget.html',
};
});
bosunApp.directive('tsPurge', function () {
return {
restrict: 'E',
- templateUrl: '/partials/purge.html'
+ templateUrl: '/partials/purge.html',
};
});
bosunApp.directive('tsForceClose', function () {
return {
restrict: 'E',
- templateUrl: '/partials/forceClose.html'
+ templateUrl: '/partials/forceClose.html',
};
});
///
-var TokenListController = (function () {
+var TokenListController = /** @class */ (function () {
function TokenListController($http, auth) {
var _this = this;
this.$http = $http;
this.auth = auth;
- this["delete"] = function () {
+ this.delete = function () {
_this.status = "Deleting...";
- _this.$http["delete"]("/api/tokens?hash=" + encodeURIComponent(_this.deleteTarget))
+ _this.$http.delete("/api/tokens?hash=" + encodeURIComponent(_this.deleteTarget))
.then(function () {
_this.status = "";
_this.load();
@@ -3910,7 +3921,7 @@ bosunApp.component('tokenList', {
templateUrl: '/static/partials/tokenList.html'
});
///
-var NewTokenController = (function () {
+var NewTokenController = /** @class */ (function () {
function NewTokenController($http, auth) {
var _this = this;
this.$http = $http;
diff --git a/cmd/scollector/main.go b/cmd/scollector/main.go
index 7e2eca2f92..6b41e07548 100644
--- a/cmd/scollector/main.go
+++ b/cmd/scollector/main.go
@@ -303,7 +303,7 @@ func main() {
}
}
}()
- sChan := make(chan os.Signal)
+ sChan := make(chan os.Signal, 1)
signal.Notify(sChan, os.Interrupt)
<-sChan
close(cquit)
diff --git a/cmd/tsdbrelay/integrationTest/main.go b/cmd/tsdbrelay/integrationTest/main.go
index 46f1410e64..c088520126 100644
--- a/cmd/tsdbrelay/integrationTest/main.go
+++ b/cmd/tsdbrelay/integrationTest/main.go
@@ -78,7 +78,7 @@ func init() {
fatal("DC3-TSDB", http.ListenAndServe(":6556", dc2TsdbMux))
}()
- ch := make(chan os.Signal)
+ ch := make(chan os.Signal, 1)
signal.Notify(ch, os.Kill, os.Interrupt)
go func() {
<-ch
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 6ba476e38d..1251676364 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.13 AS bosun_builder
+FROM golang:1.21 AS bosun_builder
WORKDIR /bosun
COPY . /bosun
diff --git a/go.sum b/go.sum
index 5a3a2ef48e..bb873e29d3 100644
--- a/go.sum
+++ b/go.sum
@@ -29,9 +29,7 @@ github.com/StackExchange/wmi v0.0.0-20180725035823-b12b22c5341f/go.mod h1:3eOhrU
github.com/VividCortex/ewma v1.1.1/go.mod h1:2Tkkvm3sRDVXaiyucHiACn4cqf7DpdyLvmxzcbUokwA=
github.com/ajstarks/svgo v0.0.0-20151117013546-fd2151ebabde h1:spsB1I/8GhRhVDhuaFzIJ563/DYIOpUGcZsySZK1ofU=
github.com/ajstarks/svgo v0.0.0-20151117013546-fd2151ebabde/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
-github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc h1:cAKDfWh5VpdgMhJosfJnn5/FoN2SRZ4p7fJNX58YPaU=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
-github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf h1:qet1QNfXsQxTZqLG4oE62mJzwPIB8+Tee4RNCL9ulrY=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alicebob/gopher-json v0.0.0-20180125190556-5a6b3ba71ee6 h1:45bxf7AZMwWcqkLzDAQugVEwedisr5nRJ1r+7LYnv0U=
github.com/alicebob/gopher-json v0.0.0-20180125190556-5a6b3ba71ee6/go.mod h1:SGnFV6hVsYE877CKEZ6tDNTjaSXYUk6QqoIK6PrAtcc=
@@ -107,7 +105,6 @@ github.com/getsentry/raven-go v0.1.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49P
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/glendc/gopher-json v0.0.0-20170414221815-dc4743023d0c h1:iRTj5SRYwbvsygdwVp+y9kZT145Y1s6xOPpeOEIeGc4=
github.com/glendc/gopher-json v0.0.0-20170414221815-dc4743023d0c/go.mod h1:Gja1A+xZ9BoviGJNA2E9vFkPjjsl+CoJxSXiQM1UXtw=
-github.com/go-ini/ini v1.21.1 h1:+QXUYsI7Tfxc64oD6R5BxU/Aq+UwGkyjH4W/hMNG7bg=
github.com/go-ini/ini v1.21.1/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8=
github.com/go-kit/kit v0.8.0 h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0=
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
@@ -130,7 +127,6 @@ github.com/golang/freetype v0.0.0-20150924013838-f29eb116deb3/go.mod h1:E/TSTwGw
github.com/golang/glog v0.0.0-20141105023935-44145f04b68c/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
-github.com/golang/groupcache v0.0.0-20180924190550-6f2cf27854a4 h1:6UVLWz0fIIrv0UVj6t0A7cL48n8IyAdLVQqAYzEfsKI=
github.com/golang/groupcache v0.0.0-20180924190550-6f2cf27854a4/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 h1:ZgQEtGgCBiWRM39fZuwSd1LwSqqSW0hOdXCYYDX0R3I=
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
@@ -156,7 +152,6 @@ github.com/google/gofuzz v0.0.0-20150304233714-bbcb9da2d746/go.mod h1:HP5RmnzzSN
github.com/google/pprof v0.0.0-20180605153948-8b03ce837f34/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
github.com/googleapis/gnostic v0.0.0-20180520015035-48a0ecefe2e4/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY=
github.com/gophercloud/gophercloud v0.0.0-20170607034829-caf34a65f602/go.mod h1:3WdhXV3rUYy9p6AUW8d94kr+HS62Y4VL9mBnFxsD8q4=
-github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/gorilla/context v1.1.1 h1:AWwleXJkX/nhcU9bZSnZoi3h/qGYqQAGhq6zZe/aQW8=
github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
@@ -193,7 +188,6 @@ github.com/jackc/fake v0.0.0-20150926172116-812a484cc733/go.mod h1:WrMFNQdiFJ80s
github.com/jackc/pgx v3.2.0+incompatible/go.mod h1:0ZGrqGqkRlliWnWB4zKnWtjbSWbGkVEFm4TeybAXq+I=
github.com/jinzhu/now v0.0.0-20151001141511-ce80572eb55a h1:E3/FQGI4lCWmMwCgJCQzE9bYVKOLzAc4jqK8DnL02Ow=
github.com/jinzhu/now v0.0.0-20151001141511-ce80572eb55a/go.mod h1:oHTiXerJ20+SfYcrdlBO7rzZRJWGwSTQ0iUY2jI6Gfc=
-github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7 h1:SMvOWPJCES2GdFracYbBQh93GXac8fq7HeN6JnpduB8=
github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k=
github.com/jmespath/go-jmespath v0.3.0 h1:OS12ieG61fsCg5+qLJ+SsW9NicxNkg3b25OyT2yCeUc=
github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik=
@@ -202,7 +196,6 @@ github.com/jmoiron/jsonq v0.0.0-20150511023944-e874b168d07e/go.mod h1:+rHyWac2R9
github.com/jordan-wright/email v0.0.0-20151016173557-f61123ea07e1 h1:t9N9joT8+GL35qGegwt+eOgR5RMTaNiIxjzUf7XQQsE=
github.com/jordan-wright/email v0.0.0-20151016173557-f61123ea07e1/go.mod h1:1c7szIrayyPPB/987hsnvNzLushdWf4o/79s3P08L8A=
github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
-github.com/jtolds/gls v4.2.1+incompatible h1:fSuqC+Gmlu6l/ZYAoZzx2pyucC8Xza35fpRVWLVmUEE=
github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
github.com/julienschmidt/httprouter v0.0.0-20150905172533-109e267447e9/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
@@ -211,7 +204,6 @@ github.com/justinas/alice v0.0.0-20160910103822-1051eaf52fca/go.mod h1:oLH0CmIax
github.com/kardianos/osext v0.0.0-20160811001526-c2c54e542fb7 h1:pKv4oHt3kat9yf1jofmaRv3KxGaY5B7VV55GrfXFa74=
github.com/kardianos/osext v0.0.0-20160811001526-c2c54e542fb7/go.mod h1:1NbS8ALrpOvjt0rHPNLyCIeMtbizbir8U//inJ+zuB8=
github.com/knz/strtime v0.0.0-20181018220328-af2256ee352c/go.mod h1:4ZxfWkxwtc7dBeifERVVWRy9F9rTU9p0yCDgeCtlius=
-github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
@@ -263,7 +255,6 @@ github.com/onsi/gomega v1.4.1 h1:PZSj/UFNaVp3KxrzHOcS7oyuWA7LoOY/77yCTEFu21U=
github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
github.com/opentracing-contrib/go-stdlib v0.0.0-20170113013457-1de4cc2120e7/go.mod h1:PLldrQSroqzH70Xl+1DQcGnefIbqsKR7UDaiux3zV+w=
github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74=
-github.com/opentracing/opentracing-go v1.0.1 h1:IYN/cK5AaULfeMAlgFZSIBLSpsZ5MRHDy1fKBEqqJfQ=
github.com/opentracing/opentracing-go v1.0.1/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
@@ -315,13 +306,10 @@ github.com/siddontang/ledisdb v0.0.0-20190202134119-8ceb77e66a92 h1:qvsJwGToa8rx
github.com/siddontang/ledisdb v0.0.0-20190202134119-8ceb77e66a92/go.mod h1:mF1DpOSOUiJRMR+FDqaqu3EBqrybQtrDDszLUZ6oxPg=
github.com/siddontang/rdb v0.0.0-20150307021120-fc89ed2e418d h1:NVwnfyR3rENtlz62bcrkXME3INVUa4lcdGt+opvxExs=
github.com/siddontang/rdb v0.0.0-20150307021120-fc89ed2e418d/go.mod h1:AMEsy7v5z92TR1JKMkLLoaOQk++LVnOKL3ScbJ8GNGA=
-github.com/sirupsen/logrus v1.2.0 h1:juTguoYk5qI21pwyTXY3B3Y5cOTH3ZUyZCg1v/mihuo=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
-github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/assertions v1.1.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo=
github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM=
-github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a h1:JSvGDIbmil4Ui/dDdFBExb7/cmkNjyX5F97oglmvCDo=
github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s=
github.com/smartystreets/gunit v1.3.4/go.mod h1:ZjM1ozSIMJlAz/ay4SG8PeKF00ckUp+zMHZXV9/bvak=
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ=
@@ -329,7 +317,6 @@ github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasO
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4=
@@ -350,7 +337,6 @@ github.com/yuin/gopher-lua v0.0.0-20190514113301-1cd887cd7036 h1:1b6PAtenNyhsmo/
github.com/yuin/gopher-lua v0.0.0-20190514113301-1cd887cd7036/go.mod h1:gqRgreBUhTSL0GeU64rtZ3Uq3wtjOa/TB2YfrtkCbVQ=
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
golang.org/x/crypto v0.0.0-20180621125126-a49355c7e3f8/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
-golang.org/x/crypto v0.0.0-20180904163835-0709b304e793 h1:u+LnwYTOOW7Ukr/fppxEb1Nwz0AtPflrblfvUudpo+I=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 h1:ObdrDkeb4kJdCP557AjRjq69pTHfNouLtWZG7j9rPN8=
@@ -365,7 +351,6 @@ golang.org/x/net v0.0.0-20180320002117-6078986fec03/go.mod h1:mL1N/T3taQHkDXs73r
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181217023233-e147a9138326 h1:iCzOf0xz39Tstp+Tu/WwyGjUXCk34QhQORRxBeXXTA4=
golang.org/x/net v0.0.0-20181217023233-e147a9138326/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
@@ -374,12 +359,10 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b h1:0mm1VjtFUOIlE1SbDlwjYaDxZVDP2S5ou6y0gSgXHu8=
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/oauth2 v0.0.0-20160608215109-65a8d08c6292 h1:HXWhxjZW2BJxGm1bt3b3Au7QNJc+/D8pjM1tfdDLlm8=
golang.org/x/oauth2 v0.0.0-20160608215109-65a8d08c6292/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be h1:vEDujvNQGv4jgYKudGeI/+DAX4Jffq6hpD55MmoEvKs=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20181108010431-42b317875d0f h1:Bl/8QSvNqXvPGPGXa2z5xUTmV7VDcZyvRZ+QQXkXTZQ=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=
@@ -387,18 +370,13 @@ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5 h1:mzjBh+S5frKOsOBobWIMAbXavqjmgO17k/2puhcFR94=
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190204203706-41f3e6584952 h1:FDfvYgoVsA7TTZSbgiqjAbfPbK47CNHdWl3h/PJtii0=
golang.org/x/sys v0.0.0-20190204203706-41f3e6584952/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd h1:r7DufRZuZbWB7j439YfAzP8RPDa9unLkpwQKUYbIMPI=
golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/text v0.0.0-20170810154203-b19bf474d317 h1:WKW+OPdYPlvOTVGHuMfjnIC6yY2SI93yFB0pZ7giBmQ=
golang.org/x/text v0.0.0-20170810154203-b19bf474d317/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
@@ -416,7 +394,6 @@ google.golang.org/appengine v0.0.0-20170522224838-a2f4131514e5/go.mod h1:EbEs0AV
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
-google.golang.org/cloud v0.0.0-20160622021550-0a83eba2cadb h1:IAkbDsVCpt6+HIt4uWPISM5JflWvw6fMk+A1S8aZLxc=
google.golang.org/cloud v0.0.0-20160622021550-0a83eba2cadb/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk=
google.golang.org/genproto v0.0.0-20170531203552-aa2eb687b4d3/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
@@ -424,11 +401,9 @@ google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRn
google.golang.org/grpc v0.0.0-20170516193736-3419b4295567/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
-gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/asn1-ber.v1 v1.0.0-20141119150059-9eae18c3681a h1:tJDo4rNtNpoHS17CG6Ri6V4TtUaX25LWuHr9rvuG+fc=
gopkg.in/asn1-ber.v1 v1.0.0-20141119150059-9eae18c3681a/go.mod h1:cuepJuh7vyXfUyUwEgHQXw849cJrilpS5NeIjOWESAw=
-gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
@@ -450,7 +425,6 @@ gopkg.in/vmihailenco/msgpack.v2 v2.9.1/go.mod h1:/3Dn1Npt9+MYyLpYYXjInO/5jvMLamn
gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0 h1:POO/ycCATvegFmVuPpQzZFJ+pGZeX22Ufu6fibxDVjU=
gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0/go.mod h1:WDnlLJ4WF5VGsH/HVa3CI79GS0ol3YnhVnKP89i0kNg=
gopkg.in/yaml.v2 v2.2.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE=
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4 h1:/eiJrUcujPVeJ3xlSWaiNi3uSVmDGBK1pDHUHAnao1I=
diff --git a/package-lock.json b/package-lock.json
index 4a1f32240d..e252625c53 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,11 +1,24 @@
{
+ "name": "bosun",
+ "lockfileVersion": 3,
"requires": true,
- "lockfileVersion": 1,
- "dependencies": {
- "typescript": {
+ "packages": {
+ "": {
+ "dependencies": {
+ "typescript": "^2.4.2"
+ }
+ },
+ "node_modules/typescript": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.4.2.tgz",
- "integrity": "sha1-+DlfhdRZJ2BnyYiqQYN6j4KHCEQ="
+ "integrity": "sha1-+DlfhdRZJ2BnyYiqQYN6j4KHCEQ=",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=4.2.0"
+ }
}
}
}