Andrey Antukh
bb055a3c84
♻️ Refactor logging subsystem and error reporting
2023-02-02 13:38:04 +01:00
Andrey Antukh
db689d151e
♻️ Refactor profile and session handling
...
- makes the profile access more efficient (replace in-app joins to a
simple select query on profile table
- add partial support for access-tokens (still missing some RPC methods)
- move router definitions to specific modules and simplify the main http
module definitions to simple includes
- simplifiy authentication code related to access-tokens and sessions
- normalize db parameters with proper namespaced props
- more work on convert all modules initialization to use proper specs
with fully-qualified keyword config props
2023-01-18 10:51:58 +01:00
Andrey Antukh
8bad9d8340
♻️ Refactor loggers/audit, auth/oidc, and http/clent modules
2022-12-05 08:53:00 +01:00
Andrey Antukh
7f7efc5760
✨ Improve exception formating on backend
2022-12-05 08:51:54 +01:00
Andrey Antukh
37ad04d2a6
🎉 Add robust concurrency limiter for RPC
2022-11-07 10:05:56 +01:00
Andrey Antukh
82d72fd388
🐛 Add missing profile-id on the internal error reports
2022-11-07 08:37:43 +01:00
Andrey Antukh
41134f22e9
📎 Update license header
2022-09-20 23:23:22 +02:00
Andrey Antukh
ec3651d85b
🎉 Add optional rate limit support for RPC calls
2022-08-31 12:55:48 +02:00
Andrey Antukh
c02e8ff883
✨ Print the spec error explain to logging message
2022-07-07 12:29:13 +02:00
Andrey Antukh
14d1cb90bd
♻️ Refactor auth code
2022-07-04 11:23:33 +02:00
Andrey Antukh
ca02999ae9
✨ Improve error reporting
2022-04-05 13:23:39 +02:00
Andrey Antukh
701a98fab6
✨ Improve backend and worker error handling
2022-04-05 13:23:39 +02:00
Andrey Antukh
9abf4b126c
✨ Improve error handling
2022-03-28 17:24:52 +02:00
Andrey Antukh
f7bb08382c
✨ Fix issues from previous refactor peer review
2022-03-10 13:32:06 +01:00
Andrey Antukh
6bd2dcff2a
✨ Minor improvements on error reporting
2022-03-10 13:32:06 +01:00
Andrey Antukh
1b444a42f2
♻️ Refactor http server layer
...
Make it fully asynchronous.
2022-03-09 17:18:06 +01:00
alonso.torres
e183d67e2a
✨ Add spec for new text data
2022-02-24 14:05:00 +01:00
Andrey Antukh
9b78b2a432
✨ Improve error reporting on background tasks
2022-02-15 12:26:36 +01:00
Andrey Antukh
827c2140b7
♻️ Refactor error reporting and logging context formatting
...
The prev approach uses clojure.pprint without any limit extensivelly
for format error context data and all this is done on the calling
thread. The clojure.pprint seems very inneficient in cpu and memory
usage on pprinting large data structures.
This is improved in the following way:
- All formatting and pretty printing is moved to logging thread,
reducing unnecesary blocking and load on jetty http threads.
- Replace the clojure.pprint with fipp.edn that looks considerably
faster than the first one.
- Add some safe limits on pretty printer for strip printing some
data when the data structure is very large, very deep or both.
2022-02-10 15:12:35 +01:00
Andrey Antukh
7710ffcbf1
🐛 Fix issue on 400 error handler.
2022-02-02 15:31:54 +01:00
Andrey Antukh
57666e9173
✨ Minor improvements on http reporting on 400 responses
2022-02-01 13:53:10 +01:00
Andrey Antukh
a633ed3c9a
✨ More tweaks on the error reporter.
2022-01-27 15:17:44 +01:00
Andrey Antukh
0092806dda
✨ Prevent high cpu usage on reporting big errors.
2022-01-26 18:09:59 +01:00
Andrey Antukh
d892be4971
💄 Fix linter issues.
2022-01-26 14:44:01 +01:00
Andrey Antukh
110fb2e8db
✨ Minor improvements on error reporting.
...
Add missing expound.
2022-01-26 14:18:44 +01:00
Andrey Antukh
bda97adf4f
✨ Fix minor issues on error reporting.
2022-01-17 13:09:15 +01:00
Andrey Antukh
ffdd539233
✨ Minor improvements on error reporting mechanism.
2022-01-14 10:54:57 +01:00
alonso.torres
71734df489
✨ Backport changes from develop.
2021-12-31 12:06:15 +01:00
Andrey Antukh
5c6d72b353
✨ Improve logging performance and format.
2021-12-24 12:40:44 +01:00
Andrey Antukh
1839397ebc
✨ Minor enhacements on log processing.
2021-12-23 18:36:58 +01:00
Andrey Antukh
ea218839e4
✨ Minor change on error pruning mechanism.
2021-11-17 11:10:28 +01:00
Andrey Antukh
b64d5ef357
🎉 Add unified logging api.
2021-09-30 11:48:14 +02:00
Andrey Antukh
26b28e2364
🎉 Add sentry integration (on backend).
2021-09-17 15:26:18 +02:00
Andrey Antukh
ac41ed1af4
✨ Add missing cause prop on error loging.
2021-05-28 08:32:30 +02:00
Andrey Antukh
3ce4769e8d
✨ Report errors on events.
2021-05-06 14:13:54 +02:00
Andrey Antukh
f545e41d10
📎 Fix license header.
2021-04-12 16:49:43 +02:00
Andrey Antukh
e12a6e65a6
♻️ Refactor logging.
2021-04-09 15:28:18 +02:00
Andrey Antukh
993530dbcb
✨ Properly handle 'idle-in-tx' errors.
2021-03-29 10:30:46 +02:00
Andrey Antukh
a63f28a2e5
✨ Normalize logging messages on backend.
2021-02-22 14:50:01 +01:00
Andrey Antukh
de394a7d4e
♻️ Refactor LDAP auth backend.
...
And reorganize oauth backend namespaces.
2021-02-19 13:09:18 +01:00
Andrey Antukh
c1476d0397
🎉 Add optional loki integration.
...
And refactor internal error reporting.
2021-02-16 11:31:48 +01:00
Andrey Antukh
6e08c6bc35
📎 Fix linter issues.
2021-02-04 11:48:47 +01:00
Andrey Antukh
b71d05935a
✨ Expose user-agent and frontend-version on error report.
2021-02-04 11:48:47 +01:00
Andrey Antukh
80309cbff3
✨ Improve error reporting of tasks.
2021-02-04 11:48:47 +01:00
Andrey Antukh
b80295a21c
✨ Fix all linter issues on backend code.
2021-02-01 09:48:28 +01:00
Andrey Antukh
b9fe8e4b33
🔥 Remove unused config.
2021-01-26 18:45:19 +01:00
Andrey Antukh
0bbc006b98
✨ Minor improvements on error reporter.
2021-01-25 11:51:15 +01:00
Andrey Antukh
04b0cf6330
🎉 Add better error reporting.
2021-01-25 11:51:15 +01:00
Andrey Antukh
bea093e8da
♻️ Refactor error handling.
2021-01-25 11:51:15 +01:00
Andrey Antukh
e4eaa74b51
🐛 Fix incorrect use of log/errorf.
2021-01-22 11:36:17 +01:00