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
107a97aa9e
Honor @oleurud's comment
2020-06-03 15:11:08 +02:00
Daniel García Aubert
29c6505252
Do not set header 'x-tiler-profiler' and log it instead
2020-06-02 17:09:06 +02:00
Daniel García Aubert
afeb91dc86
Bring back logger for windshaft
2020-06-02 13:20:57 +02:00
Daniel García Aubert
48c28aea0b
Do not bind logger to global object, now it's a part of serverOptions
2020-06-02 11:49:54 +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
ddefb1a6ca
Add 'Carto-Stat-Tag', 'Carto-User-Id', and 'Carto-Client' headers
2020-05-26 13:15:35 +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
fe9610abe9
Missing logger argument
2020-04-27 13:35:07 +02:00
Daniel García Aubert
e90c196598
Simplified metrics middleware and backend
2020-04-27 12:46:27 +02:00
Daniel García Aubert
8bb4fbec12
Get the rendererCache's config right and avoid to set the NamedMapCacheReporter's interval to 'undefined'
2020-04-04 18:51:22 +02:00
Daniel García Aubert
a8fb51ba25
- Rename NamedMapProviderReporter by NamedMapProviderCacheReporter
...
- Extract getOnTileErrorStrategy to a module
- Stop using MapStore from windshaft while testing and create a custom one instead
2020-04-04 17:46:08 +02:00
Daniel García Aubert
4054c6923f
Use new signature for onTileErrorStrategy
2020-03-27 19:38:28 +01:00
Esther Lozano
e85469cc3c
Use middleware for all requests
2020-02-20 15:25:53 +01:00
Esther Lozano
9591a5a2b0
Store userId in res.locals
2020-02-20 11:47:44 +01:00
Daniel García Aubert
7b13c12ab4
Automatically lint fixes
2019-11-13 20:07:41 +01:00
Daniel García Aubert
2c8a030ecb
Merge branch 'master' into eslint
2019-11-13 19:00:50 +01:00
Simon Martín
3e7c294989
linter
2019-10-29 11:32:27 +01:00
Simon Martín
8a02156ac0
fix tests
2019-10-29 10:31:31 +01:00
Simon Martín
c4a75de0d8
windshaft 5.6.4
2019-10-28 18:15:15 +01:00
Simon Martín
db03bcdf8f
windshaft logger by config param
2019-10-28 15:41:46 +01:00
Simon Martín
dd5825c770
using a new logger
2019-10-28 11:55:43 +01:00
Simon Martín
080f93f6de
passing logger to MapStore
2019-10-24 17:34:46 +02:00
Daniel García Aubert
ad4a1ada45
Do not use string concatenation when using __dirname and __filename
2019-10-22 18:22:33 +02:00
Daniel García Aubert
4d70ac0894
Apply automatic eslint fixes
2019-10-21 19:07:24 +02:00
Daniel García Aubert
e8cff194fc
Rename template_maps -> template-maps
2019-10-07 10:50:14 +02:00
Daniel García Aubert
afb9b08925
Rename surrogate_keys_cache -> surrogate-keys-cache
2019-10-07 09:55:55 +02:00
Daniel García Aubert
2bed034e64
Rename named_map_provider_cache -> named-map-provider-cache
2019-10-07 09:54:54 +02:00
Daniel García Aubert
2328bb6261
Rename layergroup_affected_tables -> layergroup-affected-tables
2019-10-07 09:53:06 +02:00
Daniel García Aubert
06357fa3f9
Rename named_maps_entry -> named-maps-entry
2019-10-07 09:51:51 +02:00
Daniel García Aubert
83f58288f9
Rename varnish_http -> varnish-http
2019-10-07 09:47:42 +02:00
Daniel García Aubert
b1d5f0f9e8
Rename pg_query_runner -> pg-query-runner
2019-10-07 09:45:46 +02:00
Daniel García Aubert
7142e4db37
Rename pg_connection -> pg-connection
2019-10-07 09:43:40 +02:00
Daniel García Aubert
281a079a62
Simplify folder structure
2019-10-07 09:40:50 +02:00