budibase/packages/backend-core/tests/utilities/mocks
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
..
alerts.ts Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00
date.ts update bulk create and bulk delete backend 2022-08-25 19:41:47 +01:00
events.ts Remove "duplicated" events 2023-03-28 16:46:23 +01:00
fetch.ts Test fixes 2022-11-16 13:06:30 +00:00
index.ts Update logging to support dd trace attributes (#10086) 2023-04-04 15:08:46 +01:00
licenses.ts Renames 2023-03-28 16:46:22 +01:00
posthog.ts Reduce event frequency 2022-08-08 10:47:39 +01:00