sourcegraph/client/observability-server
Quinn Slack 4002774429
reapply "switch from jest to vitest for faster, simpler tests (#57886)" (#58145)
* reapply "switch from jest to vitest for faster, simpler tests (https://github.com/sourcegraph/sourcegraph/pull/57886)"

This was reverted in https://github.com/sourcegraph/sourcegraph/pull/58116 due to an issue with the browser tests.

* include fetch-mock

* fix flakiness

* rm mock that did not work in experimentalVmThreads

* fix

* timeout

* fixup

---------

Co-authored-by: William Bezuidenhout <william.bezuidenhout@sourcegraph.com>
2023-11-07 12:00:18 +02:00
..
src reapply "switch from jest to vitest for faster, simpler tests (#57886)" (#58145) 2023-11-07 12:00:18 +02:00
.eslintignore web: rename observability package to observability-server (#40397) 2022-08-16 05:15:58 -04:00
BUILD.bazel reapply "switch from jest to vitest for faster, simpler tests (#57886)" (#58145) 2023-11-07 12:00:18 +02:00
OWNERS Update FPT code owners ping (#44545) 2022-11-17 07:21:49 -05:00
package.json reapply "switch from jest to vitest for faster, simpler tests (#57886)" (#58145) 2023-11-07 12:00:18 +02:00
README.md web: rename observability package to observability-server (#40397) 2022-08-16 05:15:58 -04:00
tsconfig.json simplify tsconfig.json files (#57913) 2023-10-26 03:03:11 -07:00
vitest.config.ts reapply "switch from jest to vitest for faster, simpler tests (#57886)" (#58145) 2023-11-07 12:00:18 +02:00

Observability

Shared client infrastructure observability tools.

Vision

  1. Use this package for new scripts related to client infrastructure instrumentation and analysis.
  2. Colocate logic here to benefit from having shared:
    • setup configuration (libhoney.js),
    • observability event schemas,
    • environment variable validators,
    • unit tests.