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
Daniel García Aubert
adeffd2018
Centralize common headers, this will help up to move biz metrics out of the process
2020-06-04 17:45:15 +02:00
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.
2020-06-03 19:51:56 +02:00
Daniel García Aubert
210f5b01ec
Make sure all errors use the serializer set for the logger
2020-06-03 17:32:16 +02:00
Daniel García Aubert
b60116410a
Use req/res logger instead of the one bound to global object
2020-06-02 12:31:18 +02:00
Daniel García Aubert
62d66f2dbc
Do not use global logger in middlewares, use the one initialized in res.locals instead
2020-06-02 09:00:45 +02:00
Daniel García Aubert
163c546236
Replace log4js by pino as logger:
...
- Logs to stdout, disabled while testing
- Change log calls signature when needed
- Use development version of camshaft
- Removes unused log cofiguration
- Bind request id to log req/res
- Log req at the begining of the cycle and res at the end
2020-06-01 19:18:15 +02:00
Daniel García Aubert
6bcf477532
Avoid custom headers to be undefined
2020-05-29 16:06:16 +02:00
Daniel García Aubert
ddefb1a6ca
Add 'Carto-Stat-Tag', 'Carto-User-Id', and 'Carto-Client' headers
2020-05-26 13:15:35 +02:00
Daniel García Aubert
798d010776
Ensure "map_id" and "cache_buster" as part of the event
2020-04-29 14:32:08 +02:00
Daniel García Aubert
70f0b6ea50
Avoid to use "pubsub" for the name of modules, middlewares, variables, etc..
2020-04-29 10:40:45 +02:00
Daniel García Aubert
c88a14bf43
Send metrics for map instantiations (named, anonymous and static) with the new format.
2020-04-28 19:17:00 +02:00
Daniel García Aubert
c877d0b964
Implement polygon filter
2019-12-03 10:58:55 +01:00
Daniel García Aubert
17f151cd5a
Implement circle filter for dataviews
2019-12-02 18:36:41 +01:00
Raúl Marín
fcf2fd1455
Enforce the usage of cartodb schema
2019-12-02 13:43:21 +01:00
Daniel García Aubert
d4719d5707
camel case
2019-11-14 12:17:26 +01:00
Daniel García Aubert
575fe8e350
Remove unnecessary escape usage
2019-10-24 19:18:47 +02:00
Daniel García Aubert
7a1d2ca205
Avoid calling Object.prototype methods directly on object instances
2019-10-21 23:33:27 +02:00
Daniel García Aubert
4d70ac0894
Apply automatic eslint fixes
2019-10-21 19:07:24 +02:00
Daniel García Aubert
281a079a62
Simplify folder structure
2019-10-07 09:40:50 +02:00