Explorar el Código

changed type to query_type as it conflicts with logstash

Henry Oswald hace 12 años
padre
commit
c8fae26995
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"