CartoDB-SQL-API/lib
Esther Lozano 419adea234
Add pubsub metrics (#642)
* Create middleware and service for pubsub metrics

* Use pubsub middleware for all request

* Replace isEnabled with isDisabled to avoid negation

* Use new headers names

* Add acceptance and unit tests

* Remove commented log calls

* Remove only filters in tests

Remove typo

* Refactor service to ease integration test

* Fix interaction with query controller

* Use middleware at api-router and test all controllers

* Rename user middleware function

* Use sinon latest version

* Create middleware and service for pubsub metrics

* Use pubsub middleware for all request

* Replace isEnabled with isDisabled to avoid negation

* Use new headers names

* Add acceptance and unit tests

* Remove commented log calls

* Remove only filters in tests

Remove typo

* Refactor service to ease integration test

* Fix interaction with query controller

* Use middleware at api-router and test all controllers

* Rename user middleware function

* Use sinon latest version

* Fix tests

* Fix typos

* Checks if pubsub config exists to enable the service

* Fix typo

* Normalize headers values for pubsub

* Trim fields when normalizing

* Trim fields when normalizing
2020-02-26 17:19:06 +01:00
..
api Add pubsub metrics (#642) 2020-02-26 17:19:06 +01:00
auth Eslint errors 2019-12-26 18:28:01 +01:00
batch Eslint errors 2019-12-26 18:28:01 +01:00
models Do not yield to the next middleware before handleQuery is done 2020-02-20 12:16:20 +01:00
monitoring Run eslint --fix 2019-12-23 18:19:08 +01:00
postgresql Run eslint --fix 2019-12-23 18:19:08 +01:00
services Add pubsub metrics (#642) 2020-02-26 17:19:06 +01:00
stats Eslint errors 2019-12-26 17:46:27 +01:00
utils Eslint errors 2019-12-26 17:46:27 +01:00
server-options.js Run eslint --fix 2019-12-23 18:19:08 +01:00
server.js Eslint errors 2019-12-26 17:46:27 +01:00