mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-03 16:10:21 +00:00
Pyroscope for profiling
Pyroscope can be used for basic profiling of OpenObserve.
The following steps can be followed:
-
Setup a local
pyroscopeserver frombenchmarks/pyroscopedirectory:docker-compose up docker-compose.yml
-
In another terminal, compile and run the
openobservecode with the debug profile. -
Note that we are setting
RUST_LOG=warnto restrict logging only towarn. -
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