kopia lustrzana https://github.com/c9/core
Rename metrics
rodzic
3b698504c2
commit
0825d4b887
|
@ -170,7 +170,7 @@ define(function(require, exports, module) {
|
|||
// just take the first server that doesn't return an error
|
||||
(function tryNext(i) {
|
||||
if (i >= servers.length) {
|
||||
metrics.increment("connect_failed_all", 1, true);
|
||||
metrics.increment("vfs.failed.connect_all", 1, true);
|
||||
return callback(new Error("Disconnected: Could not reach your workspace. Please try again later."));
|
||||
}
|
||||
|
||||
|
|
|
@ -206,7 +206,7 @@ define(function(require, exports, module) {
|
|||
|
||||
vfsEndpoint.get(protocolVersion, function(err, urls) {
|
||||
if (err) {
|
||||
metrics.increment("connect_failed", 1, true);
|
||||
metrics.increment("vfs.failed.connect", 1, true);
|
||||
if (!showErrorTimer) {
|
||||
showErrorTimer = setTimeout(function() {
|
||||
showVfsError(showErrorTimerMessage);
|
||||
|
|
Ładowanie…
Reference in New Issue