diff --git a/plugins/c9.vfs.client/endpoint.js b/plugins/c9.vfs.client/endpoint.js index 1ed7ee29..3bd55ca3 100644 --- a/plugins/c9.vfs.client/endpoint.js +++ b/plugins/c9.vfs.client/endpoint.js @@ -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.")); } diff --git a/plugins/c9.vfs.client/vfs_client.js b/plugins/c9.vfs.client/vfs_client.js index a873bce5..31ec4845 100644 --- a/plugins/c9.vfs.client/vfs_client.js +++ b/plugins/c9.vfs.client/vfs_client.js @@ -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);