Commit Graph

6534 Commits

Author SHA1 Message Date
Daniel García Aubert
0f14ed55db Use development version of camshaft 2020-08-26 09:35:00 +02:00
Rafa de la Torre
528395103b
Merge pull request #1186 from CartoDB/feature/ch94770/node-minimal-doc-in-the-repos-about-how-to
[Node] Minimal doc in the repos about how to add new log traces
2020-08-04 09:20:45 +02:00
Rafa de la Torre
288cd9584f Markdown about how to write log traces 2020-08-03 16:31:00 +02:00
Alberto Asuero
cf82e1954e
Merge pull request #1185 from CartoDB/alasarr/gitignore
Adding docker ressources to .gitignore
2020-07-29 21:43:13 +02:00
Alberto Asuero
3b00cffc3b New line at .gitignore 2020-07-28 08:58:33 +00:00
Alberto Asuero
95bf39cada Adding docker ressources to .gitignore 2020-07-28 08:56:38 +00:00
Daniel G. Aubert
f9ad3c8acf
Merge pull request #1184 from CartoDB/feature/ch91877/remove-log-aggregation-in-metro
Logger: rename key 'msg' => 'event_message'
2020-07-23 14:12:17 +02:00
Daniel García Aubert
28f70f6877 Logger: rename key 'msg' => 'event_message' 2020-07-23 14:01:34 +02:00
Daniel G. Aubert
d5c5d07507
Merge pull request #1183 from CartoDB/feature/ch91877/remove-log-aggregation-in-metro
Metro: stop aggregating logs per request id
2020-07-22 16:00:41 +02:00
Daniel García Aubert
b646f71394 Don't miss the header 2020-07-22 13:35:43 +02:00
Daniel García Aubert
38fe2169aa Update camshaft to version 0.67.0 2020-07-22 13:03:51 +02:00
Daniel García Aubert
a749d4fb43 Typo 2020-07-22 11:40:45 +02:00
Daniel García Aubert
b9198b59a1 Logger: rename 'error' => 'exception' to avoid name clashing in E/S 2020-07-21 17:53:46 +02:00
Daniel García Aubert
3102d895f2 Update camshaft devel version 2020-07-21 17:15:50 +02:00
Daniel García Aubert
b60a69e7d2 Logger: rename level => levelname to avoid name collision 2020-07-21 17:09:19 +02:00
Daniel García Aubert
3937b8c271 Adapt JSON output to the standard structure 2020-07-21 16:36:23 +02:00
Daniel García Aubert
b32a073ac3 Metro: stop aggregating log per request id, use new config.json file 2020-07-20 19:33:33 +02:00
Daniel García Aubert
afd4ad500f Lint 2020-07-01 10:53:04 +02:00
Daniel G. Aubert
cb17bba3f5
Merge pull request #1181 from CartoDB/feature/ch88712/node-windshaft-metro-service-is-not-started
Fix: TypeError: Cannot read property 'level' of undefined
2020-07-01 08:58:26 +02:00
Daniel García Aubert
5b7341c0e9 Fix: TypeError: Cannot read property 'level' of undefined
Feature: dump unfinished log into a file while exiting
2020-06-29 21:01:48 +02:00
Daniel G. Aubert
d65565c091
Merge pull request #1170 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino
Replace log4js logger by pino
2020-06-23 11:56:03 +02:00
Daniel García Aubert
360b98254b Upgrade camshaft to version 0.66.0 2020-06-22 17:01:29 +02:00
Daniel García Aubert
43a603922d Update NEWS 2020-06-22 12:24:06 +02:00
Daniel García Aubert
74116523b4 Merge branch 'master' into dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino 2020-06-22 12:12:45 +02:00
Daniel García Aubert
6cddec562a Profiler don't log times if there is no one task done at least 2020-06-19 11:42:46 +02:00
Daniel García Aubert
22086ba914 Count requests even when the info is not complete 2020-06-19 10:18:06 +02:00
Daniel García Aubert
a68618c336 Prepare init log to be kibana friendly 2020-06-12 10:12:32 +02:00
Daniel García Aubert
578f543c01 log user 2020-06-11 18:21:13 +02:00
Daniel García Aubert
49735308de Do not rename level and error fields 2020-06-11 18:15:44 +02:00
Daniel García Aubert
2444b4c008 rename error => errors to avoid type clashing in ES 2020-06-11 13:04:19 +02:00
Daniel García Aubert
bf250e592a rename level => levelname to avoid type clashing in ES 2020-06-11 12:30:15 +02:00
Daniel García Aubert
f6c8796c8a Do not duplicate timer 2020-06-11 10:12:27 +02:00
Daniel G. Aubert
649f8d701e
Merge pull request #1173 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis
Logger improvements
2020-06-11 09:39:07 +02:00
Daniel G. Aubert
568e428a58
Merge pull request #1174 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis
Create log-collector utilility
2020-06-11 09:38:34 +02:00
Daniel G. Aubert
ff00fed43e
Merge pull request #1175 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis-bis
Tags Middleware
2020-06-11 09:38:14 +02:00
Daniel G. Aubert
561bc8aef0
Merge pull request #1177 from CartoDB/dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino-bis-bis-bis-bis
Introducing @carto/metro the CARTO's logs and metrics transport.
2020-06-11 09:37:58 +02:00
Daniel García Aubert
e49ecda321 Don't create a new metric for each request, use the same label to send to statsd 2020-06-10 17:21:35 +02:00
Daniel García Aubert
18525a60cd Use 9145 as default port for metics 2020-06-09 16:35:08 +02:00
Daniel G. Aubert
b8d3971c8a
Merge pull request #1178 from CartoDB/fix-layergroup-structure
Layergroup Id should have cache buster defined always
2020-06-09 15:02:28 +02:00
Daniel García Aubert
23839f5b4a Update NEWS 2020-06-09 15:00:53 +02:00
Daniel García Aubert
f235dcdeda Add test 2020-06-09 13:05:39 +02:00
Daniel García Aubert
9c21194c68 Set cache buster equal to 0 when there is no affected tables in the mapconfig 2020-06-09 12:21:47 +02:00
Daniel García Aubert
7acbfc1e9b Typos 2020-06-09 10:00:54 +02:00
Daniel García Aubert
6f9580bae2 Allow the metro to exit if this is the only active server in the event loop system 2020-06-09 09:52:56 +02:00
Daniel García Aubert
3583e064be User native http server 2020-06-09 09:40:24 +02:00
Daniel García Aubert
9e14185990 Rename 2020-06-09 09:30:11 +02:00
Daniel García Aubert
a5c83edef6 Introducing @carto/metro, the carto logs and metrics transport. 2020-06-08 20:16:00 +02:00
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 2020-06-08 19:31:18 +02:00
Daniel García Aubert
e206a1bca3 Check whether the log is a pino's log and skip them when they aren't 2020-06-08 16:34:08 +02:00
Daniel García Aubert
b115bca07e Be able to tag requests with labels as easier way to provide business metrics 2020-06-08 16:29:22 +02:00