diff options
-rw-r--r-- | src/chttpd.erl | 4 | ||||
-rw-r--r-- | src/chttpd_db.erl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/chttpd.erl b/src/chttpd.erl index 649b23bc..f3c4a9da 100644 --- a/src/chttpd.erl +++ b/src/chttpd.erl @@ -145,8 +145,8 @@ handle_request(MochiReq) -> Resp:get(code), RequestTime ], - Customer = cloudant_util:customer_name(HttpReq), - couch_metrics_req:notify({request, [Customer|RequestInfo]}), + % Customer = cloudant_util:customer_name(HttpReq), + % couch_metrics_req:notify({request, [Customer|RequestInfo]}), showroom_log:message(notice, "~s ~s ~s ~s ~B ~B", RequestInfo), couch_stats_collector:record({couchdb, request_time}, RequestTime), couch_stats_collector:increment({httpd, requests}), diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl index 9e04ffa1..3b35220a 100644 --- a/src/chttpd_db.erl +++ b/src/chttpd_db.erl @@ -143,7 +143,7 @@ create_db_req(#httpd{user_ctx=UserCtx}=Req, DbName) -> delete_db_req(#httpd{user_ctx=UserCtx}=Req, DbName) -> case fabric:delete_db(DbName, [{user_ctx, UserCtx}]) of ok -> - couch_metrics_disk:notify({db_delete, {UserCtx#user_ctx.name, DbName}}), + % couch_metrics_disk:notify({db_delete, {UserCtx#user_ctx.name, DbName}}), send_json(Req, 200, {[{ok, true}]}); Error -> throw(Error) |