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__
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
.gitignore
.yarnrc
Dockerfile
LICENSE
docker_run.sh
jest-testcontainers-config.js
jest.config.ts Trying to measure coverage from backend-core from server/worker. 2023-02-27 17:07:52 +00:00
nodemon.json
package.json Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00
pm2.config.js
tsconfig.build.json
tsconfig.json
yarn.lock Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00