budibase/packages/backend-core/src/middleware
Rory Powell 976b3a55ca Update logging to support dd trace attributes (#10086)
* Update logging middleware to integrate with pino for console logging

* Remove elastic apm references, use updated core middlewares

* Remove redundant LOG_LEVEL definitions

* Remove no longer needed jest logging overrides

* lint

* Backwards compat between console log helpers and pino

* Configurable DISABLE_HTTP_LOGGING

* Don't log 4xx as errors

* Remove redundant ENABLE_4XX_HTTP_LOGGING

* Cleanup migrations and event logging

* Improve bb-alert logging

* Add DISABLE_HTTP_LOGGING to helm chart

* Add ops endpoints for testing

* Disable http logging in dev

* Backwards compatible tracing implementation

* Naming update on http logging env var

* lint

* Update packages/backend-core/src/environment.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Merge

* Lint

* Fix console.warn failing mock by replacing with alerts mock instead

* Lint

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-04-04 15:08:46 +01:00
..
passport Extract valid email util 2023-04-03 16:42:30 +01:00
tests Add copy button to sso callback urls, e2e unit testing for OIDC, stub out other auth tests 2022-11-16 11:34:16 +00:00
adminOnly.ts Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
auditLog.ts Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
authenticated.ts Clean code 2023-03-28 16:46:23 +01:00
builderOnly.ts Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
builderOrAdmin.ts Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
csrf.ts Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
errorHandling.ts Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00
index.ts Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00
internalApi.ts Rotatable secrets (#9982) 2023-03-13 15:02:59 +00:00
joi-validator.ts Disabling js interop in Typescript build of backend-core and worker, fixing build issues. 2022-11-26 14:46:01 +00:00
matchers.ts Test fixes 2022-11-11 15:43:41 +00:00
querystringToBody.ts Main body of PR comments. 2023-02-24 13:32:45 +00:00
tenancy.ts Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00