Просмотр исходного кода

changed type to query_type as it conflicts with logstash

Henry Oswald 12 лет назад
Родитель
Сommit
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"