1
0
Fork 0
mirror of synced 2024-07-05 14:31:17 +12:00
budibase/packages/worker
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
..
.vscode
__mocks__ Fix worker tests 2023-01-27 17:59:14 +00:00
scripts Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00
src Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00
.dockerignore cherry pick new ui from develop 2022-06-30 12:52:07 +01:00
.gitignore Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings 2022-06-10 22:57:12 +01:00
.yarnrc Updating dockerfile to be friendly to volume usage, as well as pre-filling with uuids rather than static secrets. 2022-07-08 18:33:07 +01:00
docker_run.sh updating worker script to run as sh 2022-05-27 12:22:55 +01:00
Dockerfile Updated default feature flags to include onboarding by default. Added tenant overrides to allow exclusion from global features 2023-02-01 14:12:43 +00:00
jest-testcontainers-config.js Remove redundant env from jestTestcontainersConfigGenerator 2023-02-01 11:49:25 +00:00
jest.config.ts Trying to measure coverage from backend-core from server/worker. 2023-02-27 17:07:52 +00:00
LICENSE
nodemon.json
package.json Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00
pm2.config.js Fixing issue that refactoring file caused (some strings renamed to ts rather than js). 2022-09-22 15:18:10 +01:00
tsconfig.build.json Disabling js interop in Typescript build of backend-core and worker, fixing build issues. 2022-11-26 14:46:01 +00:00
tsconfig.json Use swc option with ts-node (#9447) 2023-01-27 09:33:04 +00:00
yarn.lock Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00