Преглед изворни кода

changed type to query_type as it conflicts with logstash

Henry Oswald пре 12 година
родитељ
комит
c8fae26995
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      libraries/metrics/mongodb.coffee

+ 1 - 1
libraries/metrics/mongodb.coffee

@@ -32,7 +32,7 @@ module.exports =
 					time = new Date() - start
 					logger.log
 						query: db_command.query
-						type: type
+						query_type: type
 						collection: collection
 						"response-time": new Date() - start
 						"mongo request"