Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ZAPI-708: Exclude changefeeds routes from trace processing
  • Loading branch information
richardkiene committed Dec 9, 2015
1 parent cb2fd11 commit 6cc24fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/vmapi.js
Expand Up @@ -272,7 +272,9 @@ VMAPI.prototype.setMiddleware = function () {
server.use(restify.requestLogger());

var EVT_SKIP_ROUTES = {
'ping': true
'ping': true,
'changefeeds': true,
'changefeeds_stats': true
};
server.use(function (req, res, next) {
req.trace = trace_event.createBunyanTracer({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"assert-plus": "0.1.0",
"async": "0.2.6",
"bunyan": "1.3.4",
"changefeed": "1.1.0",
"changefeed": "1.1.3",
"deep-diff": "0.3.3",
"effluent-logger": "git+https://github.com/joshwilsdon/effluent-logger.git#d662f161a07f94045ad2afb45442931511c40e51",
"filed": "0.0.5",
Expand Down

0 comments on commit 6cc24fb

Please sign in to comment.