diff --git a/docs/metrics.md b/docs/metrics.md index de856831..adfaec57 100644 --- a/docs/metrics.md +++ b/docs/metrics.md @@ -4,8 +4,6 @@ See [Windshaft metrics documentation](https://github.com/CartoDB/Windshaft/blob/ The next list includes the API endpoints, each endpoint may have several inner timers, some of them are displayed within this list as subitems. Find the description for them in the Inner timers section. ## Timers -- **windshaft-cartodb.get_infowindow**: time to retrieve an infowindow popup -- **windshaft-cartodb.get_map_metadata**: time to retrieve metadata for embedded maps - **windshaft-cartodb.flush_cache**: time to flush the tile and sql cache - **windshaft-cartodb.get_template**: time to retrieve an specific template - **windshaft-cartodb.delete_template**: time to delete an specific template diff --git a/lib/cartodb/cartodb_windshaft.js b/lib/cartodb/cartodb_windshaft.js index a77a56a3..e709e3a7 100644 --- a/lib/cartodb/cartodb_windshaft.js +++ b/lib/cartodb/cartodb_windshaft.js @@ -137,9 +137,6 @@ var CartodbWindshaft = function(serverOptions) { * Helper to allow access to the layer to be used in the maps infowindow popup. */ ws.get(serverOptions.base_url + '/infowindow', function(req, res){ - if ( req.profiler && req.profiler.statsd_client ) { - req.profiler.start('windshaft-cartodb.get_infowindow'); - } ws.doCORS(res); Step( function(){ @@ -161,9 +158,6 @@ var CartodbWindshaft = function(serverOptions) { * Helper to allow access to metadata to be used in embedded maps. */ ws.get(serverOptions.base_url + '/map_metadata', function(req, res){ - if ( req.profiler && req.profiler.statsd_client ) { - req.profiler.start('windshaft-cartodb.get_map_metadata'); - } ws.doCORS(res); Step( function(){