Commit Graph

529 Commits

Author SHA1 Message Date
Daniel García Aubert
762a240890 Breaking changes:
- Log system revamp:
  - Logs to stdout, disabled while testing
  - Use header `X-Request-Id`, or create a new `uuid` when no present, to identyfy log entries
  - Be able to set log level from env variable `LOG_LEVEL`, useful while testing: `LOG_LEVEL=info npm test`; even more human-readable: `LOG_LEVEL=info npm t | ./node_modules/.bin/pino-pretty`
  - Be able to reduce the footprint in the final log file depending on the environment
  - Use one logger for every service: Queries, Batch Queries (Jobs), and Data Ingestion (CopyTo/CopyFrom)
  - Stop using headers such as: `X-SQL-API-Log`, `X-SQL-API-Profiler`, and `X-SQL-API-Errors` as a way to log info.
  - Be able to tag requests with labels as an easier way to provide business metrics
  - Metro: Add log-collector utility (`metro`), it will be moved to its own repository. Attaching it here fro development purposes. Try it with the following command `LOG_LEVEL=info npm t | node metro`
  - Metro: Creates `metrics-collector.js` a stream to update Prometheus' counters and histograms and exposes them via Express' app (`:9145/metrics`). Use the ones defined in `grok_exporter`

Announcements:
- Profiler is always set. No need to check its existence anymore
- Unify profiler usage for every endpoint

Bug fixes:
- Avoid hung requests while fetching user identifier
2020-06-30 17:42:59 +02:00
Daniel García Aubert
d2b8e629bf Release 6.0.0 2020-06-05 14:02:34 +02:00
Daniel García Aubert
c02d1ae5a2 Update NEWS 2020-06-01 12:23:53 +02:00
Daniel García Aubert
89a2d2ce2f Update NEWS 2020-05-20 15:02:39 +02:00
Raúl Marín
25f15dfc61 Fix an ogr2ogr export issue when the temporal name is too big
If the final name is going to be too big, use the hash over the proposed
path to create an unique name that fits the requirements of path length
under Linux
2020-05-11 18:35:35 +02:00
Esther Lozano
90ee8af129
Allow metrics custom headers in cors (#640)
* Allow metrics custom headers in cors

* Update NEWS.md
2020-02-13 11:30:14 +01:00
Daniel García Aubert
fd719da6ac Fix release date 2020-01-27 12:57:28 +01:00
Daniel García Aubert
4e9b68e578 Stubs next version 2020-01-27 12:54:50 +01:00
Daniel García Aubert
5894ef68a2 Release 5.0.1 2020-01-27 12:52:19 +01:00
Daniel García Aubert
9d792fba15 Update NEWS 2019-12-30 11:50:50 +01:00
Daniel García Aubert
224d449a4b Update NEWS 2019-12-30 11:17:36 +01:00
Daniel García Aubert
494f7f9bfb Stubs next version 2019-11-13 13:16:32 +01:00
Daniel García Aubert
d8494f10ff Release 5.0.0 2019-11-13 13:10:00 +01:00
Daniel García Aubert
27722c998c Update NEWS 2019-11-12 10:12:23 +01:00
Daniel García Aubert
176d60efc4 Update NEWS 2019-10-21 16:23:36 +02:00
Daniel García Aubert
027e1f1516 Update NEWS 2019-10-08 11:01:39 +02:00
Daniel García Aubert
2d9d7a2127 Remove abandoned tools 2019-10-07 19:39:58 +02:00
Daniel García Aubert
ebe09ef7b9 Update NEWS 2019-10-07 19:30:30 +02:00
Daniel García Aubert
a63c79fdd8 Release 4.0.0 2019-09-30 17:47:25 +02:00
Román Jiménez
e7eb2083f2
Add Rate limit headers to CORS (#618) 2019-09-27 09:52:51 +02:00
Raúl Marín
16a8187269
Update cartodb-query-tables to 0.6.3 (#616)
* Update cartodb-query-tables to 0.6.3
2019-09-20 10:36:33 +02:00
Raul Marin
ff4721c480 Update cartodb-query-tables to 0.6.2 2019-09-18 18:19:26 +02:00
Raúl Marín
d57f00c4e5
query_tables_update: Update to 0.6.0 (#613) 2019-09-13 13:45:43 +02:00
Raúl Marín
df523960a2
Fix test timeouts (#612)
* Tests: Work with re-runs

* Test: Adapt copyfrom test
- Reduce timeout from 10 to 1 ms.
- Increase the size of the file from 6 to 2016 rows.

* Use node-cartodb-psql 0.14.0

Ref: https://github.com/CartoDB/CartoDB-SQL-API/pull/612
2019-09-13 11:28:37 +02:00
Raul Marin
1080f60f93 Update NEWS 2019-07-31 16:00:38 +02:00
Daniel García Aubert
40dfe8d60b Update NEWS 2019-07-30 09:58:49 +02:00
Daniel García Aubert
46190008f5 Remove table cache 2019-07-24 17:44:04 +02:00
Daniel García Aubert
5d183dd6ef Update NEWS 2019-07-11 11:40:01 +02:00
Daniel García Aubert
102c208d2f Update NEWS 2019-07-09 16:55:26 +02:00
Daniel García Aubert
92b087e480 Update NEWS 2019-07-05 15:43:54 +02:00
Rafa de la Torre
6e9fcd39ef Update NEWS.md with copy-to warnings 2019-06-04 17:09:56 +02:00
Daniel García Aubert
ab668a265f Updates NEWS 2019-06-04 11:47:08 +02:00
Daniel García Aubert
3fbe18b333 Update version 2019-06-03 12:49:57 +02:00
Daniel García Aubert
274838a0d0 Typo 2019-06-03 12:48:45 +02:00
Daniel García Aubert
31457e16ca Update NEWS 2019-06-03 12:48:16 +02:00
Daniel García Aubert
4d469100a7 Update NEWS 2019-05-30 13:37:33 +02:00
Daniel García Aubert
070c600745 Update news 2019-04-05 12:42:49 +02:00
Daniel García Aubert
fbed09d05d Update NEWS 2019-04-03 09:29:40 +02:00
Simon Martín
e5842bd38c NEWS 2019-02-27 16:14:48 +01:00
Daniel García Aubert
066938cee7 Stubs next version 2019-02-22 13:07:54 +01:00
Daniel García Aubert
99de02fef5 Release 3.0.0 2019-02-22 12:57:40 +01:00
Daniel García Aubert
26f8ccc3cf Drop support for Node.js 6, npm 3, Postgres 9.5, PostGIS 2.2, and Redis 3 2019-02-21 18:55:27 +01:00
Daniel García Aubert
051692be98 Update NEWS 2019-01-17 15:11:43 +01:00
Daniel García Aubert
e36d4080d8 Stubs next version 2019-01-16 14:43:50 +01:00
Daniel García Aubert
0333a85270 Release 2.4.0 2019-01-16 14:41:50 +01:00
Simon Martín
d08e4211e2 NEWS 2019-01-10 16:58:55 +01:00
Simon Martín
b953564fe2 Updating NEWS 2019-01-09 09:04:45 +01:00
Simon Martín
f947fd7cd5 Merge branch 'master' into unique-query-ratelimit 2019-01-09 08:50:41 +01:00
Daniel García Aubert
807359e9f8 Update NEWS 2019-01-04 10:31:08 +01:00
Raul Marin
df4732ff94 Consider cancelled queries as platform limits 2019-01-03 15:17:47 +01:00