d79f1b41d0Merge pull request #1190 from CartoDB/feature/ch101625/node-windshaft-exiting-because-of-typeerror
Daniel G. Aubert
2020-09-09 14:07:23 +02:00
95bf39cadaAdding docker ressources to .gitignore
Alberto Asuero
2020-07-28 08:56:38 +00:00
f9ad3c8acfMerge pull request #1184 from CartoDB/feature/ch91877/remove-log-aggregation-in-metro
Daniel G. Aubert
2020-07-23 14:12:17 +02:00
28f70f6877Logger: rename key 'msg' => 'event_message'
Daniel García Aubert
2020-07-23 14:01:34 +02:00
d5c5d07507Merge pull request #1183 from CartoDB/feature/ch91877/remove-log-aggregation-in-metro
Daniel G. Aubert
2020-07-22 16:00:41 +02:00
b646f71394Don't miss the header
Daniel García Aubert
2020-07-22 13:35:43 +02:00
38fe2169aaUpdate camshaft to version 0.67.0
Daniel García Aubert
2020-07-22 13:03:51 +02:00
a749d4fb43Typo
Daniel García Aubert
2020-07-22 11:40:45 +02:00
b9198b59a1Logger: rename 'error' => 'exception' to avoid name clashing in E/S
Daniel García Aubert
2020-07-21 17:53:46 +02:00
3102d895f2Update camshaft devel version
Daniel García Aubert
2020-07-21 17:15:50 +02:00
b60a69e7d2Logger: rename level => levelname to avoid name collision
Daniel García Aubert
2020-07-21 17:09:19 +02:00
3937b8c271Adapt JSON output to the standard structure
Daniel García Aubert
2020-07-21 16:36:23 +02:00
b32a073ac3Metro: stop aggregating log per request id, use new config.json file
Daniel García Aubert
2020-07-20 19:33:33 +02:00
afd4ad500fLint
Daniel García Aubert
2020-07-01 10:53:04 +02:00
cb17bba3f5Merge pull request #1181 from CartoDB/feature/ch88712/node-windshaft-metro-service-is-not-started
Daniel G. Aubert
2020-07-01 08:58:26 +02:00
5b7341c0e9Fix: TypeError: Cannot read property 'level' of undefined Feature: dump unfinished log into a file while exiting
Daniel García Aubert
2020-06-29 21:01:48 +02:00
d65565c091Merge pull request #1170 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino
Daniel G. Aubert
2020-06-23 11:56:03 +02:00
43a603922dUpdate NEWS
Daniel García Aubert
2020-06-22 12:24:06 +02:00
74116523b4Merge branch 'master' into dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino
Daniel García Aubert
2020-06-22 12:12:45 +02:00
6cddec562aProfiler don't log times if there is no one task done at least
Daniel García Aubert
2020-06-19 11:42:46 +02:00
22086ba914Count requests even when the info is not complete
Daniel García Aubert
2020-06-19 10:18:06 +02:00
a68618c336Prepare init log to be kibana friendly
Daniel García Aubert
2020-06-12 10:12:32 +02:00
578f543c01log user
Daniel García Aubert
2020-06-11 18:21:13 +02:00
49735308deDo not rename level and error fields
Daniel García Aubert
2020-06-11 18:15:44 +02:00
2444b4c008rename error => errors to avoid type clashing in ES
Daniel García Aubert
2020-06-11 13:04:19 +02:00
bf250e592arename level => levelname to avoid type clashing in ES
Daniel García Aubert
2020-06-11 12:30:15 +02:00
f6c8796c8aDo not duplicate timer
Daniel García Aubert
2020-06-11 10:12:27 +02:00
649f8d701eMerge pull request #1173 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis
Daniel G. Aubert
2020-06-11 09:39:07 +02:00
568e428a58Merge pull request #1174 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis
Daniel G. Aubert
2020-06-11 09:38:34 +02:00
ff00fed43eMerge pull request #1175 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis-bis
Daniel G. Aubert
2020-06-11 09:38:14 +02:00
561bc8aef0Merge pull request #1177 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis-bis-bis
Daniel G. Aubert
2020-06-11 09:37:58 +02:00
e49ecda321Don't create a new metric for each request, use the same label to send to statsd
Daniel García Aubert
2020-06-10 17:21:35 +02:00
18525a60cdUse 9145 as default port for metics
Daniel García Aubert
2020-06-09 16:35:08 +02:00
b8d3971c8aMerge pull request #1178 from CartoDB/fix-layergroup-structure
Daniel G. Aubert
2020-06-09 15:02:28 +02:00
23839f5b4aUpdate NEWS
Daniel García Aubert
2020-06-09 15:00:53 +02:00
f235dcdedaAdd test
Daniel García Aubert
2020-06-09 13:05:39 +02:00
9c21194c68Set cache buster equal to 0 when there is no affected tables in the mapconfig
Daniel García Aubert
2020-06-09 12:21:47 +02:00
7acbfc1e9bTypos
Daniel García Aubert
2020-06-09 10:00:54 +02:00
6f9580bae2Allow the metro to exit if this is the only active server in the event loop system
Daniel García Aubert
2020-06-09 09:52:56 +02:00
3583e064beUser native http server
Daniel García Aubert
2020-06-09 09:40:24 +02:00
9e14185990Rename
Daniel García Aubert
2020-06-09 09:30:11 +02:00
a5c83edef6Introducing @carto/metro, the carto logs and metrics transport.
Daniel García Aubert
2020-06-08 20:16:00 +02:00
04d0f2e530Merge 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
Daniel García Aubert
2020-06-08 19:31:18 +02:00
e206a1bca3Check whether the log is a pino's log and skip them when they aren't
Daniel García Aubert
2020-06-08 16:34:08 +02:00
b115bca07eBe able to tag requests with labels as easier way to provide business metrics
Daniel García Aubert
2020-06-08 16:29:22 +02:00
07b9decb03Add 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
Daniel García Aubert
2020-06-05 20:12:20 +02:00
02c8e28494Finalize request's log
Daniel García Aubert
2020-06-05 20:08:40 +02:00
d28744a5e3Be able to pass the logger to the analysis creation (camshaft) while instantiating a named map with analysis
Daniel García Aubert
2020-06-05 20:08:08 +02:00
a19e9a79b8Release 9.0.0
9.0.0
Daniel García Aubert
2020-06-05 14:10:24 +02:00
4d7eb555a8Update carto-package.json
Daniel García Aubert
2020-06-05 14:09:40 +02:00
6f9f53dd03Be able to reduce the footprint in the final log file depending on the environment
Daniel García Aubert
2020-06-04 20:28:06 +02:00
63bc8f75b9Typo
Daniel García Aubert
2020-06-04 18:43:21 +02:00
adeffd2018Centralize common headers, this will help up to move biz metrics out of the process
Daniel García Aubert
2020-06-04 17:45:15 +02:00
b2da00900fMerge pull request #1171 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis
Daniel G. Aubert
2020-06-04 12:14:21 +02:00
0c6d5a1e18Merge pull request #1172 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis
Daniel G. Aubert
2020-06-04 12:13:43 +02:00
6945cfc93cAdd TODO
Daniel García Aubert
2020-06-04 12:10:15 +02:00
7b53b7c30aStop 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.
Daniel García Aubert
2020-06-03 19:51:56 +02:00
d073f7e3ddtypo
Daniel García Aubert
2020-06-03 17:34:30 +02:00
210f5b01ecMake sure all errors use the serializer set for the logger
Daniel García Aubert
2020-06-03 17:32:16 +02:00
1dda183a31typo
Daniel García Aubert
2020-06-03 16:19:42 +02:00
0eadfe6ee9Simpligy error middleware
Daniel García Aubert
2020-06-03 15:51:36 +02:00
c37e3f173dHandle error properly in user middleware, it will logged in error middleware
Daniel García Aubert
2020-06-03 15:39:02 +02:00
107a97aa9eHonor @oleurud's comment
Daniel García Aubert
2020-06-03 15:11:08 +02:00
219d2c9044Shortcuts for serializers
Daniel García Aubert
2020-06-03 15:10:31 +02:00
1e89821d97Use standard serializers for error, request, and response
Daniel García Aubert
2020-06-03 14:28:35 +02:00
29c6505252Do not set header 'x-tiler-profiler' and log it instead
Daniel García Aubert
2020-06-02 17:09:06 +02:00
7d8d05b865Log errors and do not send 'X-Tiler-Errors' header
Daniel García Aubert
2020-06-02 16:11:39 +02:00
afeb91dc86Bring back logger for windshaft
Daniel García Aubert
2020-06-02 13:20:57 +02:00