1 unstable release

0.0.13 Dec 17, 2025

#1886 in HTTP server


Used in observation-tools

AGPL-3.0-only

81KB
2K SLoC

observation-tools-client

Crates.io docs.rs npm (scoped)

Export, visualize, and inspect data from anywhere in your program.

Getting started

Run the server:

cargo run --bin observation-tools -- serve

Building from source

Contributing

Running tests

We have two test suites: rust-based client+server integration tests and a playwright based UI test suite. By default, every test will start up its own server instance.

  • You can use SERVER_URL to point the tests to a running server instead of starting a new one, though keep in mind many tests assume a clean server state.

Rust tests

cargo test

UI tests

To run the tests, you must build the NodeJS client library so the test can import it.

pnpm --dir crates/observation-tools-client install
pnpm --dir crates/observation-tools-client build
pnpm --dir tests install
pnpm --dir tests run test

The test suite uses Playwright. You can use all of its debugging tools, e.g. open the inspector:

cd tests
pnpm playwright test --ui

Formatting

cargo +nightly fmt
pnpm dlx prettier --write .

License

All code, except the client library, is distributed under the GNU AGPLv3 license. The client library is licensed under the Apache-2.0 license to allow usage in commercial projects.

Dependencies

~32–43MB
~727K SLoC