Przeglądaj źródła

changed type to query_type as it conflicts with logstash

Henry Oswald 12 lat temu
rodzic
commit
c8fae26995
1 zmienionych plików z 1 dodań i 1 usunięć
  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"