Parcourir la source

changed type to query_type as it conflicts with logstash

Henry Oswald il y a 12 ans
Parent
commit
c8fae26995
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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"