Commit Graph

6519 Commits (3937b8c2714d130fdfcdd30d2abd01c47020bf9d)
 

Author SHA1 Message Date
Daniel García Aubert 0eadfe6ee9 Simpligy error middleware
4 years ago
Daniel García Aubert c37e3f173d Handle error properly in user middleware, it will logged in error middleware
4 years ago
Daniel García Aubert 107a97aa9e Honor @oleurud's comment
4 years ago
Daniel García Aubert 219d2c9044 Shortcuts for serializers
4 years ago
Daniel García Aubert 1e89821d97 Use standard serializers for error, request, and response
4 years ago
Daniel García Aubert 29c6505252 Do not set header 'x-tiler-profiler' and log it instead
4 years ago
Daniel García Aubert 7d8d05b865 Log errors and do not send 'X-Tiler-Errors' header
4 years ago
Daniel García Aubert afeb91dc86 Bring back logger for windshaft
4 years ago
Daniel García Aubert b7b3392bdd Be able to set log level from env variable LOG_LEVEL
4 years ago
Daniel García Aubert b60116410a Use req/res logger instead of the one bound to global object
4 years ago
Daniel García Aubert ffe19827fd Rename factory and don't use the keyword 'new' to create server while testing
4 years ago
Daniel García Aubert 48c28aea0b Do not bind logger to global object, now it's a part of serverOptions
4 years ago
Daniel García Aubert 62d66f2dbc Do not use global logger in middlewares, use the one initialized in res.locals instead
4 years ago
Daniel García Aubert e644201756 Merge branch 'master' into dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino
4 years ago
Daniel G. Aubert 481a5928c4
Merge pull request #1169 from CartoDB/update-deps
4 years ago
Daniel García Aubert 163c546236 Replace log4js by pino as logger:
4 years ago
Daniel García Aubert 656bc9344b Update deps
4 years ago
Daniel García Aubert b79a8587fa Update deps to fix some security vuln
4 years ago
Daniel G. Aubert 17337974a2
Merge pull request #1168 from CartoDB/dgaubert/ch77050/data-in-headers
4 years ago
Daniel García Aubert 6bcf477532 Avoid custom headers to be undefined
4 years ago
Daniel G. Aubert bf7e8a6ec6
Merge pull request #1167 from CartoDB/dgaubert/ch77050/data-in-headers
4 years ago
Daniel García Aubert f31e8b43b6 Duplicate
4 years ago
Daniel García Aubert 0090811510 Typo
4 years ago
Daniel García Aubert b97aeda53c Adapt test-client to handle client query param
4 years ago
Daniel García Aubert f82232194c Under if
4 years ago
Daniel García Aubert aff5c9a614 Add test to check the headers exist while instantiating a map
4 years ago
Daniel García Aubert ddefb1a6ca Add 'Carto-Stat-Tag', 'Carto-User-Id', and 'Carto-Client' headers
4 years ago
Daniel G. Aubert 4d06fee1e2
Merge pull request #1164 from CartoDB/node-12
4 years ago
Daniel García Aubert 8febd81ed2 Merge branch 'master' into node-12
4 years ago
Daniel García Aubert e575f01bef Upgrade gc-stats to version 1.4.0
4 years ago
Raúl Marín f25f507945
Merge pull request #1165 from Algunenano/clang9
4 years ago
Raúl Marín bdbb529ea8 Force clang-9 to be used
4 years ago
Daniel García Aubert 0aac942aa1 Make query idempotent among PG versions
4 years ago
Daniel García Aubert 8cc24bc665 - Drop support for Node.js < 12
4 years ago
Daniel G. Aubert 478ea66678
Merge pull request #1162 from CartoDB/dgaubert/ch71093/update-maps-api-to-new-event-format
4 years ago
Daniel García Aubert 4dfc898587 Don't log when metrics where sent successfully
4 years ago
Daniel García Aubert 05e77b2aed Add test with mapconfig's query against a table to ensure cache buster metrics are sent with the right values.
4 years ago
Daniel García Aubert 24863b6393 Update NEWS
4 years ago
Daniel García Aubert 3cf17c8bab typo
4 years ago
Daniel García Aubert 8c38ecf808 Missing substring
4 years ago
Daniel García Aubert a196a26ab4 Get templateHash for static tile request and errored named map instantiations
4 years ago
Daniel García Aubert 8d73571f5b Simplify assertions
4 years ago
Daniel García Aubert d5348dd9d4 Rename fields from headers of metrics
4 years ago
Daniel García Aubert 7e31b956bf Send stat_tag metric when available
4 years ago
Daniel García Aubert dbc5d65d90 Send template_hash as part of the metrics event
4 years ago
Daniel García Aubert c91d78fe51 Also export template hash
4 years ago
Daniel García Aubert 798d010776 Ensure "map_id" and "cache_buster" as part of the event
4 years ago
Daniel García Aubert 70f0b6ea50 Avoid to use "pubsub" for the name of modules, middlewares, variables, etc..
4 years ago
Daniel García Aubert 4e3ef96374 Add test to chek we still send events when errored map static tile
4 years ago
Daniel García Aubert c88a14bf43 Send metrics for map instantiations (named, anonymous and static) with the new format.
4 years ago