How to use tokio-console in GreptimeDB
This document introduces how to use the tokio-console in GreptimeDB.
First, build GreptimeDB with feature cmd/tokio-console
. Also the tokio_unstable
cfg must be enabled:
bash
RUSTFLAGS="--cfg tokio_unstable" cargo build -F cmd/tokio-console
Then start GreptimeDB with tokio console binding address config: --tokio-console-addr
. Remember to run with the tokio_unstable
cfg. For example:
bash
RUSTFLAGS="--cfg tokio_unstable" greptime --tokio-console-addr="127.0.0.1:6669" standalone start
Now you can use tokio-console
to connect to GreptimeDB’s tokio console subscriber:
bash
tokio-console [TARGET_ADDR]
“TARGET_ADDR” defaults to “http://127.0.0.1:6669“.
Note
You can refer to tokio-console to see the installation of tokio-console
.
当前内容版权归 GreptimeDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 GreptimeDB .