openobserve/benchmarks/pyroscope
Ankur Srivastava f797824b14
perf: added pyroscope integration, but manual for now (#941)
2023-06-13 12:33:25 +08:00
..
README.md perf: added pyroscope integration, but manual for now (#941) 2023-06-13 12:33:25 +08:00
docker-compose.yml perf: added pyroscope integration, but manual for now (#941) 2023-06-13 12:33:25 +08:00

README.md

Pyroscope for profiling

Pyroscope can be used for basic profiling of Openobserve. The following steps can be followed:

  • Setup a local pyroscope server from benchmarks/pyroscope directory:

    • docker-compose up docker-compose.yml
  • In another terminal, compile and run the openobserve code with the debug profile.

  • Note that we are setting RUST_LOG=warn to restrict logging only to warn.

  • cargo build --profile release-profiling && RUST_LOG=warn ZO_ROOT_USER_EMAIL=root@example.com ZO_ROOT_USER_PASSWORD=Complexpass#123 ./target/release-profiling/openobserve

  • Launch http://localhost:4040