Explorar o código

changed type to query_type as it conflicts with logstash

Henry Oswald %!s(int64=12) %!d(string=hai) anos
pai
achega
c8fae26995
Modificáronse 1 ficheiros con 1 adicións e 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"