Commit Graph

6561 Commits (master)
 

Author SHA1 Message Date
Daniel García Aubert 74116523b4 Merge branch 'master' into dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino
4 years ago
Daniel García Aubert 6cddec562a Profiler don't log times if there is no one task done at least
4 years ago
Daniel García Aubert 22086ba914 Count requests even when the info is not complete
4 years ago
Daniel García Aubert a68618c336 Prepare init log to be kibana friendly
4 years ago
Daniel García Aubert 578f543c01 log user
4 years ago
Daniel García Aubert 49735308de Do not rename level and error fields
4 years ago
Daniel García Aubert 2444b4c008 rename error => errors to avoid type clashing in ES
4 years ago
Daniel García Aubert bf250e592a rename level => levelname to avoid type clashing in ES
4 years ago
Daniel García Aubert f6c8796c8a Do not duplicate timer
4 years ago
Daniel G. Aubert 649f8d701e
Merge pull request #1173 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis
4 years ago
Daniel G. Aubert 568e428a58
Merge pull request #1174 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis
4 years ago
Daniel G. Aubert ff00fed43e
Merge pull request #1175 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis-bis
4 years ago
Daniel G. Aubert 561bc8aef0
Merge pull request #1177 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis-bis-bis
4 years ago
Daniel García Aubert e49ecda321 Don't create a new metric for each request, use the same label to send to statsd
4 years ago
Daniel García Aubert 18525a60cd Use 9145 as default port for metics
4 years ago
Daniel G. Aubert b8d3971c8a
Merge pull request #1178 from CartoDB/fix-layergroup-structure
4 years ago
Daniel García Aubert 23839f5b4a Update NEWS
4 years ago
Daniel García Aubert f235dcdeda Add test
4 years ago
Daniel García Aubert 9c21194c68 Set cache buster equal to 0 when there is no affected tables in the mapconfig
4 years ago
Daniel García Aubert 7acbfc1e9b Typos
4 years ago
Daniel García Aubert 6f9580bae2 Allow the metro to exit if this is the only active server in the event loop system
4 years ago
Daniel García Aubert 3583e064be User native http server
4 years ago
Daniel García Aubert 9e14185990 Rename
4 years ago
Daniel García Aubert a5c83edef6 Introducing @carto/metro, the carto logs and metrics transport.
4 years ago
Daniel García Aubert 04d0f2e530 Merge branch 'dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis' into dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis-bis
4 years ago
Daniel García Aubert e206a1bca3 Check whether the log is a pino's log and skip them when they aren't
4 years ago
Daniel García Aubert b115bca07e Be able to tag requests with labels as easier way to provide business metrics
4 years ago
Daniel García Aubert 07b9decb03 Add log-collector utlity, it will be moved to its onw repository. Attaching it here fro development purposes. Try it with the following command `LOG_LEVEL=info npm t | node ./log-collector.js`
4 years ago
Daniel García Aubert 02c8e28494 Finalize request's log
4 years ago
Daniel García Aubert d28744a5e3 Be able to pass the logger to the analysis creation (camshaft) while instantiating a named map with analysis
4 years ago
Daniel García Aubert a19e9a79b8 Release 9.0.0
4 years ago
Daniel García Aubert 4d7eb555a8 Update carto-package.json
4 years ago
Daniel García Aubert 6f9f53dd03 Be able to reduce the footprint in the final log file depending on the environment
4 years ago
Daniel García Aubert 63bc8f75b9 Typo
4 years ago
Daniel García Aubert adeffd2018 Centralize common headers, this will help up to move biz metrics out of the process
4 years ago
Daniel G. Aubert b2da00900f
Merge pull request #1171 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis
4 years ago
Daniel G. Aubert 0c6d5a1e18
Merge pull request #1172 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis
4 years ago
Daniel García Aubert 6945cfc93c Add TODO
4 years ago
Daniel García Aubert 7b53b7c30a Stop using profiling wrongly. Now it only saves custom events from backends (tile, map, attributes, etc..) and calculates the response time. Besides, removed tags to know whether overviews are being used.
4 years ago
Daniel García Aubert d073f7e3dd typo
4 years ago
Daniel García Aubert 210f5b01ec Make sure all errors use the serializer set for the logger
4 years ago
Daniel García Aubert 1dda183a31 typo
4 years ago
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